Skip to content

Commit

Permalink
Bump version to 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ping committed Jul 18, 2023
1 parent aecb2a0 commit 9cba8c4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You must already have [Python](https://wiki.python.org/moin/BeginnersGuide/Downl

```bash
# Install / Update to specific version
python3 -m pip install git+https://[email protected]/ping/odmpy.git@0.7.9 --upgrade
python3 -m pip install git+https://[email protected]/ping/odmpy.git@0.8.0 --upgrade

# Install / Update from latest source
python3 -m pip install git+https://[email protected]/ping/odmpy.git --upgrade --force-reinstall
Expand Down Expand Up @@ -80,7 +80,7 @@ Available commands:
ret Return an audiobook loan file (odm).
info Get information about an audiobook loan file (odm).
Version 0.7.9. [Python 3.10.6-darwin] Source at https://github.com/ping/odmpy
Version 0.8.0. [Python 3.10.6-darwin] Source at https://github.com/ping/odmpy
```
### Download via Libby
Expand All @@ -95,7 +95,8 @@ usage: odmpy libby [-h] [--settings SETTINGS_FOLDER] [--ebooks] [--magazines]
[--mergeformat {mp3,m4b}] [--mergecodec {aac,libfdk_aac}]
[-k] [-f] [--nobookfolder]
[--bookfolderformat BOOK_FOLDER_FORMAT]
[--bookfileformat BOOK_FILE_FORMAT] [--overwritetags]
[--bookfileformat BOOK_FILE_FORMAT]
[--removefrompaths ILLEGAL_CHARS] [--overwritetags]
[--tagsdelimiter DELIMITER] [--id3v2version {3,4}] [--opf]
[-r OBSOLETE_RETRIES] [-j] [--hideprogress] [--direct]
[--keepodm] [--latest N] [--select N [N ...]]
Expand Down Expand Up @@ -124,7 +125,7 @@ options:
--mergeformat {mp3,m4b}
Merged file format (m4b is slow, experimental, requires ffmpeg). For audiobooks.
--mergecodec {aac,libfdk_aac}
Audio codec of merged m4b file. (requires ffmpeg, using libfdk_aac requires ffmpeg compiled with libfdk_aac support). For audiobooks. Has no effect if mergeformat is mp3.
Audio codec of merged m4b file. (requires ffmpeg; using libfdk_aac requires ffmpeg compiled with libfdk_aac support). For audiobooks. Has no effect if mergeformat is not set to m4b.
-k, --keepcover Always generate the cover image file (cover.jpg).
-f, --keepmp3 Keep downloaded mp3 files (after merging). For audiobooks.
--nobookfolder Don't create a book subfolder.
Expand All @@ -147,6 +148,8 @@ options:
%(ReadingOrder)s: Series Reading Order
%(Edition)s: Edition
%(ID)s: Title/Loan ID
--removefrompaths ILLEGAL_CHARS
Remove characters in string specified from folder and file names, example "<>:"/\|?*"
--overwritetags Always overwrite ID3 tags.
By default odmpy tries to non-destructively tag audiofiles.
This option forces odmpy to overwrite tags where possible. For audiobooks.
Expand Down Expand Up @@ -275,7 +278,8 @@ These commands are still supported but are expected to be less popular as OverDr
usage: odmpy dl [-h] [-d DOWNLOAD_DIR] [-c] [-m] [--mergeformat {mp3,m4b}]
[--mergecodec {aac,libfdk_aac}] [-k] [-f] [--nobookfolder]
[--bookfolderformat BOOK_FOLDER_FORMAT]
[--bookfileformat BOOK_FILE_FORMAT] [--overwritetags]
[--bookfileformat BOOK_FILE_FORMAT]
[--removefrompaths ILLEGAL_CHARS] [--overwritetags]
[--tagsdelimiter DELIMITER] [--id3v2version {3,4}] [--opf]
[-r OBSOLETE_RETRIES] [-j] [--hideprogress]
odm_file
Expand Down Expand Up @@ -315,6 +319,8 @@ options:
%(Series)s: Series
%(Edition)s: Edition
%(ID)s: Title/Loan ID
--removefrompaths ILLEGAL_CHARS
Remove characters in string specified from folder and file names, example "<>:"/\|?*"
--overwritetags Always overwrite ID3 tags.
By default odmpy tries to non-destructively tag audiofiles.
This option forces odmpy to overwrite tags where possible. For audiobooks.
Expand Down
4 changes: 2 additions & 2 deletions odmpy/odm.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
requests_logger.setLevel(logging.ERROR)
requests_logger.propagate = True

__version__ = "0.7.9" # also update ../setup.py
__version__ = "0.8.0" # also update ../setup.py
TAGS_ENDPOINT = "https://api.github.com/repos/ping/odmpy/tags"
REPOSITORY_URL = "https://github.com/ping/odmpy"
OLD_SETTINGS_FOLDER_DEFAULT = Path("./odmpy_settings")
Expand Down Expand Up @@ -707,7 +707,7 @@ def run(custom_args: Optional[List[str]] = None, be_quiet: bool = False) -> None
if args.settings_folder:
args.settings_folder = str(Path(args.settings_folder).expanduser())
elif OLD_SETTINGS_FOLDER_DEFAULT.joinpath("libby.json").exists():
# handle backward-compat for versions <= 0.7.9
# handle backward-compat for versions <= 0.8.0
args.settings_folder = str(OLD_SETTINGS_FOLDER_DEFAULT)
else:
args.settings_folder = str(default_config_folder)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

__author__ = "ping"
__url__ = "https://github.com/ping/odmpy/"
__version__ = "0.7.9" # also update odmpy/odm.py
__version__ = "0.8.0" # also update odmpy/odm.py


__long_description__ = """
Expand Down

0 comments on commit 9cba8c4

Please sign in to comment.