Skip to content

Commit 65b9636

Browse files
committed
3.0.152
1 parent fa96e3c commit 65b9636

File tree

5 files changed

+305
-285
lines changed

5 files changed

+305
-285
lines changed

.github/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ To stop playing press Ctrl+C in either the terminal or mpv
9999
<details><summary>List all subcommands</summary>
100100

101101
$ library
102-
library (v3.0.151; 104 subcommands)
102+
library (v3.0.152; 104 subcommands)
103103

104104
Create database subcommands:
105105
╭─────────────────┬──────────────────────────────────────────╮
@@ -3058,6 +3058,10 @@ Inspired somewhat by https://nikkhokkho.sourceforge.io/?page=FileOptimizer
30583058

30593059
library torrents -pa
30603060

3061+
Aggregate tracker errors
3062+
3063+
library torrents --errored --trackers
3064+
30613065
Search for specific file
30623066

30633067
library torrents query -v --file-search query2

library/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from library.utils import argparse_utils, iterables
66
from library.utils.log_utils import log
77

8-
__version__ = "3.0.151"
8+
__version__ = "3.0.152"
99

1010
progs = {
1111
"Create database subcommands": {

library/createdb/tube_add.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ def tube_update(args=None) -> None:
9393

9494
tube_playlists = db_playlists.get_all(
9595
args,
96-
sql_filters=["AND coalesce(extractor_key, '') NOT IN ('Local', 'reddit_praw_redditor', 'reddit_praw_subreddit')"],
96+
sql_filters=[
97+
"AND coalesce(extractor_key, '') NOT IN ('Local', 'reddit_praw_redditor', 'reddit_praw_subreddit')"
98+
],
9799
)
98100

99101
print("Checking", len(tube_playlists), "playlists for updates")

library/createdb/tube_backend.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ def run(self, info) -> tuple[list, dict]: # pylint: disable=arguments-renamed
191191
if args.safe:
192192
log.error("DownloadError skipping %s", playlist_path)
193193
else:
194-
log.warning("Could not scrape playlist metadata successfully (will try again [in a few days] during tubeupdate)")
194+
log.warning(
195+
"Could not scrape playlist metadata successfully (will try again [in a few days] during tubeupdate)"
196+
)
195197
db_playlists.save_undownloadable(args, playlist_path)
196198
return
197199
except ExistingPlaylistVideoReached:
@@ -203,7 +205,9 @@ def run(self, info) -> tuple[list, dict]: # pylint: disable=arguments-renamed
203205
if args.safe:
204206
log.error("DownloadError skipping %s", playlist_path)
205207
else:
206-
log.warning("Could not scrape playlist metadata successfully (will try again [in a few days] during tubeupdate)")
208+
log.warning(
209+
"Could not scrape playlist metadata successfully (will try again [in a few days] during tubeupdate)"
210+
)
207211
db_playlists.save_undownloadable(args, playlist_path)
208212

209213
if args.action == consts.SC.tube_update:

0 commit comments

Comments
 (0)