Skip to content

Commit

Permalink
Bump version to 0.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ping committed Mar 26, 2023
1 parent 43a34e8 commit 4888593
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Requires Python >= 3.7.

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

# Install / Update from latest source
python3 -m pip install git+https://[email protected]/ping/odmpy.git --upgrade --force-reinstall
Expand Down Expand Up @@ -76,7 +76,7 @@ Available commands:
ret Return an audiobook loan file (odm).
info Get information about an audiobook loan file (odm).
Version 0.7.4. [Python 3.10.6-darwin] Source at https://github.com/ping/odmpy
Version 0.7.5. [Python 3.10.6-darwin] Source at https://github.com/ping/odmpy
```
### Download via Libby
Expand All @@ -93,8 +93,9 @@ usage: odmpy libby [-h] [--settings SETTINGS_FOLDER] [--ebooks] [--magazines]
[--bookfileformat BOOK_FILE_FORMAT] [--overwritetags]
[--tagsdelimiter DELIMITER] [--opf] [-r OBSOLETE_RETRIES]
[-j] [--hideprogress] [--direct] [--keepodm] [--latest N]
[--select N [N ...]] [--exportloans LOANS_JSON_FILEPATH]
[--reset] [--check] [--debug]
[--select N [N ...]] [--selectid ID [ID ...]]
[--exportloans LOANS_JSON_FILEPATH] [--reset] [--check]
[--debug]
Interactive Libby Interface for downloading loans.
Expand Down Expand Up @@ -125,6 +126,7 @@ options:
%(Author)s: Comma-separated Author names
%(Series)s: Series
%(Edition)s: Edition
%(ID)s: Title/Loan ID
--bookfileformat BOOK_FILE_FORMAT
Book file format string (without extension). Default "%(Title)s - %(Author)s".
This applies to only merged audiobooks, ebooks, and magazines.
Expand All @@ -133,6 +135,7 @@ options:
%(Author)s: Comma-separated Author names
%(Series)s: Series
%(Edition)s: Edition
%(ID)s: Title/Loan ID
--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 All @@ -152,10 +155,14 @@ options:
--select N [N ...] Non-interactive mode that downloads loans by the index entered.
For example, "--select 1 5" will download the first and fifth loans in order of the checked out date.
If the 5th loan does not exist, it will be skipped.
--selectid ID [ID ...]
Non-interactive mode that downloads loans by the loan ID entered.
For example, "--selectid 12345" will download the loan with the ID 12345.
If the loan with the ID does not exist, it will be skipped.
--exportloans LOANS_JSON_FILEPATH
Non-interactive mode that exports loan information into a json file at the path specified.
--reset Remove previously saved odmpy Libby settings.
--check Non-interactive mode that displays Libby signed-in status.
--check Non-interactive mode that displays Libby signed-in status and token if authenticated.
--debug Debug switch for use during development. Please do not use.
```
Expand Down Expand Up @@ -282,6 +289,7 @@ options:
%(Author)s: Comma-separated Author names
%(Series)s: Series
%(Edition)s: Edition
%(ID)s: Title/Loan ID
--bookfileformat BOOK_FILE_FORMAT
Book file format string (without extension). Default "%(Title)s - %(Author)s".
This applies to only merged audiobooks, ebooks, and magazines.
Expand All @@ -290,6 +298,7 @@ options:
%(Author)s: Comma-separated Author names
%(Series)s: Series
%(Edition)s: Edition
%(ID)s: Title/Loan ID
--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 @@ -327,7 +336,7 @@ odmpy libby -h
```
usage: odmpy ret [-h] odm_file
Return an audiobook loan file.
Return an audiobook loan file (odm).
positional arguments:
odm_file ODM file path.
Expand All @@ -343,7 +352,7 @@ options:
```
usage: odmpy info [-h] [-f {text,json}] odm_file
Get information about an audiobook loan file.
Get information about an audiobook loan file (odm).
positional arguments:
odm_file ODM file path.
Expand Down
2 changes: 1 addition & 1 deletion odmpy/odm.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
requests_logger.setLevel(logging.ERROR)
requests_logger.propagate = True

__version__ = "0.7.4" # also update ../setup.py
__version__ = "0.7.5" # also update ../setup.py
TAGS_ENDPOINT = "https://api.github.com/repos/ping/odmpy/tags"
REPOSITORY_URL = "https://github.com/ping/odmpy"

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.4" # also update odmpy/odm.py
__version__ = "0.7.5" # also update odmpy/odm.py


__long_description__ = """
Expand Down

0 comments on commit 4888593

Please sign in to comment.