jellyfin-smartplaylist-plugin icon indicating copy to clipboard operation
jellyfin-smartplaylist-plugin copied to clipboard

Error: MediaBrowser.Controller.Playlists.IPlaylistManager.AddToPlaylist() Not Found

Open lukaslabryszewski opened this issue 3 years ago • 3 comments

This plugin is not working for me. I've setup json files as specified but it looks like the plugin calls a method that doesn't exist.

Server: MacBook Pro (Catalina) Version: 10.7.1 Operating System: Darwin Architecture: X64

Log:

[2021-05-17 23:35:49.211 +07:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "RefreshAllPlaylists"
[2021-05-17 23:35:49.211 +07:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Refresh all SmartPlaylists"
[2021-05-17 23:35:49.211 +07:00] [ERR] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error
System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Playlists.IPlaylistManager.AddToPlaylist(System.String, System.Collections.Generic.ICollection`1<System.Guid>, System.Guid)'.
   at Jellyfin.Plugin.SmartPlaylist.ScheduleTasks.RefreshAllPlaylists.Execute(CancellationToken cancellationToken, IProgress`1 progress)
   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[2021-05-17 23:35:49.215 +07:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Refresh all SmartPlaylists" Failed after 0 minute(s) and 0 seconds

lukaslabryszewski avatar May 17 '21 16:05 lukaslabryszewski

Hi Lukas, Thanks for your interest in the plugin. I have been having issues with it myself and have been working on fixing it and my other plugin for the latest version. It seems that a bunch of things have changed internal to Jellyfin since I last worked on these.

ankenyr avatar May 17 '21 17:05 ankenyr

Hi Lukas, I was unable to replicate this with the latest. Are you still having issues with this? You are on jellyfin 10.7.1? I am currently on 10.7.5 myself.

ankenyr avatar Jun 08 '21 17:06 ankenyr

Hi Rob,

I updated Jellyfin to 10.7.5, deleted old logs, restarted it and still getting the exact same error.

[2021-06-11 20:05:34.805 +07:00] [INF] [1] Main: Jellyfin version: "10.7.5"
[2021-06-11 20:05:34.841 +07:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /Users/Lukas/.local/share/jellyfin/log]"]
[2021-06-11 20:05:34.844 +07:00] [INF] [1] Main: Arguments: ["/Applications/Jellyfin.app/Contents/MacOS/jellyfin.dll", "--webdir", "/Applications/Jellyfin.app/Contents/Resources/jellyfin-web"]
[2021-06-11 20:05:34.859 +07:00] [INF] [1] Main: Operating system: "macOS"
[2021-06-11 20:05:34.859 +07:00] [INF] [1] Main: Architecture: X64
[2021-06-11 20:05:34.859 +07:00] [INF] [1] Main: 64-Bit Process: True
[2021-06-11 20:05:34.860 +07:00] [INF] [1] Main: User Interactive: True
[2021-06-11 20:05:34.860 +07:00] [INF] [1] Main: Processor count: 16
[2021-06-11 20:05:34.860 +07:00] [INF] [1] Main: Program data path: "/Users/Lukas/.local/share/jellyfin"
[2021-06-11 20:05:34.860 +07:00] [INF] [1] Main: Web resources path: "/Applications/Jellyfin.app/Contents/Resources/jellyfin-web"
[2021-06-11 20:05:34.860 +07:00] [INF] [1] Main: Application directory: "/Applications/Jellyfin.app/Contents/MacOS/"
[2021-06-11 20:05:35.100 +07:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/Users/Lukas/.cache/jellyfin"
...
[2021-06-11 20:05:43.470 +07:00] [INF] [15] Emby.Server.Implementations.ScheduledTasks.TaskManager: "StartupTrigger" fired for task: "Refresh all SmartPlaylists"
[2021-06-11 20:05:43.470 +07:00] [INF] [15] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "RefreshAllPlaylists"
[2021-06-11 20:05:43.470 +07:00] [INF] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Refresh all SmartPlaylists"
[2021-06-11 20:05:43.471 +07:00] [ERR] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error
System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Playlists.IPlaylistManager.AddToPlaylist(System.String, System.Collections.Generic.ICollection`1<System.Guid>, System.Guid)'.
   at Jellyfin.Plugin.SmartPlaylist.ScheduleTasks.RefreshAllPlaylists.Execute(CancellationToken cancellationToken, IProgress`1 progress)
   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[2021-06-11 20:05:43.477 +07:00] [INF] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Refresh all SmartPlaylists" Failed after 0 minute(s) and 0 seconds

lukaslabryszewski avatar Jun 11 '21 13:06 lukaslabryszewski