jellyfin / jellyfin-plugin-playbackreporting

Playback Statistics Plugin for Jellyfin
https://jellyfin.org
GNU General Public License v3.0
67 stars 25 forks source link

Error reporting playback progress #10

Closed tyhawk closed 4 years ago

tyhawk commented 4 years ago

Describe the bug After upgrading to version 10.5.0, I'm constantly seeing this error in my logs:

[14:04:44] [ERR] Error reporting playback progress
System.NullReferenceException: Object reference not set to an instance of an object.
   at Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint._sessionManager_PlaybackProgress(Object sender, PlaybackProgressEventArgs e)
   at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
   at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)

System (please complete the following information):

To Reproduce The logs are flooded with this error, even when no one is watching any media.

Expected behavior This error was not in the logs before the update.

Logs As pasted above.

Additional context Within the Playback Reporting plugin, I still see who watched what. In the dashboard, I can also see who started what media and when. It also shows up in the dashboard (activity stream). During streaming I can even see their progress in the dashboard, so to me, the error makes no sense. Everything seems to be working as before the update from 10.4.3 to 10.5.0.

JustAMan commented 4 years ago

This seems to be a plugin problem. @jellyfin/backend ideas?

crobibero commented 4 years ago

Does this still happen with v6.0.0 of the plugin?

tyhawk commented 4 years ago

I've checked my logs and grep hasn't found a single instance of this error in the last 3 days. So it seems to be fixed in version 6.0.0.