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
[BUG] Device Authorizatoion Failed #797
Comments
Just tried this pre-release and get the same thing - interestingly, after logging out I was able to log back in - but then gets media-type errors being reported.
is what I get after managing to login. |
I just update the tidal-dl and find same problem. Please advise. |
Looks like we need another client ID/secret from the Fire stick! I'm wondering if there is a better way to do this auth... |
Yup, they removed EDIT: I've tried my fire tv stick, there is no tidal app for it (I'm in uk, idk if it's just in other regions) |
hello from Germany, i have a fire tv stick. can i help in any way? |
try this using this in apiKey.py {
'clientId': '7m7Ap0JC9j1cOM3n',
'clientSecret': 'vRAdA108tlvkJpTsGZS8rGZ7xTlbJ0qaZ2K9saEzsgY='
} |
this is the same key as in your source code. it works. i can log on to the website. my problem is rather that I use ompd.pl. |
I have updated with a new clientId but receive this error msg: |
It works, however seems like this credential is for MQA download, else error option. Thx anyway In my case, option 1 MQA works just fine, 0 and 2 not working. I need quality lower than mqa coz the album i wanna download isnt available in mqa |
By the way, how do I obtain this? Do I need to resort to sniffing application? |
As I documented, this will provide one file for Anyway, using the desktop app key (ReCaptcha V3 protected, grab it using these instructions) to provide lossless and the above key for mqa you can get a high quality file for any song. Desktop app files are encrypted, but that is supported already |
|
i was able to get it working by selecting apikey 1 then registering the device. Edit: I was only able to authenticate, however this did not allow me to download any files. |
morguldir/python-tidal@50f1afc appears to introduce a new client secret (with some obfuscation: morguldir/python-tidal@74adfe1) |
Same here unfortunately |
The APIKey 1 only can download mqa/master tracks and you need a TIDAL HiFi Plus plan. |
I have the HiFi plus plan.
…On Wed, Jan 19, 2022 at 8:01 PM ZOTTA ***@***.***> wrote:
Same here unfortunately
The APIKey *1* only can download mqa/master tracks and you need a *TIDAL
HiFi Plus* plan.
—
Reply to this email directly, view it on GitHub
<#797 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADU4SOK7KKAQU276XKSE2LDUW5NHXANCNFSM5MG2Z7ZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
--
Sizzahandz
CEO Crooklyn Clan Inc.
www.crooklynclan.net
|
The other link posted by @ilikepeaches gives |
Nice - and this seems to work for both MQA and non-MQA.
***@***.***
… <morguldir/python-tidal@50f1afc>
appears to introduce a new client secret
Works, here is the client ID and secret
Message ID: ***@***.***
com>
|
Working with this ID & secret |
in my case it doesn't seem to work. I set up the apikey file like this. @charleywright
|
These credentials (put in apiKey.py for the first array) allow me to log in but not to download anything in HiFi, does anyone knows what I did wrong please ?
Same as you |
Hi @Ripper2909 , updating the .py files doesn't work you need to install tidal-dl for development (https://github.com/yaronzz/Tidal-Media-Downloader) - last section of readme. @charleywright huge kudos for this. Do you think there's a way to obtain my own iOS app client_id (I also have Muso device with Tidal connect) so I won't get locked out in the future from using this service? PS |
Authorization problem is fixed in tidal-dl v2022.01.21.1. Hint: first select a valid APIkey. |
Which key is right for you? You’re just writing but not showing anything |
There are literally only two options that show valid when you select option 5. Pick one |
All appointed only on the computer and I need it on android |
Thanks auth is ok with option 5 and 3 |
The same for me? Any solution? |
It seems Tidal are monitoring this thread or scanning source, the key I posted 12 days ago here has been removed. Currently only MQA is downloadable using
|
|
Probably correct.. or they have moved to a rotating API key and secret for Fire Sticks etc.. If that's the case then I'll probably discontinue my Tidal subscription.. I can just rip the CD's I own myself.. they were just saving me the trouble.. |
The fix would be to actually support MPEG-DASH playback, which isn't that difficult as it seems, though it would require using ffmpeg to download the audio if you want to have that implemented as painlessly as possible. Here's a working proof of concept that I wrote for https://github.com/morguldir/python-tidal:
|
yes that works, it's not a major task to have ffmpeg either, please do it!
…On Thu, Feb 3, 2022 at 3:10 PM David Sn ***@***.***> wrote:
The fix would be to actually support MPEG-DASH, which isn't that difficult
as it seems, though it would require using ffmpeg to download the audio if
you want to have that implemented as painlessly as possible.
Here's a working proof of concept that I wrote for
https://github.com/morguldir/python-tidal:
# download MPEG-DASH manifest
params = {
"playbackmode": "STREAM",
"audioquality" : track.session.config.quality,
"assetpresentation": "FULL",
}
request = track.requests.request("GET", "tracks/%s/playbackinfopostpaywall" % track.id, params)
manifest = base64.b64decode(request.json()['manifest'])
# stream from manifest using ffmpeg
p = subprocess.Popen(['ffmpeg', '-f', 'dash', '-i', 'pipe:', '-c', 'copy', file_path], stdin=subprocess.PIPE)
p.communicate(input=manifest)
# check if ffmpeg exited without error
if p.returncode != 0:
raise FLACNoHeaderError()
—
Reply to this email directly, view it on GitHub
<#797 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADU4SOO4OLSDCINKDEV6TJLUZLOLZANCNFSM5MG2Z7ZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
--
Sizzahandz
CEO Crooklyn Clan Inc.
www.crooklynclan.net
|
Hi, |
Yes, but that won't fix the fact that Tidal moved on to MPEG-DASH playback and desktop clients don't use direct unencrypted files.
sob., 5 lut 2022, 21:39 użytkownik Artur Sierżant ***@***.***>
napisał:
… Hi,
I think that the best way is to get your own client_id and client_secret.
I tried to briefly describe it here:
https://ompd.pl/getting-tidal-login-data. Maybe it will help someone.
—
Reply to this email directly, view it on GitHub
<#797 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGZZWB6XLLPABW2KTFIRB4LUZWDHBANCNFSM5MG2Z7ZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
It helped me! Took a while to set up, but just tried it and was able to download no problem. Thanks! |
I’d try it, but I do not have a Fire Stick… :-/ |
I added a script and tutorial on how to extract the keys from the android APK here. I'm going to work on an automated program that tests stream quality as well soon, but I linked a script in the comments of that gist that works too |
Just tried it.. however tidal appears to have changed their APK packaging and the client id and secret or no longer stored in string files.. :-/ |
This issue has been automatically marked as stale because it has not had recent activity. |
TIDAL-DL
<!-i tidal-dl -->
Version
Bug description
Device Authorizatoion Failed
Screenshot
The text was updated successfully, but these errors were encountered: