Auto-DLP 2025.6.29__tar.gz → 2025.6.31__tar.gz

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.
Files changed (36) hide show
  1. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/PKG-INFO +1 -1
  2. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/redownloading.py +7 -8
  3. auto_dlp-2025.6.31/auto_dlp/version.py +1 -0
  4. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/pyproject.toml +1 -1
  5. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/vinc.json +2 -2
  6. auto_dlp-2025.6.29/auto_dlp/version.py +0 -1
  7. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/.gitignore +0 -0
  8. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/LICENSE.txt +0 -0
  9. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/README.md +0 -0
  10. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/YoutubeDataAPIv3.py +0 -0
  11. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/__init__.py +0 -0
  12. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/__main__.py +0 -0
  13. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/adb.py +0 -0
  14. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/adb_fs.py +0 -0
  15. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/adb_fs_cleaning.py +0 -0
  16. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/age_hints.py +0 -0
  17. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/channels.py +0 -0
  18. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/codecs.py +0 -0
  19. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/config_intepreter.py +0 -0
  20. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/download_manager.py +0 -0
  21. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/downloader.py +0 -0
  22. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/example_file.py +0 -0
  23. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/ffmpeg.py +0 -0
  24. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/file_cleaning.py +0 -0
  25. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/file_locations.py +0 -0
  26. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/fs_sync.py +0 -0
  27. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/metadata.py +0 -0
  28. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/name_cleaning.py +0 -0
  29. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/playlist_items.py +0 -0
  30. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/terminal_formatting.py +0 -0
  31. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/thumbnails.py +0 -0
  32. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/unavailable_items.py +0 -0
  33. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/utils.py +0 -0
  34. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/auto_dlp/variables.py +0 -0
  35. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/icon.png +0 -0
  36. {auto_dlp-2025.6.29 → auto_dlp-2025.6.31}/makefile +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Auto-DLP
3
- Version: 2025.6.29
3
+ Version: 2025.6.31
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
@@ -2,7 +2,7 @@ import re
2
2
 
3
3
  import auto_dlp.downloader as downloader
4
4
  import auto_dlp.file_locations as fs
5
- from auto_dlp import playlist_items
5
+ from auto_dlp import playlist_items, add_color
6
6
  from auto_dlp.name_cleaning import clean_name
7
7
 
8
8
 
@@ -14,7 +14,7 @@ class PlaylistWrapper:
14
14
  self.oid = oid
15
15
 
16
16
  def __str__(self):
17
- return f"playlist {self.name} ({self.oid}) by {self.artist.name}"
17
+ return f"playlist {add_color(1, self.name)} ({self.oid}) by {add_color(2, self.artist.name)}"
18
18
 
19
19
  def items(self):
20
20
  for entry in playlist_items.get(self.config, self.oid):
@@ -39,7 +39,7 @@ class SongWrapper:
39
39
  self.playlist = playlist
40
40
 
41
41
  def __str__(self):
42
- return f"song {self.name} ({self.oid}) by {self.artist.name}"
42
+ return f"song {add_color(1, self.name)} ({self.oid}) by {add_color(2, self.artist.name)}"
43
43
 
44
44
  def get_file(self):
45
45
  if self.playlist is None:
@@ -51,7 +51,6 @@ class SongWrapper:
51
51
  file = self.get_file()
52
52
  if file is None: return
53
53
  print(f"Deleting {self}: {file}")
54
- return
55
54
  file.unlink(missing_ok=True)
56
55
  downloader.delete_cached_version(self.oid)
57
56
 
@@ -94,13 +93,13 @@ def _get_obj_locations(config, obj_id):
94
93
  yield playlist
95
94
 
96
95
 
97
- def redownload(config, obj):
98
- matches = list(_get_obj_locations(config, obj))
99
- print(f"Found the following matches for {obj}:")
96
+ def redownload(config, obj_id):
97
+ matches = list(_get_obj_locations(config, obj_id))
98
+ print(f"Found the following matches for {obj_id}:")
100
99
  for obj in matches:
101
100
  print(f"Found {obj}")
102
101
 
103
- confirmation = input(f"Really redownload all matches for {obj}? (y/n) ")
102
+ confirmation = input(f"Really redownload all matches for {obj_id}? (y/n) ")
104
103
  if confirmation.strip() != "y":
105
104
  print("Aborted")
106
105
  return
@@ -0,0 +1 @@
1
+ program_version = "2025.6.31"
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "Auto-DLP"
7
- version = "2025.6.29" # vinc
7
+ version = "2025.6.31" # vinc
8
8
  authors = [
9
9
  { name = "Vorak", email = "5m9mnf37q@mozmail.com" },
10
10
  ]
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "template": "<YEAR>.<MONTH>.<COUNTER>",
3
- "version": "2025.6.29",
3
+ "version": "2025.6.31",
4
4
  "YEAR": 2025,
5
5
  "MONTH": 6,
6
- "COUNTER": 29,
6
+ "COUNTER": 31,
7
7
  "targets": {
8
8
  "pyproject.toml": {
9
9
  "find": "\"<VERSION>\"\\s*#\\s*vinc",
@@ -1 +0,0 @@
1
- program_version = "2025.6.29"
File without changes
File without changes
File without changes
File without changes
File without changes