Skip to content

Commit 476cccd

Browse files
committed
3.0.156
1 parent c36b43f commit 476cccd

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed

.github/README.md

Lines changed: 2 additions & 2 deletions
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.155; 104 subcommands)
102+
library (v3.0.156; 104 subcommands)
103103

104104
Create database subcommands:
105105
╭─────────────────┬──────────────────────────────────────────╮
@@ -2303,7 +2303,7 @@ Inspired somewhat by https://nikkhokkho.sourceforge.io/?page=FileOptimizer
23032303
<details><summary>Show disk usage</summary>
23042304

23052305
$ library disk-usage -h
2306-
usage: library disk-usage DATABASE [--sort-groups-by size | count] [--depth DEPTH] [PATH / SUBSTRING SEARCH]
2306+
usage: library disk-usage DATABASE [--sort-groups-by (priority) | path | size | count] [--depth DEPTH] [PATH / SUBSTRING SEARCH]
23072307

23082308
To aggregate to high level folders use --parents and --depth
23092309

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.155"
8+
__version__ = "3.0.156"
99

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

library/utils/path_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def path_tuple_from_url(url):
388388
def gen_rel_path(source: str, dest: str, relative_to):
389389
abspath = Path(source).expanduser().resolve()
390390

391-
if dest.startswith(":/"):
391+
if str(dest).startswith(":/"):
392392
dest = os.path.join(mountpoint(abspath), dest.lstrip(":/"))
393393
relpath = relativize(abspath)
394394

pdm.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/playback/test_media_player.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def test_prefetch(media):
3737
action=consts.SC.watch,
3838
verbose=2,
3939
fullscreen=None,
40+
delete_unplayable=False,
4041
)
4142
prep = MediaPrefetcher(args, media)
4243

0 commit comments

Comments
 (0)