2012-12-07, 20:43
Ok here's some more debug information about the empty labels. (Phone and Xbmc machine are near time synced)
Step one : Start a movie file from JSON :
All works ok (A part from thumbnail filling even if it has already been auto generated).
Logs from Xbmc : http://xbmclogs.com/show.php?id=19018
Step 2 : Stop the media (after a few seconds)
Logs from Xbmc : http://xbmclogs.com/show.php?id=19019
Step 3 : Start the media again with the same command
Logs from Xbmc : http://xbmclogs.com/show.php?id=19021
The difference between the 2 logs :
Permanent tries of Xbmc to do :
On start movie then on each subsequent Player.GetProperties.
So as Mizaki pointed out as soon files have some properties saved like resume point Json tries to find the file in one of the database then don't find it and forgot to set some fields.
Step one : Start a movie file from JSON :
Code:
2012-12-07 19:19:23.500 Verbose/JsonRpc: JsonRpc.doRequest@238: Request : {"id":1,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"smb:\/\/DISKSTATION\/Torrents\/Arrow.S01E08.FASTSUB.VOSTFR.720p.HDTV.x264-PROTEiGON.mkv"}}}
2012-12-07 19:19:23.680 Verbose/JsonRpc: JsonRpc.doRequest@254: Response : {"id":1,"jsonrpc":"2.0","result":"OK"}
All works ok (A part from thumbnail filling even if it has already been auto generated).
Logs from Xbmc : http://xbmclogs.com/show.php?id=19018
Step 2 : Stop the media (after a few seconds)
Code:
2012-12-07 19:19:46.782 Verbose/JsonRpc: JsonRpc.doRequest@238: Request : {"id":1,"jsonrpc":"2.0","method":"Player.Stop","params":{"playerid":1}}
2012-12-07 19:19:46.917 Verbose/JsonRpc: JsonRpc.doRequest@254: Response : {"id":1,"jsonrpc":"2.0","result":"OK"}
Logs from Xbmc : http://xbmclogs.com/show.php?id=19019
Step 3 : Start the media again with the same command
Code:
2012-12-07 19:20:00.117 Verbose/JsonRpc: JsonRpc.doRequest@238: Request : {"id":1,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"smb:\/\/DISKSTATION\/Torrents\/Arrow.S01E08.FASTSUB.VOSTFR.720p.HDTV.x264-PROTEiGON.mkv"}}}
2012-12-07 19:20:00.376 Verbose/JsonRpc: JsonRpc.doRequest@254: Response : {"id":1,"jsonrpc":"2.0","result":"OK"}
Logs from Xbmc : http://xbmclogs.com/show.php?id=19021
The difference between the 2 logs :
Permanent tries of Xbmc to do :
Code:
19:20:00 T:6412 DEBUG: CVideoDatabase::GetMovieId (smb://DISKSTATION/Torrents/Arrow.S01E08.FASTSUB.VOSTFR.720p.HDTV.x264-PROTEiGON.mkv), query = select idMovie from movie where idFile=1996
19:20:00 T:6412 DEBUG: CVideoDatabase::GetEpisodeId (smb://DISKSTATION/Torrents/Arrow.S01E08.FASTSUB.VOSTFR.720p.HDTV.x264-PROTEiGON.mkv), query = select idEpisode from episode where idFile=1996
19:20:00 T:6412 DEBUG: CVideoDatabase::GetMusicVideoId (smb://DISKSTATION/Torrents/Arrow.S01E08.FASTSUB.VOSTFR.720p.HDTV.x264-PROTEiGON.mkv), query = select idMVideo from musicvideo where idFile=1996
On start movie then on each subsequent Player.GetProperties.
So as Mizaki pointed out as soon files have some properties saved like resume point Json tries to find the file in one of the database then don't find it and forgot to set some fields.