Posts: 17,858
Joined: Jul 2011
Reputation:
367
2013-08-13, 22:45
(This post was last modified: 2013-08-13, 22:46 by Martijn.)
No way of knowing and 5 seconds is unacceptable.
Maybe some future code changes in xbmc will fix this. Will keep this problem in mind.
Posts: 1,155
Joined: Aug 2008
Reputation:
24
I made some quick tests with smaller delays and with my setup 2 seconds is about the lowest. It takes +5 seconds to change the refresh rate from 24 to 60 in my setup.
Posts: 17,858
Joined: Jul 2011
Reputation:
367
2013-08-13, 23:18
(This post was last modified: 2013-08-13, 23:19 by Martijn.)
This is deeply buried in xbmc. Seems the refresh rate switching holds everything locked until it's done and the net the other stuff be done like writing the values to the db.
Jsonrpc is handled in another thread so it isn't affected. So in short, no easy fix.
Posts: 3,956
Joined: Dec 2008
Reputation:
61
A few more comments. I'm not sure if it is intentional or because of some technical issue but:
When recommended movies are selected in script settings, 0 unfinished movies will show up. Script starts "monitoring" DB from the moment settings is changed. I would expect script to fetch first 10/20 unfinished (in progress) movies immediately after recommended is selected in settings?
It is similar with TV Shows. I would expect script to fetch first 10/20 unfinished (in progress) TV Shows or first unplayed from the season, immediately after recommended is selected in settings?
Posts: 17,858
Joined: Jul 2011
Reputation:
367
onsettings changed is only called after the settings have been saved.
Posts: 17,858
Joined: Jul 2011
Reputation:
367
nothing.
i suggest they create a pull request to change/improve XBMC core as i have no intention to change the addon nor can i do anything about it.
the devs are more than busy so if some on else can fix it he should do it.