-
Notifications
You must be signed in to change notification settings - Fork 27
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
Can't login to tidal #43
Comments
Can confirm. The full error was:
|
yaronzz/Tidal-Media-Downloader#797 (comment) , this helps if you change the tidal config api object acordingly ... but not sure for how long |
@Glog78 Thanks for letting me know about this. I can confirm the issue. I have created an issue at python-tidal |
i can confirm the same problem too, thanks |
It looks like python-tidal is not maintained any longer. At least, I have not seen much activity from the maintainer. Maybe it is time to switch to pyopenTIDAL? |
if you want a small bugfix which makes it work again , i have one but i guess you don't want those keys in your codebase so maybe a switch would make sense. Edit -> additional Information -> pyopenTIDAL isn't packaged in for example arch right now , which might be troublesome for the people who want to package mopidy-tidal |
@Glog78 Exactly, I would like to avoid these keys in the codebase. A way forward could be to provide these keys in the mopidy config. You bring up a good point wrt. pyopenTIDAL. It would be nice to talk to the developer about packaging it/adding it to pypi. |
For the moment it would not be a bad idea to have 2 config lines more where people could add a client id and a client secret. |
I agree, we do a temporary fix to be able to make it work again shortly, what exactly would be the changes to be made? |
@Glog78 At the moment, python-tidal does not provide a way to set these variables externally. I am not aware of a way to override the client_id and client_secret class variables from outside python-tidal. Did you manage to find an easy way that does not require modifying python-tidal sources? In that case, feel free to share the PR (without the keys). |
censored << works like a charm ;) | backend.py sorry i did just hack my way around the issue , i would need to get much deeper into mopidy to provide a clean pr ... aka understand how i best get the settings into this part of the code. |
<*** pr is done ***> no need for an outdated patch |
pull request is up |
@Glog78 Woah, that was quick! I will take a look ASAP |
Hi ! Now mopidy tidal authenticates again, but I cannot play any audio files ! journalctl -u mopidy | tail -5 Jan 19 17:34:54 test-c mopidy[685]: obj, end = self.raw_decode(s, idx=_w(s, 0).end()) Can you help me ? |
@chicco64 wait a moment ... the pr is under review ;) once the pr is done you can update and just use in the config section of tidal in /etc/mopidy.conf or which other config file you use |
I await the final instructions, thanks |
@chicco64 also i advice you to read this yaronzz/Tidal-Media-Downloader#797 carefully ... , also remember that your authorization is buffered and you might want to delete it first before you try a new client_secret / client_id. If i am right and you did everything correctly the client_id / client_secret might not be the right one for your subscription. |
I also tried to change the setting from quality = lossless to low but the player doesn't work journalctl -u mopidy | tail -5 After inserting the new credentials as you indicated in the "gif photo" obviously I had to recreate the authorization json code. my subscription is correct it always worked until yesterday |
@chicco64 it's not your subscription ... but there are multiple client id / client secret combinations with different possibilities. The client id / client secret pair mentioned in the other project seems to only work with people having a master subscription. My guess is your subscription is for looseless so you might need to use a different client id / client secret pair. I am not sure if it works but i would remove ~/.config/tidal-oauth.json and try out the id / secret pair very openly mention in this project -> https://github.com/Fokka-Engineering/libopenTIDAL :) PS -> i tested on my end but for me this one doesn't work anymore |
tidalapi: Login failed: {"status":401,"error":"invalid_client","error_description":"Client with token *************** not found","sub_status":1005}
401 Client Error: Unauthorized for url: https://auth.tidal.com/v1/oauth2/device_authorization
thats happening since today :(
The text was updated successfully, but these errors were encountered: