Posts: 3,077
Joined: Jun 2009
(2012-10-01, 21:08)Montellese Wrote: (2012-10-01, 18:46)Tolriq Wrote: Any chance for a Player.SetRandomMode too ? And a way to add items to playlist in non random mode (when in random mode) to be able to start the correct item ? (Check my previouses unanswered posts )
Or a way to add items to queue with a play parameter so it start the item as it's added ?
Uhm we have Player.Shuffle and Player.Unshuffle (which will soon be merged into Player.SetShuffle) which should work well enough. Adding an item to a playlist and directly playing it will most likely not be supported because we want to keep the playlist seperate from the player (is this even possible in xbmc?). Concerning your other question maybe I can alter Playlist.Add/Insert so that it returns the position of the new item which would then allow you to use that to start it. Would that be good enough?
Sounds like a working idea
Will need 2 request since can't be batched but should not really be a problem.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
jmarshall and myself have discussed the following approach: Replace the "art" table in the videodb/musicdb with a table that holds the art_id, media_type, media_id and a column which contains an array of all the artwork for that item in JSON. That will allows as to join that column into the different views (based on the media_type and media_id) and get all the artwork even though it's a 1-to-many relation. I haven't had the time to code and test it yet though.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 14
Joined: Jan 2010
Reputation:
0
Hi !
With a ID movie, Is it possible to show the movie details directly in XBMC. When I select a movie, I would like the movie details appears also in XBMC.
Thanks
Steven
Posts: 14
Joined: Jan 2010
Reputation:
0
Ok thanks for your quick response
Posts: 3,077
Joined: Jun 2009
Addons are back this sounds good
Posts: 254
Joined: May 2011
Reputation:
2
yallah
Senior Member
Posts: 254
2012-10-03, 12:32
(This post was last modified: 2012-10-03, 12:33 by yallah.)
Hi,
Since 2 days (nightly build), I have some problems with Json, need to restart xbmc. Before it was working like charm.
On my remote I send json command every second to get some infos 'like (VideoLibrary.GetMovieDetails (with fanart and thumb) and activeplayer ..... I think you change something (commit b4654aa) and since, JSON doen't work after 5 minutes and need restart XBMC. When I came back nightly from 30th semptember. It's perfect.
Any ideas ?
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Maybe it has something to do with your mysql server going crazy about a minute before the end of the log. I can't test right now, will have to look into it later tonight but it probably has to do with calling Player.GetActivePlayers very often and maybe the mysql database (which I don't have and therefore can't test).
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 254
Joined: May 2011
Reputation:
2
yallah
Senior Member
Posts: 254
I use default settings for mysql (from synology in same network that player), Why I don't undestand is before 1 octobber everything was perfect.
I will test with sqlite.
Posts: 254
Joined: May 2011
Reputation:
2
yallah
Senior Member
Posts: 254
Hum sqlite is ok, I test until 8 minutes with same remote. But I put again sql and increase max_connexion variable (151 ->300), now xbmc don't crach before 16 minutes...
Something happen with Json 2 days ago...
Thx for your help