Auto-DLP 2025.6.36__py3-none-any.whl → 2025.6.37__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- auto_dlp/downloader.py +4 -4
- auto_dlp/redownloading.py +2 -2
- auto_dlp/version.py +1 -1
- {auto_dlp-2025.6.36.dist-info → auto_dlp-2025.6.37.dist-info}/METADATA +1 -1
- {auto_dlp-2025.6.36.dist-info → auto_dlp-2025.6.37.dist-info}/RECORD +8 -8
- {auto_dlp-2025.6.36.dist-info → auto_dlp-2025.6.37.dist-info}/WHEEL +0 -0
- {auto_dlp-2025.6.36.dist-info → auto_dlp-2025.6.37.dist-info}/entry_points.txt +0 -0
- {auto_dlp-2025.6.36.dist-info → auto_dlp-2025.6.37.dist-info}/licenses/LICENSE.txt +0 -0
auto_dlp/downloader.py
CHANGED
@@ -111,9 +111,9 @@ def get_song_file(song_id, config):
|
|
111
111
|
return path
|
112
112
|
|
113
113
|
|
114
|
-
def delete_cached_version(song_id: str):
|
114
|
+
def delete_cached_version(artist: str, song_id: str):
|
115
115
|
song_file: Path = _try_get_song_file(song_id)
|
116
116
|
if song_file is not None:
|
117
|
-
|
118
|
-
fs.touch_folder(
|
119
|
-
shutil.move(song_file,
|
117
|
+
directory = fs.download_cache_trash() / artist
|
118
|
+
fs.touch_folder(directory)
|
119
|
+
shutil.move(song_file, folder / song_file.name)
|
auto_dlp/redownloading.py
CHANGED
@@ -53,7 +53,7 @@ class SongWrapper:
|
|
53
53
|
if file is None: return
|
54
54
|
print(f"Deleting {self}: {file}")
|
55
55
|
file.unlink(missing_ok=True)
|
56
|
-
downloader.delete_cached_version(self.oid)
|
56
|
+
downloader.delete_cached_version(self.artist.name, self.oid)
|
57
57
|
|
58
58
|
|
59
59
|
# Yields: song name, song id and artist
|
@@ -84,7 +84,7 @@ def _iter_playlists(config, artist=None):
|
|
84
84
|
|
85
85
|
def _get_obj_locations(config, obj_id):
|
86
86
|
obj_re = re.compile(obj_id, flags=re.IGNORECASE)
|
87
|
-
|
87
|
+
|
88
88
|
for playlist in _iter_playlists(config):
|
89
89
|
if playlist.oid == obj_id or obj_re.fullmatch(playlist.name) is not None:
|
90
90
|
yield playlist
|
auto_dlp/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
program_version = "2025.6.
|
1
|
+
program_version = "2025.6.37"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: Auto-DLP
|
3
|
-
Version: 2025.6.
|
3
|
+
Version: 2025.6.37
|
4
4
|
Summary: A simple and lightweight system for downloading and managing youtube playlists and songs (based on yt-dlp)
|
5
5
|
Author-email: Vorak <5m9mnf37q@mozmail.com>
|
6
6
|
License-File: LICENSE.txt
|
@@ -9,7 +9,7 @@ auto_dlp/channels.py,sha256=wX7SekCbxZqEKUXJJqDjZUmWTmGJyw2rv4XvjaUzdtg,595
|
|
9
9
|
auto_dlp/codecs.py,sha256=7MY_u_X9IRieBjfbGmJH0As4qUAKd6IbvRiJgunAU4o,99
|
10
10
|
auto_dlp/config_intepreter.py,sha256=yOMYN3LyS5HV4cI9k5vxttBaoYequPC94x3YNUSfmz4,9789
|
11
11
|
auto_dlp/download_manager.py,sha256=sJXfvEgwGeVcKDqeWMcZzqiEOQLmURFE-UiAYY9gplI,2251
|
12
|
-
auto_dlp/downloader.py,sha256=
|
12
|
+
auto_dlp/downloader.py,sha256=bnNUUSYYuvyw5QRNjriUrOlpI9EF3EZkLoqxy0YxOl4,3580
|
13
13
|
auto_dlp/example_file.py,sha256=Ouk2MNGENR9DUAyz5fsy5pvPDrxK2BVWyut1KM7JGpI,1583
|
14
14
|
auto_dlp/ffmpeg.py,sha256=dj6rEjVuk9QMw_Tg7YS6KGSRq9hTOARXQAHXxltAc0o,1473
|
15
15
|
auto_dlp/file_cleaning.py,sha256=OmQNIC7QSH6gFHnxngZWO_3WUgzivG8OVJMrr3VSieo,1017
|
@@ -18,15 +18,15 @@ auto_dlp/fs_sync.py,sha256=Pab9IbhI-MCL_-v4i3PT6ESRvgSrqo7mpC94je-ONHQ,80
|
|
18
18
|
auto_dlp/metadata.py,sha256=GZ7mjnyET1_YUksN1KGG_NvwPxvQLDAJr6wfRY7zJZQ,2506
|
19
19
|
auto_dlp/name_cleaning.py,sha256=Ryx7FmBHqDIF_XeYqHHTJTaRcozJ0frzpfYbzYkNg9c,1530
|
20
20
|
auto_dlp/playlist_items.py,sha256=13BEryw_n4mo7R_gt9ewWfcGra2397P7cPN6FhFCZVk,1789
|
21
|
-
auto_dlp/redownloading.py,sha256=
|
21
|
+
auto_dlp/redownloading.py,sha256=Lmu02M6JRpSwpV7FHT_6gAMrbSe4QQhQWOy_n_xM1ro,3406
|
22
22
|
auto_dlp/terminal_formatting.py,sha256=bFEOXB0EwfK95L1xrBGwsBmT6fkNXRDGE82JW1GAnhY,77
|
23
23
|
auto_dlp/thumbnails.py,sha256=PEDQgd-kbl9ZSAIUgrW5Oc_-G1-4J4H-Mi4736gt6sI,1467
|
24
24
|
auto_dlp/unavailable_items.py,sha256=7tLKIJ8aa1jqF5JZ_UOlqmTn9ieFFpDK6EbozL6-Qy0,666
|
25
25
|
auto_dlp/utils.py,sha256=Qsfy1pzQMCQwDJuSmE5v71eGhRRt0hSpak_S2AEQRJw,937
|
26
26
|
auto_dlp/variables.py,sha256=m5Ymc17pfjfjQwmQlWJp9Qt-Fi6uN5_hbpWO98oLC-0,18
|
27
|
-
auto_dlp/version.py,sha256=
|
28
|
-
auto_dlp-2025.6.
|
29
|
-
auto_dlp-2025.6.
|
30
|
-
auto_dlp-2025.6.
|
31
|
-
auto_dlp-2025.6.
|
32
|
-
auto_dlp-2025.6.
|
27
|
+
auto_dlp/version.py,sha256=vJN8TOmmi-RbpAc2bJx7mUsDZ_-nMLe18HPOgucbHmE,29
|
28
|
+
auto_dlp-2025.6.37.dist-info/METADATA,sha256=5_ofHQUOhseUUyJc5MtPKY4SQRUaBBCcz1u_kiUz4Yo,5585
|
29
|
+
auto_dlp-2025.6.37.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
30
|
+
auto_dlp-2025.6.37.dist-info/entry_points.txt,sha256=tXzdP_Yx88UaxQj1K3eeMF6LjKDMlN_OOcgq0Io4bUs,58
|
31
|
+
auto_dlp-2025.6.37.dist-info/licenses/LICENSE.txt,sha256=kjGr1EnB89PoRKf-Bzx0I7DB-aNHtQk6kPYAEA--rZk,1069
|
32
|
+
auto_dlp-2025.6.37.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|