2010-11-03, 14:25
Hi all.
I've migrated my library to mysql database and saw something wrong with jsonrpc interface.
I'm using SVN 35110M and linux 32 bit os ( debian )
If I use normal sqlite database everything is ok, but when i switch to mysql one, I can't get movie listing with web interfaces. Same bug with Normal and AWX.
I can't sort movies/tvshows.
My music database is still sqlite and it sorts them ok.
What's strange is json seems to sort ok but the webinterface still shows loading icon and don't sort anything:
Here is an example of what json answer on tvshow listing request:
pastebin here: http://pastebin.com/yNwW3wx3
Xbmc log when we query tv show listing:
Is it a known problem ?
I've migrated my library to mysql database and saw something wrong with jsonrpc interface.
I'm using SVN 35110M and linux 32 bit os ( debian )
If I use normal sqlite database everything is ok, but when i switch to mysql one, I can't get movie listing with web interfaces. Same bug with Normal and AWX.
I can't sort movies/tvshows.
My music database is still sqlite and it sorts them ok.
What's strange is json seems to sort ok but the webinterface still shows loading icon and don't sort anything:
Here is an example of what json answer on tvshow listing request:
pastebin here: http://pastebin.com/yNwW3wx3
Xbmc log when we query tv show listing:
Code:
13:22:30 T:2873383792 M:853225472 DEBUG: GetTvShowsByWhere query: SELECT tvshow.*,path.strPath AS strPath,counts.totalcount AS totalCount,counts.watchedcount AS watchedCount,counts.totalcount=counts.watchedcount AS watched FROM tvshow JOIN tvshowlinkpath ON tvshow.idShow=tvshowlinkpath.idShow JOIN path ON path.idpath=tvshowlinkpath.idPath LEFT OUTER join ( SELECT tvshow.idShow AS idShow,count(1) AS totalcount,count(files.playCount) AS watchedcount FROM tvshow JOIN tvshowlinkepisode ON tvshow.idShow=tvshowlinkepisode.idShow JOIN episode ON episode.idEpisode=tvshowlinkepisode.idEpisode JOIN files ON files.idFile=episode.idFile GROUP BY tvshow.idShow) counts ON tvshow.idShow=counts.idShow
13:22:30 T:2873383792 M:853225472 DEBUG: Time for actual SQL query = 0
13:22:30 T:2873383792 M:853225472 DEBUG: Time to retrieve tvshows from dataset = 3
Is it a known problem ?