forked from DRMTalks/devine
parent
984582d19d
commit
96f408ca49
|
@ -331,11 +331,11 @@ class dl:
|
||||||
title.tracks.sort_subtitles(by_language=s_lang)
|
title.tracks.sort_subtitles(by_language=s_lang)
|
||||||
title.tracks.sort_chapters()
|
title.tracks.sort_chapters()
|
||||||
|
|
||||||
|
if list_:
|
||||||
console.log("> All Tracks:")
|
console.log("> All Tracks:")
|
||||||
available_tracks = title.tracks.tree()
|
available_tracks = title.tracks.tree()
|
||||||
console.log(available_tracks)
|
console.log(available_tracks)
|
||||||
|
continue
|
||||||
console.log("> Selected Tracks:") # log early so errors logs make sense
|
|
||||||
|
|
||||||
with console.status("Selecting tracks...", spinner="dots"):
|
with console.status("Selecting tracks...", spinner="dots"):
|
||||||
if isinstance(title, (Movie, Episode)):
|
if isinstance(title, (Movie, Episode)):
|
||||||
|
@ -415,9 +415,8 @@ class dl:
|
||||||
title.tracks.subtitles.clear()
|
title.tracks.subtitles.clear()
|
||||||
|
|
||||||
selected_tracks = title.tracks.tree()
|
selected_tracks = title.tracks.tree()
|
||||||
|
console.log("> Selected Tracks:")
|
||||||
console.log(selected_tracks)
|
console.log(selected_tracks)
|
||||||
if list_:
|
|
||||||
continue # only wanted to see what tracks were available and chosen
|
|
||||||
|
|
||||||
if skip_dl:
|
if skip_dl:
|
||||||
console.log("Skipping Download...")
|
console.log("Skipping Download...")
|
||||||
|
|
Loading…
Reference in New Issue