-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't fetch DOLBY ATMOS track. #5
Comments
Good catch, thanks for the report! Should be fixed in 3b321e1. TIDAL is full of these annoying edge cases unfortunately. |
That means, we cant download the DOLBY ATMOS file? As I see, you are redirecting to LOSSLESS quality if DOBLY_ATMOS. Am I right? |
Ah I totally misunderstood the issue. I'm having a little trouble getting the official client to stream/download a DOLBY_ATMOS track, but once I can see what the API call looks like, this shouldn't be hard to do. |
Its only playable from Dolby supported device, my Android is. How can I "fiddler" my device? |
I use mitmproxy: https://mitmproxy.org/ |
I tried capturing the network, but instead of browser, it cannot capture any app traffic. It seems I need to download the TIDAL apk, decompile, make some changes that it accepts USER installed certificats into its build and compile. I dont think I can do all that. If I get TIDAL modified apk, I can help with further traffic report to fetch DOLBY ATMOS stream. |
Just got MQA support working, and I'd like to figure out Dolby audio as well. Still willing to help out? Yes, you can patch the APK manually to disable cert pinning, but this Xposed module works great with TIDAL: https://github.com/ViRb3/TrustMeAlready. If you're on Android 9 or 10, you can use https://github.com/ElderDrivers/EdXposed instead of the original Xposed. |
Either MITM it being weird or the Dolby Atmos tracks are tiny. Are you telling me that a track with 3d audio is <7MB ?. + I don't think there is a file format for Atmos is there? |
Oh yes. |
It looks like the only difference in getting a Atmos track is Track with DOLBY_ATMOS in the request is 16.3mb (But seems to just be an MQA file) |
@Dniel97 said: "Tidal uses according to a German website What I think, the 16MB request could be the audio file without the AC-4 filter and it requests AC-4 filter file separately and process while streaming. |
Will have to look into it. Currently when playing a Atmos track on mobile the request is for an mp4 file like this
I see no option in the app to change the audio quality to anything else |
So the mp4 from tidal seems to be a AC-4 file its just how to play it is the problem
|
I would like to see support for getting atmos files. I have been playing around and I can't seem to figure out how or why a The request for atmos files to tidal is Response is
The manifest for me at least always returns with a .flac and not the .mp4 file I also suspect that files ending in |
Amazing find! If someone could teach me a little, I can spare time on this. |
@112madgamer try HIGH instead of HIGH_RES |
Thanks. But I have managed to to download them. I have rigged RedSea to pull them. You need the |
@112madgamer check this? |
I have seen that but its only for android. Which I can listen to the songs with Google Music app. Still no support for the Sony 3D audio MPEG-h mha1 |
Also according to ffmpeg irc thats |
ffmpeg has a WIP for AC-4 it works but its a way off being implemented https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=451 The work is sponsored by VLC so maybe be the end of the year AC-4 decoding might be a thing |
Does this help in anyway? https://developer.dolby.com/forms/dolby-atmos-conversion-tool/ |
@112madgamer Mind sharing the payload that you used to fetch the Atmos MP4 file? It might still be worth adding support for it even if they can't be played back atm. |
Can anyone explain to me how to download the Atmos or 360RA files or add support to the code? Thank you very much |
@112madgamer wait a moment, I don't know if I misunderstood, can this file atmos be played on google play music or youtube music? |
The atmos tracks can be played with Google music app. So I guess the Youtube music app would work also haven't tested. @joseph39 All you need is the "authorization" header set. Which you can get your code by using the MITM proxy. Currently I have found no easy way to download them. It might be possible if we worked on the logging in via oauth but thats alot of work |
I just followed what you said and made my own fork of RedSea to download Dolby Atmos here: https://github.com/zpoo32/RedSea |
Could you please tag me if you are copying my reply from yaronzz/Tidal-Media-Downloader#252 (comment)? EDIT: Thanks! |
Thank you @zpoo32 for the repo. I tried your RedSea version and manually added my |
Are you certain you are using the exact same URLs that play Dolby Atmos on the Tidal app? |
Does my device need to support Dolby Atmos inside the Tidal app? My mobile doesn't support Dolby Atmos so I thought it would not matter because I only need the token and authorization header. I tried the same with |
That's strange, it was working for me yesterday... I'm going to have to test it again this afternoon but the phone's Dolby Atmos support shouldn't affect the downloder's ability to download it... are you using the Hi-Fi subscription? |
Also, don't use -p best available because it's always going to be Low for Atmos tracks anyway so it's unnecessary |
Yes I'm using the Hi-Fi subscription and could obtain a Flac file with our repo without any problems but Dolby Atmos files won't load. |
Bad news... the Tidal session actually sends the Dolby Atmos support of the device used to the server somehow and this determines if the user can request an Atmos track... unless the Tidal app's login system is reversed, only people with phones that support Atmos and AC-4 are supported for now |
I already mentioned this in the Tidown issue thead but I need the help of someone with one of these devices: Fire TV Stick 4K, Fire TV Cube, Fire TV Stick (2nd/3rd gen), the Nvidia Shield TV or Nvidia Shield TV Pro (2019 or newer models) or a Dolby Atmos-enabled Android TV from Sony or Philips for EAC3 downloading |
I have Fire TV stick 3rd gen and Razer 2 (with dolby atmos support). What can I help? |
My guess it maybe doing a system lib check or possibly a HWID check on the device to check atmos support. The token would rotate often. Doing there oauth login is easy its just the captcha part thats a pain |
If anyone wants to help, I have a Telegram group t.me/DolbyDL which is currently a work in progress, but I need help, @112madgamer if you can, please join, your help will be greatly appreciated |
Have you tested this with a authorization token from a device that doesn't support Dolby Atmos? Watching the token exchange traffic the only thing I can see being sent to identify the device is the device name in the client.name |
I need help working out how the Tidal server is informed that Dolby is supported. I cannot see anything obvious, so it might be encoded in something |
Thats exactly what I did. @zpoo32 wasn't able to download any Dolby Atmos content with my token. |
If anyone stumbles across this issue, if you're curious about this sort of thing, the group me and the others actively talk about this sort of stuff is at https://t.me/joinchat/JmWCRRjDhWSkmj7EiUPbXQ for Dolby Atmos Music specifically. Also, if anyone here hasn't found out, Dniel97's fork of redsea is able to download Dolby Atmos Music, and pretty much everything else Tidal provides |
For anyone dropping in here and still trying to figure out how to download Atmos stuff from Tidal: Head over to https://github.com/Dniel97/orpheusdl-tidal. |
Also, the official Telegram group for the program that module runs on (and also for all of the modules including that one as well) is https://t.me/orpheusdl (also zpoo32 is my old account, I still have access to that account but I use this one mainly now), please ignore the earlier link I sent ages ago |
TIDAL has some new content with DOLBY ATMOS processed tracks. I tried to fetch that but always gets the LOSSLESS file.
Test URL - https://tidal.com/browse/track/125155092
OR
Search for Blinding Lights and select the 3rd one.
The text was updated successfully, but these errors were encountered: