2011-11-07, 22:08
odt_x Wrote:Hey! Thanks for the updates. One issue: it seems to me the script is running quite a bit slower as before. Must be because of the new queries towards the movie DB. On my machine it now takes 10 seconds until the script comes back with results. Basically, this means that if I use the scripts output to launch an episode, it takes 10 seconds after watching it before im presented with the updated info, ie. the next episode of that series. I probably have to resort to removing the movie info, as I'm not using it for now, but in general, is there any room for improving the speed or some tips on launching the script?
http://pastebin.com/Qx34ZJH4
judging by your log, it's indeed to movie part that consumes the most time, 6-7 secs.
i'll add some extra logging to the next version of the script to get a better view on which part of the code takes the most time.