• 1
  • 41
  • 42
  • 43(current)
  • 44
  • 45
  • 83
Skin / Script Development - Updates and Support
(2014-12-02, 23:18)bsoriano Wrote: Phil,

I see in the log lookups into the music database. Mine is pretty large, with close to 150k songs. Does this make any difference? Also, I noticed skin.widgets service running also, does your skin require it?

Well, perhaps I am grabbing at straws here. Given the size of my collection overall, I could live without the cross-comparing.

Again, thank you so much for your work and this fantastic skin.

Regards,

Bart

i noticed them too, but I cannot imagine why ExtendedInfo script should be responsible for them.

service.skin.widgets is basically only required for backgrounds atm, and that will also get removed in some time.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Latest Log.

That did it! Times are now between 3 and 5 seconds, great! Thanks a lot Phil.

Regards,

Bart
Reply
Wow!! I just tried the latest script change and it is 3 seconds to get to movie info now!

EDIT

I forgot to post a LOG
Reply
Yes, that change was great, 3-5sec.... Thanks
Board: B85M-ITX
CPU: i3 4330
GPU: Geforce GTX 750ti
Reply
ok, seems everyone is happy now Smile how fast is it on second try? same amount? I´m askin because results get cached.
There is one more way to speed up that dialog (caching the created listitems instead of caching the JSON answer itself), that would require some major changes though which are probably out of sight at the moment. (much more important things to do)
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2014-12-02, 23:25)Rastan Wrote: Wow!! I just tried the latest script change and it is 3 seconds to get to movie info now!

EDIT

I forgot to post a LOG
ok, the only thing which takes too long for you now is the JSON call to get MovieInfo from database. (2.2 sec)
i pushed another commit to speed it up a bit, not sure if that is noticable. If not, then I have one or two more ideas to improve that delay.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2014-12-02, 23:57)phil65 Wrote:
(2014-12-02, 23:25)Rastan Wrote: Wow!! I just tried the latest script change and it is 3 seconds to get to movie info now!

EDIT

I forgot to post a LOG
ok, the only thing which takes too long for you now is the JSON call to get MovieInfo from database. (2.2 sec)
i pushed another commit to speed it up a bit, not sure if that is noticable. If not, then I have one or two more ideas to improve that delay.

I just updated the script again and tried it out. But The script fails Undecided LOG
Reply
(2014-12-03, 00:06)Rastan Wrote:
(2014-12-02, 23:57)phil65 Wrote:
(2014-12-02, 23:25)Rastan Wrote: Wow!! I just tried the latest script change and it is 3 seconds to get to movie info now!

EDIT

I forgot to post a LOG
ok, the only thing which takes too long for you now is the JSON call to get MovieInfo from database. (2.2 sec)
i pushed another commit to speed it up a bit, not sure if that is noticable. If not, then I have one or two more ideas to improve that delay.

I just updated the script again and tried it out. But The script fails Undecided LOG

already fixed, stupid mistake from my side Wink
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2014-12-03, 00:08)phil65 Wrote:
(2014-12-03, 00:06)Rastan Wrote:
(2014-12-02, 23:57)phil65 Wrote: ok, the only thing which takes too long for you now is the JSON call to get MovieInfo from database. (2.2 sec)
i pushed another commit to speed it up a bit, not sure if that is noticable. If not, then I have one or two more ideas to improve that delay.

I just updated the script again and tried it out. But The script fails Undecided LOG

already fixed, stupid mistake from my side Wink

I just updated and tried again. The speed seems the same on repeated attempts. Still fast at around 3 seconds though. New LOG
Reply
ok, I tried something else. try again. it should speed up when opening for the second time after restarting xbmc.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Phil,

Some additional questions:

1. Is it the intended behavior that the poster shown in the movie info page is the one from themoviedb and not the one from my library? Could you show the library one instead?

2. Would it be possible to always show the audio and subtitle language flags in the movie info page?

3. Would you consider showing the IMDB Top 250 info in the movie info page?

4. Are the musicvids widgets broken at the moment? they do not show anything for me.

Lastly, I just wanted to reiterate that it is truly amazing work you have done and are doing with this skin! Thank youso much.

Regards,

Bart
Reply
yes, probably all points will get done. you probably can workaround musicvideo widgets by using smart playlists, not sure atm. (in general it´s better to treat concert videos as a movie genre)

some feedback if the latest change improved performance would be nice. (including debug logs)
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2014-12-03, 00:24)phil65 Wrote: ok, I tried something else. try again. it should speed up when opening for the second time after restarting xbmc.

I updated again and got info on movie it took about 3 seconds. I then shut down Kody and opened it again. I got info again and it took around 3 seconds. I got info again on the same movie and it went to 2 seconds. Tried again and it was 3 seconds....LOL

Heres the LOG

3 seconds is more than good considering it was close to a minute at the begining. If you want to continue tweaking I don't mind testing it Wink
Reply
I am also not sure yet how to implement re-scraping of a movie. that action only seems to be available for the "native" movieinfo dialog, not for my scripted one by JSON-RPC/whatever

(2014-12-03, 00:38)Rastan Wrote:
(2014-12-03, 00:24)phil65 Wrote: ok, I tried something else. try again. it should speed up when opening for the second time after restarting xbmc.

I updated again and got info on movie it took about 3 seconds. I then shut down Kody and opened it again. I got info again and it took around 3 seconds. I got info again on the same movie and it went to 2 seconds. Tried again and it was 3 seconds....LOL

Heres the LOG

3 seconds is more than good considering it was close to a minute at the begining. If you want to continue tweaking I don't mind testing it Wink

not completely true, from logs it´s an improvement by one second.

first time it takes

22:31:33 T:8628 DEBUG: script.extendedinfo: create_light_movielist: -1.58900022507

and after that:

22:31:42 T:11440 DEBUG: script.extendedinfo: create_light_movielist: -0.460999965668

22:31:51 T:7868 DEBUG: script.extendedinfo: create_light_movielist: -0.461000204086

22:31:59 T:9996 DEBUG: script.extendedinfo: create_light_movielist: -0.448999881744

it would be great if you would also have a look at RAM usage, I´m caching a lot of stuff as window properties now, not sure if that will lead into problems in the longer term.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2014-12-03, 00:39)phil65 Wrote: I am also not sure yet how to implement re-scraping of a movie. that action only seems to be available for the "native" movieinfo dialog, not for my scripted one by JSON-RPC/whatever

(2014-12-03, 00:38)Rastan Wrote:
(2014-12-03, 00:24)phil65 Wrote: ok, I tried something else. try again. it should speed up when opening for the second time after restarting xbmc.

I updated again and got info on movie it took about 3 seconds. I then shut down Kody and opened it again. I got info again and it took around 3 seconds. I got info again on the same movie and it went to 2 seconds. Tried again and it was 3 seconds....LOL

Heres the LOG

3 seconds is more than good considering it was close to a minute at the begining. If you want to continue tweaking I don't mind testing it Wink

not completely true, from logs it´s an improvement by one second.

first time it takes

22:31:33 T:8628 DEBUG: script.extendedinfo: create_light_movielist: -1.58900022507

and after that:

22:31:42 T:11440 DEBUG: script.extendedinfo: create_light_movielist: -0.460999965668

22:31:51 T:7868 DEBUG: script.extendedinfo: create_light_movielist: -0.461000204086

22:31:59 T:9996 DEBUG: script.extendedinfo: create_light_movielist: -0.448999881744

Phil,

Latest log from me. I show an improvement of 1 second that remains pretty much constant on subsequent attempts.

When you say re-scraping, that would be the "Refresh" button in the usual movie info dialog? I was going to ask you how that was done with the new info dialog.

Regards,

Bart
Reply
  • 1
  • 41
  • 42
  • 43(current)
  • 44
  • 45
  • 83

Logout Mark Read Team Forum Stats Members Help
Skin / Script Development - Updates and Support11