Jump to content

SessionInfo Error Noted


GlennNZ

Recommended Posts

GlennNZ

Hi,

 

 

My Plugin (FrontView API+) which creates a new API endpoint displaying selected information for various clients, for other software display and automation use - now has this error - apparently within the last few days.

 

Method not found: 'MediaBrowser.Model.Entities.BaseItemInfo MediaBrowser.Controller.Session.SessionInfo.get_NowPlayingItem()'.

 

Before I go blindly changing code I haven't looked at in a long time ...

 

Is this a deliberate change?  is there any documentation?

Is it a bug?

 

 

Okay.

Seems to relate to this commit 6 days ago

https://github.com/MediaBrowser/Emby/commit/df76caa3d002df6f304bdf401f2a20d2e584fa2f

&

- public BaseItemInfo NowPlayingItem { get; set; }   + public BaseItemDto NowPlayingItem { get; set; }

 

The BaseItemInfo change to BaseItemDto

 

Working around now...

 

Glenn

Edited by GlennNZ
Link to comment
Share on other sites

You'll need to update nuget and recompile. That's probably all you'll need to do as the objects are pretty much the same, thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...