Skip to content
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

New Api key #840

Merged
merged 2 commits into from
Feb 7, 2022
Merged

New Api key #840

merged 2 commits into from
Feb 7, 2022

Conversation

1nikolas
Copy link
Contributor

@1nikolas 1nikolas commented Feb 5, 2022

more api keys here
https://gist.github.com/charleywright/59c14e083177619d8cc9630d7f468690?permalink_comment_id=4054789#gistcomment-4054789

NOTE: haven't tested master quality as I don't have a hifi plus account but I think it should work

@talios
Copy link

talios commented Feb 5, 2022

Can connect fine using this - however still get the "Can't get the streamUrl, type is application/dash+xml" response when trying either Master or HiFi ( track isn't a master track tho ).

@1nikolas
Copy link
Contributor Author

1nikolas commented Feb 5, 2022

Can connect fine using this - however still get the "Can't get the streamUrl, type is application/dash+xml" response when trying either Master or HiFi ( track isn't a master track tho ).

make sure you use the fix api key commit. I used another api key on the first commit which logs in but throws the dash xml error. Also make sure you select the Android Auto key

@talios
Copy link

talios commented Feb 5, 2022

Yep - I used the AA key once I saw the follow up commit, no such luck .

@1nikolas
Copy link
Contributor Author

1nikolas commented Feb 5, 2022

have you selected the Android Auto api key? it should show up on the select apikey menu

image

image

image

@talios
Copy link

talios commented Feb 5, 2022

Interesting - it worked for the latest Halestorm single, but not the latest Abbath - https://listen.tidal.com/album/202593296

@1nikolas
Copy link
Contributor Author

1nikolas commented Feb 5, 2022

Interesting - it worked for the latest Halestorm single, but not the latest Abbath - https://listen.tidal.com/album/202593296

Works for me

image

@talios
Copy link

talios commented Feb 5, 2022

Odd. Wonder why it works for you and not me there. Might try resetting my settings and see if that changes anything (don't really think so tho).

@1nikolas
Copy link
Contributor Author

1nikolas commented Feb 5, 2022

Odd. Wonder why it works for you and not me there. Might try resetting my settings and see if that changes anything (don't really think so tho).

What error do you get?

@talios
Copy link

talios commented Feb 5, 2022

Enter Choice:https://listen.tidal.com/album/170546554
+----------------+--------------+
| ALBUM-PROPERTY | VALUE        |
+----------------+--------------+
| Title          | Inner Demons |
| ID             | 170546554    |
| Track Number   | 12           |
| Video Number   | 0            |
| Release Date   | 2021-01-23   |
| Version        | None         |
| Explicit       | False        |
+----------------+--------------+
[ERR] My Pride.Can't get the streamUrl, type is application/dash+xml
[ERR] She's in My Head.Can't get the streamUrl, type is application/dash+xml
[ERR] Giants.Can't get the streamUrl, type is application/dash+xml
[ERR] Inner Demons.Can't get the streamUrl, type is application/dash+xml
[ERR] A Soldier at Heart.Can't get the streamUrl, type is application/dash+xml
[ERR] Life.Can't get the streamUrl, type is application/dash+xml
[ERR] Under Fire.Can't get the streamUrl, type is application/dash+xml
[ERR] Old Man's Tale.Can't get the streamUrl, type is application/dash+xml
[ERR] I Will Be Waiting For You.Can't get the streamUrl, type is application/dash+xml
[ERR] Scream Out For Something.Can't get the streamUrl, type is application/dash+xml
[ERR] Lay Down The Hammer.Can't get the streamUrl, type is application/dash+xml
[ERR] God She's Beautiful.Can't get the streamUrl, type is application/dash+xml
====================================================

@1nikolas
Copy link
Contributor Author

1nikolas commented Feb 5, 2022

The Android Auto key shouldn't have dash streams. Maybe re-logging in with manually selecting the Android Auto key will help

@talios
Copy link

talios commented Feb 5, 2022

Sweet that worked - I guess my session token must have gotten somehow mushed - mmm, I have may not have logged out after switching to the fixed client id.

@talios
Copy link

talios commented Feb 5, 2022

Hopefully we can stream line a process of updating/rotating ids as they become expired upstream (I suspect there more based on new versions of the client apps, and not proactively shutting down TMD).

@CoopGiraffe
Copy link

New to Tidal and this tool. I'm a Windows user. How do you add an APIKey?

Side query: How do you download in FLAC codec rather than MQA?

@1nikolas
Copy link
Contributor Author

1nikolas commented Feb 6, 2022

New to Tidal and this tool. I'm a Windows user. How do you add an APIKey?

Side query: How do you download in FLAC codec rather than MQA?

there is no easy way to do that. You have to wait to the app to be updated

@CoopGiraffe
Copy link

CoopGiraffe commented Feb 6, 2022 via email

@1nikolas
Copy link
Contributor Author

1nikolas commented Feb 6, 2022

There's no easy way to do either?

To download normal flacs you have to use the apikey I found yesterday. There is no easy way to add apikeys to the app other than installing it again from source

@CoopGiraffe
Copy link

There's no easy way to do either?

To download normal flacs you have to use the apikey I found yesterday. There is no easy way to add apikeys to the app other than installing it again from source

I've modified apiKey.py to include the Android Auto APIKey
image

I've also installed the required packages stated in requirements.txt. Am I on the right track? I've rebuilt and reinstalled using setup.py (If that's the correct next step) but am at a loss as to how to run it.
image

Out of my depth but eager to learn so any direction offered would be appreciated, however, if I'm way off just say and I guess I'll just have to wait for the dev to update it.

@1nikolas
Copy link
Contributor Author

1nikolas commented Feb 6, 2022

@CoopGiraffe you just have to do

pip3 uninstall tidal-dl
cd to the folder with the setup.py (the one on the screenshot)
python setup.py build
python setup.py install
tidal-dl

Then log out by selecting a non working api key and select the correct one to log in again

@CoopGiraffe
Copy link

@CoopGiraffe you just have to do

pip3 uninstall tidal-dl
cd to the folder with the setup.py (the one on the screenshot)
python setup.py build
python setup.py install
tidal-dl

Then log out by selecting a non working api key and select the correct one to log in again

You sexy creature. Thanks a lot. Working fine.
image

@yaronzz yaronzz merged commit 1d5b8cd into yaronzz:master Feb 7, 2022
@regendier
Copy link

regendier commented Feb 7, 2022 via email

@andrejlabetia
Copy link

Any way to make this new apikey work on Mac OS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants