Posts: 428
Joined: Oct 2008
Reputation:
18
2015-02-25, 19:27
(This post was last modified: 2015-02-25, 20:55 by xnappo.)
Montellese,
Can you provide an example of how the artwork is encoded in a single field?
I imagine it is something like:
banner:banner.jpg,poster:poster.jpg ..?
Thanks,
xnappo
Posts: 428
Joined: Oct 2008
Reputation:
18
Okay - I see. Thanks a lot.
Posts: 114
Joined: Sep 2013
Reputation:
9
lukemb
Senior Member
Posts: 114
Thanks. The reason I asked him to request an example is because that's the best way to reduce the amount of question and answering we'll have with you. For example, for the images, my first question was, what formats and sizes do you want, e.g. should i just render original image info, or do you want url's for different formats like jpg, png, etc to give the renderer options, as well as different size options. Things of that nature.
Posts: 428
Joined: Oct 2008
Reputation:
18
2015-02-26, 23:31
(This post was last modified: 2015-02-26, 23:32 by xnappo.)
Montellese FYI - I am one of the developers of the Kodi MediaBrowser Addon - so I am familiar with the Kodi Python API and the MediaBrowser API. Luke is the primary developer of the MediaBrowser server - so he has the upnp expertise.
Thanks for your comments - the playbackCount comment was in relation to the MediaBrowser API translation as it only has the concept of watched/not watched.
xnappo
Posts: 428
Joined: Oct 2008
Reputation:
18
Montellese, thanks for the info.
Steve1977 - we will have to see where things go. It would be nice if the expanded data made its way back to the upnp spec.
Posts: 428
Joined: Oct 2008
Reputation:
18
Hi Montellese,
Does refID get translated into something I can get at from xbmc.getInfoLabel('ListItem.foo')?
Thanks,
xnappo
Posts: 5,184
Joined: Jan 2009
Reputation:
131
refID is a UPnP specific property. You should really take a look at the UPnP specification. That way you get answers directly without having to wait for me to respond.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 428
Joined: Oct 2008
Reputation:
18
2015-02-28, 20:31
(This post was last modified: 2015-02-28, 20:40 by xnappo.)
Right now, our AddOn uses the MediaBrowser API to create listitems in the normal addon fashion. One of the listitem properties we set is the MediaBrowser item id. A background service monitors the currently selected list item, and determines appropriate item backdrop rotation based upon that.
MediaBrowser sets the uPnP ID field with the itemID on the MediaBrowser server. If you are making the ID available in the listitem, I can use the same code to provide rotating art when browsing through UPnP instead of the AddOn.
I should mention I asked Luke is MediaBrowser was setting the MB ID - and he said 'yes the regular uPnP id'. After looking at the spec I see there is 'refID' and 'ID'. In your code I see only refID being used - so perhaps the ID I would need isn't available.
xnappo