You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to separate the used codec and the file extension. Since, if a file is returned as MP4 it still can have a FLAC encoded audio channel, but the container is indeed an MP4 container.
What happens here is, if stream has ".mp4" in it's file name, the lines above try to check the used codec and wrongly adapt the file extension. To overcome this problem problem I propose solely rely on the extension within the URL. I have a problem which is related to this exislow/tidal-dl-ng#232
A lot of debugging led me to this conclusion. I will propose a solution with a PR.
The text was updated successfully, but these errors were encountered:
I did some research and found out that this behavior is wrong:
python-tidal/tidalapi/media.py
Lines 619 to 637 in 1720a0b
We need to separate the used codec and the file extension. Since, if a file is returned as MP4 it still can have a FLAC encoded audio channel, but the container is indeed an MP4 container.
What happens here is, if stream has ".mp4" in it's file name, the lines above try to check the used codec and wrongly adapt the file extension. To overcome this problem problem I propose solely rely on the extension within the URL. I have a problem which is related to this exislow/tidal-dl-ng#232
A lot of debugging led me to this conclusion. I will propose a solution with a PR.
The text was updated successfully, but these errors were encountered: