-
Notifications
You must be signed in to change notification settings - Fork 3
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
Can not import user playlists #46
Comments
Oh boy, Spotify changed its API again, restricting access to quite a lot of stuff (for reference: https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api and JohnnyCrazy/SpotifyAPI-NET#1012). A fix for that exception is included in the new plugin release (1.11.0.0), please try again with that version. |
…all playlists anymore, see #46 non user created playlists are still present in the response but are null
It appears to be working. It needs now a few hours to run, but the initial start was successful, so I'm hopeful. |
It works, and it was much faster, as you mentioned, because it ignores Spotify's created playlists. This is a bit disappointing, but I can manage since I can copy them to my own playlists. |
Interesting, maybe they scrape Spotify without using the API |
Ah, I'll take a look if I can find out what they do |
good afternoon. I didn't quite get it. is the plugin currently unable to update playlist data from spotify? Playlists that were from spotify have not been updated (plugins of the latest version). It is sad. |
The Plugin supports all playlists except those from Spotify. If you want to use a Spotify playlist, you'll need to convert it to your own playlist first. I need to correct my earlier statement: Lidarr does not work with Spotify playlists either. Adding just one Spotify playlist will cause an error, and pressing another playlist will ignore the Spotify one. So, Lidarr has the same issue. I apologize for providing incorrect information. |
It was convenient when the playlists were from spotify and they were updated periodically. I assume that the converted playlists will be static. And they won't be updated like spotify playlists. They will need to be updated manually. |
Correct. For the time being this is necessary, let's hope Spotify change their mind on how much they make inaccessible or maybe I can find another way to get the data. |
Ah, no problem, what a shame though that is doesn't work. There might be apps that are still working because in the Spotify announcement it seemed like some bigger apps could get at least some kind of grace period. |
Description
When the scheduled task for importing Spotify playlists runs, it encounters a NullReferenceException and fails. This issue started occurring recently, and it was working without any problems before. The authorization for the Spotify API is correctly configured and enabled. My username is also right.
Configuration:
User Setup: A specific user is configured to import all their Spotify playlists.
Steps to Reproduce:
Logs
Log Entries
System.NullReferenceException: Object reference not set to an instance of an object.
at Viperinius.Plugin.SpotifyImport.Spotify.SpotifyPlaylistProvider.GetUserPlaylistsInfo(TargetUserConfiguration target, Nullable
1 cancellationToken) at Viperinius.Plugin.SpotifyImport.Spotify.SpotifyPlaylistProvider.GetUserPlaylistsInfo(TargetUserConfiguration target, Nullable
1 cancellationToken)at Viperinius.Plugin.SpotifyImport.GenericPlaylistProvider.GetUserPlaylistIds(TargetUserConfiguration target, Nullable
1 cancellationToken) at Viperinius.Plugin.SpotifyImport.Tasks.SpotifyImportTask.ExecuteAsync(IProgress
1 progress, CancellationToken cancellationToken)at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
The text was updated successfully, but these errors were encountered: