- Moderator
- #371
So will you create a new version with your fixes?
LMH music select work (~0.6sec on 72766 records)... No delayYep it depend maybe how the music db is big ?
It is not known who sent the event, I can listen to music, but to be in my films, or home screen. And press the stop.So i think it can be trigger by picture db for ex (not here for me but it can) so maybe it could be better to do the refresh only on the current plugin, if i'm on TVS, i don't care to have the music refreshed (while on TVS plugins).
My music is also on the network storage. Perhaps it is not as much as you ...Ps : On my dev PC i didn't notice the same delay (because i didn't have the same amount of database size. So even if most of my music are on NAS, it shouldn't impact the GUI refresh like this and i can confirm it but introduce the delay above
Try this version ...What i want to tell is, even if you can reproduce it, i pinpoint to something that can be trigger some days lol and for me it's the new query of sql music introduce with
LMH works fine:LMH seems to work everywhere exept music.
22-Nov-2015 14:51:33 Debug [ LatestMusicHandler]: GetLatestMusic: Mode: Latest Added Music Received: 10 songs.
...
22-Nov-2015 14:51:39 Info [ LatestMusicHandler]: Updating Latest Media Info: Music: Latest Added Music Album 1: Various Artists - Het beste van de Beste zangers van Nederland 01 - 2015 [11-22-2015/1-1-0001 00:00:00] - C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\UserDef\music\default.jpg
22-Nov-2015 14:51:39 Info [ LatestMusicHandler]: Updating Latest Media Info: Music: Latest Added Music Album 2: Ruth Jacott - Het beste van de Beste zangers van Nederland 01 - 2015 [11-22-2015/1-1-0001 00:00:00] - C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\UserDef\music\default.jpg
22-Nov-2015 14:51:39 Info [ LatestMusicHandler]: Updating Latest Media Info: Music: Latest Added Music Album 3: Rob De Nijs - Het beste van de Beste zangers van Nederland 01 - 2015 [11-22-2015/1-1-0001 00:00:00] - C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\UserDef\music\default1.jpg
22-Nov-2015 14:51:39 Info [ LatestMusicHandler]: Updating Latest Media Info: Music: Latest Added Music Album 4: Rene Froger - Het beste van de Beste zangers van Nederland 01 - 2015 [11-22-2015/1-1-0001 00:00:00] - C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\UserDef\music\default2.jpg
22-Nov-2015 14:51:39 Debug [ LatestMusicHandler]: Updating Latest Media Info: Music: Has new: false
LMH music select work (~0.6sec on 72766 records)... No delayYep it depend maybe how the music db is big ?
It is not known who sent the event, I can listen to music, but to be in my films, or home screen. And press the stop.So i think it can be trigger by picture db for ex (not here for me but it can) so maybe it could be better to do the refresh only on the current plugin, if i'm on TVS, i don't care to have the music refreshed (while on TVS plugins).
My music is also on the network storage. Perhaps it is not as much as you ...Ps : On my dev PC i didn't notice the same delay (because i didn't have the same amount of database size. So even if most of my music are on NAS, it shouldn't impact the GUI refresh like this and i can confirm it but introduce the delay above
Try this version ...What i want to tell is, even if you can reproduce it, i pinpoint to something that can be trigger some days lol and for me it's the new query of sql music introduce with
If there is just something I will add a 5 sec delay, but only if the active window does not Basic HomeThanks, it's a silly bug
[2015-11-22 18:01:06,507] [Log ] [MPMain ] [INFO ] - Main: Minimum number of worker threads to 4/2
LMH get music fanart from FH ...If i remove the FanartHandler.db3 (20Mb), it's a little faster.