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

I can't download #57

Open
pintyoke opened this issue Mar 9, 2020 · 5 comments
Open

I can't download #57

pintyoke opened this issue Mar 9, 2020 · 5 comments

Comments

@pintyoke
Copy link

pintyoke commented Mar 9, 2020

I could download it before yesterday, not today. :(

" Asset is not ready for playback (HTTP 401)
Stream could not be acquired
Skipping track..."

@pintyoke
Copy link
Author

pintyoke commented Mar 9, 2020

Change the token hash in tidal_api.py

old token = '4zx46pyr9o8qZNRw'
new token = 'u5qPNNYIbD0S0o36MrAiFZ56K6qMCrCmYPzZuTnV'

@moonraker2
Copy link

moonraker2 commented Mar 9, 2020

tidal_api.zip

@pintyoke
I tried replacing the token string you mention with the new value everywhere it showed up in tidal_api.py (3 occurrences) but in my case this does not work, I now get syntax error:

Traceback (most recent call last):
File "redsea.py", line 7, in
from redsea.mediadownloader import MediaDownloader
File "/home/soren/RedSea/redsea/mediadownloader.py", line 12, in
from .tidal_api import TidalApi, TidalRequestError
File "/home/soren/RedSea/redsea/tidal_api.py", line 97
self.unique_id = str(uuid.uuid4()).replace('-', '')[16:]f
^
SyntaxError: invalid syntax

Did you replace it everywhere or no?

Attached my copy of the tidal_api.py file for reference.

@moonraker2
Copy link

Tried deleting the trailing "f" in line as referred above, but then I'm just back to the error with which it started out:

Grabbing stream URL...
4005: Asset is not ready for playback (HTTP 401)
Stream could not be acquired
Halting on track due to insufficient quality

@moonraker2
Copy link

I created a new auth session after making above changes, by doing "python3 redsea.py auth add" and now it seems to be working again.

@stephanlensky
Copy link

Change the token hash in tidal_api.py

old token = '4zx46pyr9o8qZNRw'
new token = 'u5qPNNYIbD0S0o36MrAiFZ56K6qMCrCmYPzZuTnV'

@pintyoke Where did you find the new token? just out of curiosity :)

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

No branches or pull requests

3 participants