xou816 / spot

Native Spotify client for the GNOME desktop
MIT License
2.28k stars 122 forks source link

Newly created playlists aren't shown in the app #713

Open Diegovsky opened 5 months ago

Diegovsky commented 5 months ago

Describe the bug See title

To Reproduce Steps to reproduce the behavior:

  1. Create playlist from the app
  2. Named it whatever you want
  3. It is not added to your playlists in the UI
  4. It exists on the official client

Expected behavior Playlists should be shown after being created

davidosdr commented 5 months ago

I have the same issue, did you solved it?

basdp commented 5 months ago

I just installed for the first time, and NO playlists load. Might be same issue. I also noticed this is with most apps that use the Spotify API. Not all though. Maybe the API changed?

Diegovsky commented 5 months ago

I just installed for the first time, and NO playlists load. Might be same issue. I also noticed this is with most apps that use the Spotify API. Not all though. Maybe the API changed?

This is funny. My app shows all playlists I have created, but I have it installed since a long time ago. If you manage to get more information about that, I would be glad to work on a fix!

Note that folders aren't shown in the app. I'm not even sure if it's something exposed by their API.

Diegovsky commented 5 months ago

I have the same issue, did you solved it?

Well, you can restart the app for now. Though, it is more of a hack than a fix.

paulocoghi commented 4 months ago

Same issue as @basdp. No playlists at all

FliiFe commented 4 months ago

I'm not sure if those two issues really have the same origin, but I'm in the group of those who can't get any playlist to load at all.

Here is some log from Spot which does suggest a change in API (or something unexpected, at least)

[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[2024-05-26T22:13:37Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 18452
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[2024-05-26T22:13:38Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 18452
potatoes1286 commented 3 months ago

I'm not sure if those two issues really have the same origin, but I'm in the group of those who can't get any playlist to load at all.

Here is some log from Spot which does suggest a change in API (or something unexpected, at least)

[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[2024-05-26T22:13:37Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 18452
[src/api/cached_client.rs:224:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:224:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 18452)
[2024-05-26T22:13:38Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 18452

This issue seems to be related to #715, but I dont know how much this is related to the other people in this thread.

Just copying what I said there:

I did some testing on the repo. It doesn't know how to handle playlists with no images, and crashes...

In the meantime while this isn't fixed, add an image or delete any playlists you have that has the default beamed eighth-note image.