disaster123 wrote: 
> Hi,
> 
> thanks for this great new feature.
> 
> Has anybody an idea or already tried to use this feature to make a
> squeezebox kids compatible. I want to lock a player to a specific path /
> library.

Yes, It's exactly what I did.

Waiting for Michael release a new build wit the correction we were
talking about, I had to modify the Library demo plugin, but is going to
work using an user defined copy of the plugin or defining the queries in
Advanced search and replacing the sql with the one you needi n the
VirtualLibrary.pref file.

Here an example of the queries I've defined:

id => 'classica',
                name => 'Classica',
                # %s is being replaced with the library's ID
                sql => qq{
                        INSERT OR IGNORE INTO library_track (library, track) 
                                SELECT '%s', tracks.id 
                                  FROM tracks 
                                 WHERE url LIKE 'file:///E:/Classica/%'


Just change the path in the where clause and the library name and repeat
for every library you need to define.

Then you could define 'button' in the players menu just using additional
browse methods and/or the method illustrated in the demo plugin. 
Enabling/disabling the buttons per player, you should get what you are
looking for. 

Its not really 'locked', your children could still change settings,
but...

Marco



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=101701

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to