Skip to content

Commit

Permalink
Update new default verbose level and add regex filtering under future…
Browse files Browse the repository at this point in the history
… improvements
  • Loading branch information
Robert-Zacchigna committed Apr 21, 2024
1 parent 4092faa commit 492f904
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ devel:
pip install -r requirements_dev.txt
pre-commit install --hook-type pre-commit --hook-type pre-push
test:
pytest --cov-config=.coveragerc --cov-branch --cov=pyetrade --cov-fail-under 80 --cov-report term-missing --cov-report xml tests/
pytest --cov-config=.coveragerc --cov-branch --cov=MKVAudioSubsDefaulter --cov-fail-under 80 --cov-report term-missing --cov-report xml tests/
analysis: # Lint, format, import optimizer, etc.
pipenv run pre-commit run --all-files
install:
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ at a maximum, one directory deeper for media files.
### Verbosity

There are various logging levels implemented in this cli: `0: NONE (Default), 1: INFO, 2: DEBUG, 3: WARNING, 4: ERROR`.
There are various logging levels implemented in this cli: `0: NONE, 1: INFO, 2: DEBUG, 3: WARNING, 4: ERROR (Default)`.
By default, no logs are produced but the log level can easily be changed using the `-v, --verbose` cli arg.

## Advanced Usage (Orchestration)
Expand Down Expand Up @@ -190,7 +190,7 @@ Here are few that I'm aware of listed in alphabetical order: [Airflow](https://g
-d, --depth When using the '-lib' arg, how many directories deep to search within the specified library folder (Default: 0)
-ext, --file-extensions Specify media file extensions to search for in a comma separated list, EX: .mkv,.mp4,.avi
-dr, --dry-run Perform a dry run, no changes made to files but summary of predicted changes will be outputted
-v, --verbose Adjust log level (0: NONE (Default), 1: INFO, 2: DEBUG, 3: WARNING, 4: ERROR)
-v, --verbose Adjust log level (0: NONE, 1: INFO, 2: DEBUG, 3: WARNING, 4: ERROR (Default))
-lc, --language-codes Print language codes to console
-V, --version Show program's version number and exit
-h, --help Display argument descriptions and exit
Expand Down Expand Up @@ -219,3 +219,4 @@ Future possible improvements and/or additions:
* Add Unit Tests
* Rework cli to be a bit more modernized using [rich-click](https://github.com/ewels/rich-click)
* Output media file statuses to log files depending on their status (see top of `change_default_tracks()` for statuses)
* Add a `regex` arg to filter for specific media file based on their name using `regex`

0 comments on commit 492f904

Please sign in to comment.