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

Method not found: Void MediaBrowser.Common.Net.HttpRequestOptions.set_LogRequest(Boolean) #15

Closed
maximtrp opened this issue Oct 16, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@maximtrp
Copy link

Thank you for this plugin! Been using it with Jellyfin 10.3.7, but after update to 10.4.0 it has stopped working. Here is the log from journalctl:

Oct 16 08:17:08 orangepipc docker[1441]: [05:17:08] [ERR] Error processing request
Oct 16 08:17:08 orangepipc docker[1441]: System.MissingMethodException: Method not found: 'Void MediaBrowser.Common.Net.HttpRequestOptions.set_LogRequest(Boolean)'.
Oct 16 08:17:08 orangepipc docker[1441]:    at Jellyfin.Plugin.Lastfm.Api.BaseLastfmApiClient.Post[TRequest,TResponse](TRequest request)
Oct 16 08:17:08 orangepipc docker[1441]:    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
Oct 16 08:17:08 orangepipc docker[1441]:    at Jellyfin.Plugin.Lastfm.Api.BaseLastfmApiClient.Post[TRequest,TResponse](TRequest request)
Oct 16 08:17:08 orangepipc docker[1441]:    at Jellyfin.Plugin.Lastfm.Api.LastfmApiClient.RequestSession(String username, String password)

Jellyfin Last.fm Plugin version is 2.0.1.

@jesseward jesseward added the bug Something isn't working label Oct 17, 2019
@jesseward
Copy link
Owner

Thanks for reporting. Likely an API change in core Jellyfin in the 10.4.0 release. Will take a look soon

@jesseward
Copy link
Owner

jesseward commented Oct 17, 2019

Looks to have been removed from HttpRequestOptions in upstream commit: jellyfin/jellyfin@5eaf546#diff-27389fa63ee57e081bdad8fc860dcb14L82

@jesseward
Copy link
Owner

Published https://github.com/jesseward/jellyfin-plugin-lastfm/releases/tag/v3.0.0

jesseward referenced this issue Oct 17, 2019
…Options.set_LogRequest

10.4.0 MediaBrowser.Common.Net.HttpRequestOptions removes LogRequest, LogRequestAsDebug and LogErrors

Bumping plugin version to 3.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants