nh
This commit is contained in:
@@ -640,11 +640,13 @@ class Add_File(Cmdlet):
|
||||
or tidal_metadata.get("_tidal_manifest_url")
|
||||
)
|
||||
if not manifest_source:
|
||||
target_is_mpd = False
|
||||
if isinstance(media_path_or_url, Path):
|
||||
manifest_source = media_path_or_url
|
||||
target_is_mpd = str(media_path_or_url).lower().endswith(".mpd")
|
||||
elif isinstance(media_path_or_url, str):
|
||||
if media_path_or_url.lower().endswith(".mpd"):
|
||||
manifest_source = media_path_or_url
|
||||
target_is_mpd = media_path_or_url.lower().endswith(".mpd")
|
||||
if target_is_mpd:
|
||||
manifest_source = media_path_or_url
|
||||
|
||||
if manifest_source:
|
||||
downloaded, tmp_dir = self._download_manifest_with_ffmpeg(manifest_source)
|
||||
|
||||
Reference in New Issue
Block a user