This commit is contained in:
VineFeeder
2025-12-30 13:24:57 +00:00
parent 9d89e8e31c
commit 629ab16122
2 changed files with 7 additions and 6 deletions
+5 -4
View File
@@ -910,18 +910,19 @@ class dl:
# use --select-titles after dl in unshackle command
Config.transient = True
# thanks CodeName393 for suggestion to use episode name and full SXXExx format
if select_titles and type(titles)==Series:
console.print(Padding(Rule(f"[rule.text]\nSelect Titles Option\n")))
console.print(Padding(Rule(f"[rule.text]\nSelect Titles Option\n"), (1, 2)))
beaupy_titles = [
f"{i+1} {t.title}, {t.season}, {t.number}"
f"{i+1}. {t.title} - S{t.season:02}E{t.number:02}"
+ (f" - {t.name}" if t.name else "")
for i, t in enumerate(titles)
]
selected_idx = select_multiple(
beaupy_titles,
preprocessor=lambda val: f"[rgb(245,194,231)]{val}[/rgb(245,194,231)]",
preprocessor=lambda val: f"[rgb(205,214,244)]{val}[/rgb(205,214,244)]",
minimal_count=1,
page_size=8,
pagination=True,
@@ -1,6 +1,6 @@
service: MY5
options: -S
options:
media_dict: