mirror of
https://github.com/glomatico/gamdl.git
synced 2025-01-23 03:39:03 +00:00
binaries location adjust
This commit is contained in:
parent
85f930b298
commit
9358a8b760
16
gamdl/dl.py
16
gamdl/dl.py
@ -75,10 +75,18 @@ class Dl:
|
||||
):
|
||||
self.final_path = final_path
|
||||
self.temp_path = temp_path
|
||||
self.ffmpeg_location = shutil.which(ffmpeg_location)
|
||||
self.mp4box_location = shutil.which(mp4box_location)
|
||||
self.mp4decrypt_location = shutil.which(mp4decrypt_location)
|
||||
self.nm3u8dlre_location = shutil.which(nm3u8dlre_location)
|
||||
self.ffmpeg_location = (
|
||||
shutil.which(ffmpeg_location) if ffmpeg_location else None
|
||||
)
|
||||
self.mp4box_location = (
|
||||
shutil.which(mp4box_location) if mp4box_location else None
|
||||
)
|
||||
self.mp4decrypt_location = (
|
||||
shutil.which(mp4decrypt_location) if mp4decrypt_location else None
|
||||
)
|
||||
self.nm3u8dlre_location = (
|
||||
shutil.which(nm3u8dlre_location) if nm3u8dlre_location else None
|
||||
)
|
||||
self.template_folder_album = template_folder_album
|
||||
self.template_folder_compilation = template_folder_compilation
|
||||
self.template_file_single_disc = template_file_single_disc
|
||||
|
Loading…
Reference in New Issue
Block a user