2012-04-08, 19:02
(2012-04-08, 18:18)Mizaki Wrote: @Mykander That certainly is odd. The fact it's still showing the loading icon indicates it's had no reply from XBMC. That should be a pretty quick look up so I can't imagine it's a time out issue.
I know it's a bit involved but I've not found a better way yet, can you follow debugging and give me the command sent and the reply (if any)? Or use the simple xbmc.log method
I tried both ways, my xbmc.log at the point reports the following:
Code:
16:43:26 T:140128274085632 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetSeasons", "params": { "tvshowid": 2, "properties": ["season", "playcount"]}, "id": 1}
16:43:26 T:140128274085632 DEBUG: JSONRPC: Calling videolibrary.getseasons
16:43:26 T:140128274085632 DEBUG: GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=2) order by idShow
16:43:26 T:140128274085632 DEBUG: RunQuery took 1 ms for 2 items query: select episode.c12,path.strPath,tvshow.c00,tvshow.c08,tvshow.c14,tvshow.c13,count(1),count(files.playCount) from episode join tvshowlinkepisode on tvshowlinkepisode.idEpisode=episode.idEpisode join tvshow on tvshow.idShow=tvshowlinkepisode.idShow join files on files.idFile=episode.idFile join tvshowlinkpath on tvshowlinkpath.idShow = tvshow.idShow join path on path.idPath = tvshowlinkpath.idPath where tvshow.idShow = 2 group by episode.c12
16:43:26 T:140128274085632 DEBUG: RunQuery took 0 ms for 0 items query: select * from movieview join movielinktvshow on movielinktvshow.idMovie=movieview.idMovie where movielinktvshow.idShow = 2
16:43:27 T:140128274085632 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "params": { "tvshowid": 2, "season" : 10, "properties": ["episode", "playcount", "fanart", "plot", "season", "showtitle", "thumbnail", "rating"], "sort": { "order": "ascending", "method": "episode" } }, "id": 1}
16:43:27 T:140128274085632 DEBUG: JSONRPC: Calling videolibrary.getepisodes
16:43:27 T:140128274085632 DEBUG: GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=2) order by idShow
16:43:27 T:140128274085632 DEBUG: RunQuery took 0 ms for 2 items query: select * from episodeview where idShow = 2 and (c12=10 or (c12=0 and (c15=0 or c15=10)))
16:43:28 T:140128274085632 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Player.GetActivePlayers", "id": 1}
16:43:28 T:140128274085632 DEBUG: JSONRPC: Calling player.getactiveplayers
16:43:28 T:140128274085632 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Application.GetProperties", "params": { "properties": [ "volume", "muted" ] }, "id": 1}
16:43:28 T:140128274085632 DEBUG: JSONRPC: Calling application.getproperties
16:43:33 T:140128274085632 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Player.GetActivePlayers", "id": 1}
16:43:33 T:140128274085632 DEBUG: JSONRPC: Calling player.getactiveplayers
16:43:33 T:140128274085632 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Application.GetProperties", "params": { "properties": [ "volume", "muted" ] }, "id": 1}
16:43:33 T:140128274085632 DEBUG: JSONRPC: Calling application.getproperties
And Chrome gives me the following from a capture of the action:
Form Data:
Code:
{"jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "params": { "tvshowid": 2, "season" : 10, "properties": ["episode", "playcount", "fanart", "plot", "season", "showtitle", "thumbnail", "rating"], "sort": { "order": "ascending", "method": "episode" } }, "id": 1}:
Response:
Code:
{"id":1,"jsonrpc":"2.0","result":{"episodes":[{"episode":1,"episodeid":71,"fanart":"special://masterprofile/Thumbnails/Video/Fanart/ffdb3379.tbn","label":"10x01. Duct Tape Island","playcount":0,"plot":"Adam and Jamie get abandoned on a Hawaiian island, armed with nothing but the sticky silver adhesive. Can they use it to source water, find food, build shelter, and even escape?","rating":8.0,"season":10,"showtitle":"MythBusters","thumbnail":"special://masterprofile/Thumbnails/Video/d/d5d87d92.tbn"},{"episode":2,"episodeid":68,"fanart":"special://masterprofile/Thumbnails/Video/Fanart/ffdb3379.tbn","label":"10x02. Fire vs Ice","playcount":0,"plot":"Adam and Jamie tackle an internet sensation about an epic duel between a flamethrower and a CO2 fire extinguisher, while Kari, Grant and Tory test if you can spy drone with a dust cloud and pull off a kidnapping as seen in the movie Body of Lies.","rating":7.6999998092651367188,"season":10,"showtitle":"MythBusters","thumbnail":"special://masterprofile/Thumbnails/Video/b/ba322e0c.tbn"}],"limits":{"end":2,"start":0,"total":2}}}
That is the last thing I get before the continual ActivePlayer/Properties like in the log file.
Edit:
Not sure if it matters or not, but I have no problem seeing season espisode lists through other interfaces, such as the official xbmc android remote and one of the ipad applications.