Jump to content

Problem with Emby Addon under Kodi 18.9


Pimp1310

Recommended Posts

Pimp1310

Hello,

I use the emby addon under Kodi 18.9.

I noticed that when I use the emby addon the json rpc API doesn't work properly.

I noticed it while programming a widget for Openhab3.

and then I made a few Json calls, once with the normal Kodi database without Emby and once with.

Here are the results:

 

my Api Call 

 

http://192.168.0.166:8023/jsonrpc?request={"jsonrpc": "2.0", "method": "Player.GetItem", "params": { "properties": ["title",  "season", "episode", "duration", "showtitle", "tvshowid", "thumbnail", "file", "fanart"], "playerid": 1 }, "id": "VideoGetItem"}

 

here the result with the EMBY- Addon Database :

 

{
"id": "VideoGetItem",
"jsonrpc": "2.0",
"result": {
"item": {
"episode": -1,
"fanart": "image://http%3a%2f%2f192.168.0.199%3a8096%2femby%2fItems%2f39530%2fImages%2fBackdrop%2f0%3fEnableImageEnhancers%3dTrue%26Tag%3db5dcf3acfdc83dd356e6231d3e886f78/",
"file": "http://192.168.0.199:8096/emby/Videos/39530/stream",
"label": "Godzilla II: King of the Monsters",
"season": -1,
"showtitle": "",
"thumbnail": "image://http%3a%2f%2f192.168.0.199%3a8096%2femby%2fItems%2f39530%2fImages%2fPrimary%2f0%3fEnableImageEnhancers%3dTrue%26Tag%3d7e043e2c5f462165c3c7cea04fe84b24/",
"title": "",
"tvshowid": -1,
"type": "unknown"
}
}
}

you see the item "type"

type : unknown

is "unknown", i tested it with episodes too, the same. 

 

here the result with the Kodi Original Database :

 

{
"id": "VideoGetItem",
"jsonrpc": "2.0",
"result": {
"item": {
"episode": -1,
"fanart": "image://https%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fjb6Ju38HmKX0bYHCmAxs8HyNeJ2.jpg/",
"file": "ftp://marc:aerowing@192.168.0.199:21/10TB_White/Filme/4K/Godzilla 2 King of the Monsters (2019) [4K] [HDR10+]/Godzilla 2 King of the Monsters (2019) [4K] [HDR10+].mkv",
"id": 126,
"label": "Godzilla II: King of the Monsters",
"season": -1,
"showtitle": "",
"thumbnail": "image://https%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fxVSfmpNmKs7pH7ejaGjQlN5dwRH.jpg/",
"title": "Godzilla II: King of the Monsters",
"tvshowid": -1,
"type": "movie"
}
}
}

 

 here is the "type" item = movie

 

I played around with it a little, and then not only the item "type" is missing but also "rating", "genre", "title","season", "episode".

(season,episode) by episodes, not movies.

 

Any Ideas whats here wrong?

 

Edited by Pimp1310
added info
Link to comment
Share on other sites

quickmic

I assume you are using emby for kodi plugin in 4.x version. Quite sure that this issue is related to some design flaws of the plugin.

You can give emby-next-gen (5.x) version a try. I should work there.

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...