mirror of https://github.com/devine-dl/devine.git
Update dl.py
This commit is contained in:
parent
542e176438
commit
0cb245f47a
|
@ -729,7 +729,10 @@ class dl:
|
||||||
|
|
||||||
for muxed_path in muxed_paths:
|
for muxed_path in muxed_paths:
|
||||||
media_info = MediaInfo.parse(muxed_path)
|
media_info = MediaInfo.parse(muxed_path)
|
||||||
final_dir = Path(str(config.directories.downloads).format(**title.__dict__))
|
final_dir = config.directories.downloads
|
||||||
|
if isinstance(title, Episode):
|
||||||
|
final_dir = Path(str(config.directories.downloads).format(**title.__dict__))
|
||||||
|
|
||||||
final_filename = title.get_filename(media_info, show_service=not no_source)
|
final_filename = title.get_filename(media_info, show_service=not no_source)
|
||||||
|
|
||||||
if not no_folder and isinstance(title, (Episode, Song)):
|
if not no_folder and isinstance(title, (Episode, Song)):
|
||||||
|
|
Loading…
Reference in New Issue