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 Frieday Msuic playlist does not open #311

Closed
EsmailELBoBDev2 opened this issue Sep 17, 2021 · 9 comments · Fixed by #319
Closed

New Frieday Msuic playlist does not open #311

EsmailELBoBDev2 opened this issue Sep 17, 2021 · 9 comments · Fixed by #319
Labels
bug Something isn't working
Projects

Comments

@EsmailELBoBDev2
Copy link

Describe the bug
each time i try to open playlist i get error message

To Reproduce
Steps to reproduce the behavior:

  1. open spot
  2. click on playlists
  3. go to new friday music playlist

Expected behavior
the playlist shows inside the app

Screenshots
image

General information:

  • Distribution: Arch linux
  • Installation method [e. g. built from source, installed from Flathub...]: AUR
  • Version [e.g. 0.1.0]: 0.2.0
  • Device used [e. g. desktop, phone...]: desktop

Stack trace:

[src/api/cached_client.rs:204] e = Error("data did not match any variant of untagged enum FailibleTrackItem", line: 1976, column: 5)
Error: ParseError(Error("data did not match any variant of untagged enum FailibleTrackItem", line: 1976, column: 5))
flatpak run --env=RUST_BACKTRACE=full dev.alextren.Spot

Additional context
Add any other context about the problem here.

@EsmailELBoBDev2 EsmailELBoBDev2 added the bug Something isn't working label Sep 17, 2021
@xou816
Copy link
Owner

xou816 commented Sep 17, 2021

Hi! Thanks for the report! Would you be able to identify the relevant playlist cache file in .cache/spot/net and share it? Or is there a way to copy that playlist so it can be shared publicly maybe? Thanks!

(I need to improve logging :( )

@EsmailELBoBDev2
Copy link
Author

the playlist is public made by spotify https://open.spotify.com/playlist/37i9dQZF1DX4JAvHpjipBk

@EsmailELBoBDev2
Copy link
Author

playlist_37i9dQZF1DX4JAvHpjipBk.pdf
(rename file back to .json thanks to github upload limit....)

@EsmailELBoBDev2
Copy link
Author

Also i have noticed that when i changed my profile login data, and got back to spot so i can logout and login. the logout button disappears and the app panic (just say wrong credentials) and no way to rest it so i can login back.

so make spot save data in a file even if it's random, just to let spot knows when i deleted them so i can re-login or something

@ondras12345
Copy link
Contributor

See #129
Delete "Spotify Credentials" in Seahorse.

@xou816
Copy link
Owner

xou816 commented Sep 19, 2021

Forgot about #129 😮
Thanks for the JSON I'll have a closer look tomorrow!

@EsmailELBoBDev2
Copy link
Author

@ondras12345 i do not have seahorse...
image

@xou816 Your welcome :)

@ondras12345
Copy link
Contributor

Try secret-tool search --all spot_credentials yes. See https://wiki.archlinux.org/title/GNOME/Keyring
If you find a secret named "Spotify Credentials", clear it. See man secret-tool.

@EsmailELBoBDev2
Copy link
Author

oh, new thing learned today...
I cleared it thanks for the tip (for future me, the command is secret-tool clear spot_credentials yes)

@xou816 xou816 added this to To do in Spot Sep 20, 2021
@xou816 xou816 moved this from To do to In progress in Spot Sep 22, 2021
xou816 added a commit that referenced this issue Sep 22, 2021
@xou816 xou816 linked a pull request Sep 22, 2021 that will close this issue
@xou816 xou816 moved this from In progress to Testing in Spot Sep 22, 2021
xou816 added a commit that referenced this issue Sep 22, 2021
xou816 added a commit that referenced this issue Sep 23, 2021
@xou816 xou816 moved this from Testing to Translation pending in Spot Sep 23, 2021
@xou816 xou816 moved this from Translation pending to Done in Spot Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Spot
Done
Development

Successfully merging a pull request may close this issue.

3 participants