robroe;259444 Wrote:
>
> Looking more closely I believe that these mixers are provided by the
> custom browse plugin overriding the standard song info menu, so it's
> really not as straight forward as it would appear. I'm still not sure
> why most of the other items in the custom browse allow a mix but not
> title, but I'm sure there must be a good reason for this.
>
If I understand you correctly we are talking about the Now Playing
menu, which looks like this:
Code:
--------------------
Now Playing
1. SongTitle1
SongTitle1
Album1
Artist1
--------------------
In this scenario, you will have mixers on the bottom level. This level
is by default provided by standard SlimServer but Custom Browse can
optionally replace it. I think the mixers are available on the bottom
level in both cases but I'm not completely sure. The mixer
implementation is different if the bottom menu is provided by standard
SlimServer or by the Custom Browse plugin. Adding a mixer to the title
in the bottom menu when Custom Browse handles it would just be a matter
of writing some XML files and a piece of perl code, the hook is alread
there. When standard SlimServer implements the bottom level there is no
hook available, so you would have to modify both the plugin and the core
code.
However, as I understands it, you are really looking for a mixer on the
middle menu shown as "1. SongTitle1" in the sample ?
This menu is always provided by SlimServer and Custom Browse has
nothing to do with it. This menu doesn't have a hook for mixers today,
so if you would like to have that functionality you would have to
modify both the core SlimServer code and the MusicIP plugin code. If I
remember correctly I think it might also require changes in the other
plugins providing mixers, to make sure a new hook like this doesn't
launch their mixers in a situation where they aren't prepared for it.
robroe;259444 Wrote:
> Thanks again for your replies, I am a developer by trade so I know how
> annoying it is when people who don't have a clue make assumptions about
> how easy things should be!
No problem, it's always good with people that is interested to actually
look at the code and provide changes/patches to improve the
functionality. I've made the same mistake myself regarding the mixer
functionality, it looks easy before you actually starts to look in the
code and realize it really isn't.
--
erland
Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan, Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.homeip.net/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=41761
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins