blackskyel last edited by
How do you get the Token API in Linux?
There are some listed here, but last time I tried only 2 of them worked and I was not able to play FLAC at all.
This is how I've finally managed to get my own token and log in successfully with it without using sniffing apps :
1 - You'll need to install the android app, if you don't have an android phone , maybe you can use an emulator or one of the options for running android apps in a computer.
2 - After you login in the android app, you'll have to navigate to the folder where the app stores the files with the token which are in: /Android/data/com.aspiro.tidal/cache/okhttp
Copy all of the files to your computer.
3 - In a Linux terminal, cd to the folder where those files are in your computer and execute this command: grep -r "X-Tidal-Token"
Your token will be revealed
4 - Go to the Tidal settings in Strawberry, check the option 'Use OAuth' and copy the token in the ClientID. Click login and you will be redirected to the browser where you can accept the access to your account and that's it!
@ruben2rl Thanks for the instructions, works like charm.
JohnOShock last edited by JohnOShock
Yep, that android thing did the trick. Enjoying TIDAL through Strawberry right now, like a pig in s... . Beautiful! I love Strawberry... So cool that the developers thought of this. Thanks Ruben2rl for laying out these steps
It doesn't work for me, I get
Authentication failure: (401) (3009).
@dimqua Are you sure you checked the OAuth checkbox?
I used https://github.com/FUFRUnidentifiedFLACRipper/python-tidal-async-oauth2 to extract the client id.
I tried this, Chrome says that the login is successful, but Strawberry still says it isnt. How does Strawberry get the information from Chrome?
It looks like the issue is a failure of xdg-open. Not sure where the bug is, but I run Strawberry with the response URL manually and it signed in. Now the next question.
Does Strawberry support bit-perfect format needed for hardware MQA decoding? Its MQA that I'm after. I want my Dragonfly to turn purple!
It does not support MQA, MQA is proprietary format and it's not possible for an open source music player to support that.
@jonas Not possible is incorrect. Illegal possibly. You can't play a DVD without a special license, but open source software does it just fine. But thanks for the info. It looks like I'm back to Android.
avantbored last edited by
Hiya. Total noob here. How do I use this to extract the necessary info for Oauth on Strawberry?
Im kinda new to this aswell, on Linuxlite and gonna ditch Clementine no matter what.
But what do i do to get the auth, im not totally noob but this is a paygrade above me
Suveräna inställningar från start
Hello, I use the OAth method its working fine. Still in Strawberry it says "Could not determine the stream type"
Can you help?
Most likely the client ID you used uses encrypted streams.
Hello, I installed in Odroid-N2 which is with ARM CPU and works excellently with a Khadas Tone1 DAC. The Tone 2 Pro version appeared that decrypts MQA hardware, wouldn't it be possible to play with Strawberry and MQA?
@uudruid74 said in Tidal account:
Strawberry with the response URL
Hey there, I just created this account to ask this. How did you manage to do this: " I run Strawberry with the response URL manually and it signed in" ?
I'm having a similar problem than yours. I'm running strawberry in archlinux, browser is firefox.
In settings, for stream URL method I see three options: streamurl, urlpostpaywall, playbackinfopostpaywall. Only last method works for me. Why?
Maybe due I have just Premium (non-HiFi) Tidal account?
Hi all, after following ruben2rl's guide I get a successful login in the settings, but as soon as I try playing back any song using the API I get:
Asset is not ready for playback (401) (4005)
The token I used is in this form:
[hex code redacted]:X-Tidal-Token: [likely token string redacted]
Am I supposed to use the token string after X-Tidal-Token? Or does the hex string that precedes it matter too? Also, how do I get a bit more info on the API failure? Any feedback appreciated. Thanks!
PS: Do I understand from this Github issue that: "Everything works through the API using OAuth except for streaming. The problem is that the streams are encrypted. So unless someone can fix that we will eventually just have to remove the streaming and just use Tidal for album covers." - so no Tidal in essence? The login works in theory but that's about it?
I figured out how to get the Oauth sent to Strawberry
i installed strawberry as usual and got the client ID from fiddler
then i copied all of strawberry files to the tidal location and renamed strawberry.exe to TIDAL.exe then ran the app installed in its original location, ran oauth and redirected to chrome and im in