dip;550259 Wrote:
> I enclose my zipped server.log file.
>
> At no time a menu level was entered which shows album art.
>
Thanks, the problem seems to be related to all the lines in the log
that looks like this:
Code:
--------------------
[10-05-24 21:40:17.5466] Plugins::CustomBrowse::Plugin::musicMagicMixable
(320) Calling Slim::Plugin::MusicMagic::Plugin->mixable
[10-05-24 21:40:17.6054]
Plugins::CustomBrowse::MenuHandler::FunctionMix::checkMix (113) Calling
Plugins::CustomBrowse::Plugin->musicMagicMixable
--------------------
I think the problematic code will execute for each single row if:
- It's about to display a list of tracks
- It's about to display a list of albums
- The item might have mixes
So it's not only related to album art, it's related to all menus which
requires additional information than just the text. For albums it's
things like album art, for tracks it's things like track number and for
other menus it's checking for mixes.
One thing you could try is to goto "SBS Settings/Plugins/Custom
Browse/Enabled Mixes" and uncheck all mixes. I think this should save
you one SQL statement per row in the list, so it might actually
increase the performance a bit, maybe even a lot. You might need to
restart SBS for the changes to take effect. If I'm right, it show mean
that the above message in the log related to Plugin::MusicMagic::Plugin
shouldn't be visible anymore. This will of course result in that you
lose the mixing functionality, but if this makes enough improvement I
think it would be possible to do some adjustments to the code to handle
it in a better way. I think it's not really needed to get the mixing
status for Touch/Radio/Controller when retrieving the list of tracks,
it should be possible to handle this through the context menu instead.
Did I understand you correctly that it also takes a lot of time to
enter the A-Z menu, not just entering the sub menu for a specific
letter under it ?
I'm asking since I don't think A-Z menu itself should be affected by
the above problem, so if this also is slow it would be great to get a
lot from a scenario when you enter the A-Z menu to see what happens
then.
--
erland
Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan, Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins