mirror of
https://github.com/misiektoja/spotify_profile_monitor.git
synced 2026-04-25 23:15:57 +03:00
[GH-ISSUE #36] 404 during each processing of playlists #22
Labels
No labels
Stale
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify_profile_monitor#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tomballgithub on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/misiektoja/spotify_profile_monitor/issues/36
I am seeing this with Cookie mode:
* Error while processing playlist [ https://open.spotify.com/playlist/37i9dQZF1DX4E3UdUs7fUx?si=1 ], skipping for now: 404 Client Error: Not Found for url: https://api.spotify.com/v1/playlists/37i9dQZF1DX4E3UdUs7fUx?fields=name,description,owner,followers,external_urls,tracks.total,imagesanytime all playlists are processed for changes. This includes at startup and periodically.
It looks like the problem is that
spotify_process_public_playlists()callsspotify_get_playlist_info()with presumablyeffective_get_tracks = Falsebecause this is a Spotify-curated playlist.get_tracks leads to these urls:
and URL1 is the offender causing the 404.
@misiektoja commented on GitHub (Feb 15, 2026):
Yes, it is the same in both cookie and client modes. It appears to be a result of the changes recently announced by Spotify. This means we can no longer fetch details of Spotify-curated playlists via the
/v1/playlistsendpoint.I added graceful handling for such playlists. They are marked as
[ RESTRICTED ]and we can now only track the addition or removal of these playlists and changes to their names and likes.@tomballgithub commented on GitHub (Feb 16, 2026):
It's working. The duplicate 'ignored' and 'restricted' may be unnecessary. Given that all you are looking at is basic stuff, the 'ignore' feather for this no longer seems necessary, except that it's work to remove it. This was added originally because the number of likes was constantly triggering updates.
@misiektoja commented on GitHub (Feb 16, 2026):
With the current code, it can still report the changed number of likes for those playlists if
IGNORE_SPOTIFY_PLAYLISTSis set toFalse.[ IGNORED ]is only used to indicate the ignored playlists, which can also come viaPLAYLISTS_TO_SKIP_FILE, so I think it still brings some value.[ RESTRICTED ]only indicates we cannot grab all the details, like the number of songs, specific tracks and creation/update date.@tomballgithub commented on GitHub (Feb 16, 2026):
Working in the dev build with fix