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

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

Open
lukaslabryszewski opened this issue May 17, 2021 · 3 comments

Comments

@lukaslabryszewski
Copy link
Contributor

lukaslabryszewski commented May 17, 2021

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
@ankenyr
Copy link
Owner

ankenyr commented May 17, 2021

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
Copy link
Owner

ankenyr commented Jun 8, 2021

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.

@lukaslabryszewski
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants