2019-06-04, 07:42
Hey,
I'm having an issue with plugin video content.
When ever I play files for first time and fo `Player.GetItem` the results is like this:
But if I play the same file again the results its this:
As you see the content is different, yet this is same file from same menu. I assume that for some reason the file which is the plugin url to play real file is getting translated and then saved under mediapath. And whenever I ask kodi to play same file it match the mediapath and get info from database which are missing.
I'm having an issue with plugin video content.
When ever I play files for first time and fo `Player.GetItem` the results is like this:
json:{
"id": 20,
"jsonrpc": "2.0",
"result": {
"item": {
"episode": 1,
"file": "plugin://plugin.video.nakamori/episode/183641/file/0/play",
"label": "The Invincible Baby Face",
"lastplayed": "",
"mediapath": "http://10.0.0.1:8111/Stream/15137/1/False/file.mkv",
"playcount": 1,
"season": 1,
"showtitle": "Air Gear",
"title": "The Invincible Baby Face",
"tvshowid": -1,
"type": "episode",
"uniqueid": {
"aid": "1952",
"eid": "183641"
},
"userrating": 0
}
}
}
But if I play the same file again the results its this:
json:
{
"id": 21,
"jsonrpc": "2.0",
"result": {
"item": {
"episode": -1,
"file": "http://10.1.1.100:8111/Stream/15137/1/False/file.mkv",
"label": "The Invincible Baby Face",
"lastplayed": "2019-06-04 07:16:41",
"mediapath": "http://10.0.0.1:8111/Stream/15137/1/False/file.mkv",
"playcount": 0,
"season": -1,
"showtitle": "",
"title": "",
"tvshowid": -1,
"type": "unknown",
"userrating": 0
}
}
}
As you see the content is different, yet this is same file from same menu. I assume that for some reason the file which is the plugin url to play real file is getting translated and then saved under mediapath. And whenever I ask kodi to play same file it match the mediapath and get info from database which are missing.