jesseward / jellyfin-plugin-lastfm

LastFM plugin for the Jellyfin media system. Fork of the Emby Last.FM plug-in
182 stars 12 forks source link

Plugin not working with Jellyfin 10.3.7 #10

Closed cfredericksen closed 5 years ago

cfredericksen commented 5 years ago

Error after upgrading Jellyfin Docker image.

I tried removing and reinstalling the plugin and same error. Worked great on previous Jellyfin version.

[09:00:54] [ERR] Error in last.fm
System.MissingMethodException: Method not found: 'Void MediaBrowser.Common.Net.HttpRequestOptions.set_EnableHttpCompression(Boolean)'.
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetAlbumResult(String artist, String album, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetAlbumResult(String artist, String album, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetAlbumResult(AlbumInfo item, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetMetadata(AlbumInfo id, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
[09:00:54] [ERR] Error in last.fm
System.MissingMethodException: Method not found: 'Void MediaBrowser.Common.Net.HttpRequestOptions.set_EnableHttpCompression(Boolean)'.
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetAlbumResult(String musicbraizId, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetAlbumResult(String musicbraizId, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetAlbumResult(AlbumInfo item, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetMetadata(AlbumInfo id, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
[09:00:55] [ERR] Error in last.fm
System.MissingMethodException: Method not found: 'Void MediaBrowser.Common.Net.HttpRequestOptions.set_EnableHttpCompression(Boolean)'.
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetAlbumResult(String artist, String album, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetAlbumResult(String artist, String album, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetAlbumResult(AlbumInfo item, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Lastfm.Providers.LastfmAlbumProvider.GetMetadata(AlbumInfo id, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
jesseward commented 5 years ago

thanks for reporting. Likely an API change in Jellyfin core.

Will take a look this week

jesseward commented 5 years ago

Fixed in PR https://github.com/jesseward/jellyfin-plugin-lastfm/pull/11

Thanks @majora2007