2011-09-19, 21:57
Any news regarding the long time it takes to get results? Takes about 10 seconds for me and that was not the case with the script for Dharma.
frellAn Wrote:Any news regarding the long time it takes to get results? Takes about 10 seconds for me and that was not the case with the script for Dharma.
pecinko Wrote:Is there a way to call the script with fanart=false? I do not use it.
pecinko Wrote:OK, but in my case it's not about workaround. I just do not use random items fanart om HP so I would use it even with ussue fixed.
ronie Wrote:the script sets about 50 different window properties.
you propose to make all of them optional,
or just the ones you don't need? ;-p
pecinko Wrote:Well, I didn't think it's that complicated. I believed fanart could be the slowest operation and, since skin do not use it, it could speed up things a bit on slower devices. So it just seamed as a sane optimization.
select episodeView.idShow AS epID,
episodeView.c00 AS EpisodeName,
episodeView.c01 AS Plot,
episodeView.strPath AS FilePath,
episodeView.strFileName AS FileName,
episodeView.strTitle AS ShowTitle,
episodeView.c03 AS Rating,
episodeView.c13 AS EpisodeNumber,
episodeView.c12 AS EpisodeSeason
from episodeView
where EpisodeNumber == (select MIN(c13) from episodeView where idShow == epID AND playCount is null order by c12)
order by RANDOM()
limit 5;
sql_episodes = "select * from episodeView AS epView where epView.c13 == (select MIN(subEp.c13) from episodeView AS subEp where subEp.idShow == epView.idShow AND subEp.playCount is null order by subEp.c12) order by RANDOM() limit %d" % ( unplayed, self.LIMIT, )
musera Wrote:I would highly recommend changing your approach to random t.v shows to this, it is just pretty useless the way things are. Love the music and movies approach but hate the t.v approach. I originally thought it might be good to release this as a modded script but it's never good to split userbases, even if the scripts are interchangeable.
distracto Wrote:i support this idea....i may be behind in a show like damages or breaking bad and then to have the script return an episode three past the one i am at is useless to me