-
Notifications
You must be signed in to change notification settings - Fork 111
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
HI_RES_LOSSLESS stream is available even when using Oauth authentication #277
Comments
Hello, I just tried HI_RES_LOSSLESS and HI_RES over an existing oauth2 authentication token, but it does not work for me. The media_url apparently is not avaialable. Only "LOSSLESS" (and possibly mp3 I suppose) works with oauth2. Maybe the library needs to reflect the changes you have discovered? |
@GioF71 Have you tried re-authentication with Oauth? I am definitely using Oauth right now (I just reauthenticated) and I am presented with a HI_RES_LOSSLESS file. I have only tested it with python-tidal directly. Saving the .MPD file and playing it with ffplay gives me a You can try verifying this with the example/pkce_example.py and reauthenticating with do_pkce=False EDIT: Sorry, you need to use the stream() not the direct URL for this to work. |
Hello, I will definitely try. Does this work in the current release 0.7.6 or in the current master branch? |
I've been using the current master branch but I do not see why it shouldn't work for 0.7.6 |
perfect! will try asap, thank you |
Hello, it worked perfectly. It has been the occasion for removing old code that was loading the tokens from env variables. It was a mess and had become completely useless. |
I've added a separate issue for this. Feel free to add details describing the feature request. PRs are of course always welcome, otherwise I will try to see if I get time to add the feature to v0.7.7 :) |
I used the example code which is examples/simple.py, And when i try to get hi_res_loseless i get |
You need to use the stream() not the direct URL for this to work with hi_res_lossless |
It appears that Oauth authentication is enough for getting access to HI_RES_LOSSLESS audio. Perhaps this occurred after the recent tidal subscription changes.
If this is indeed the case, documentation should be updated accordingly, as PKCE login does not appear to be necessary anymore to get full HI_RES_LOSSLESS quality.
The text was updated successfully, but these errors were encountered: