Hi Michael,

many thanks for implementing this. It fixes a problem I've had for
years. I always wanted separate libraries for Podcasts, Radio plays and
Musik. I can do that now. Also, I have some symlinks (a folder with the
latest episodes from all podcast channels) that made some tracks/albums
show up twice. I can now exclude tracks in this directory.

I've created a virtual library plugin with some libraries and that all
works fine. I have some questions and comments, though:


- What's the allowed "nodes" parameter for Slim::Menu::BrowseLibrary()?

Slim::Menu::BrowseLibrary::_albums(), _tracks(), _years() etc. all work.
_topLevel(), however, doesn't seem to work (UI stalls / loads
endlessly). I haven't looked into the code, and it's not very important.
But to have all the standard browse modes (by
album/artist/track/year/search/..) below each library would be nice.


- The "name" parameter for
Slim::Music::VirtualLibraries->registerLibrary() doesn't seem to support
strings.txt constants. Shouldn't it?


- How's the scannerCB() function passed to
Slim::Music::VirtualLibraries->registerLibrary() supposed to work?

>From looking at the code in Slim::Music::VirtualLibraries::rebuild() I
guess it would not only have to fill in the records in library_track but
also populate the helper tables (library_album, library_contributor,
etc.).

Is that right? If so, shouldn't rebuild() take care of emptying the
table before calling scannerCB() and populating the auxiliary tables
after calling scannerCB(). This would spare us from maintaining
duplicated code in scannerCB().

Or possibly, scannerCB() could just return a list of track ids that
should go into the library and then rebuild() could take care of all the
database stuff?

(I may have completely missed the point...)


And related to creating a scannerCB().. What's the proper way to decode
a tracks.url into a local file system path (using SQL LIKE on it is a
bit of a pain, I'd rather regex match it)? But never mind, I'll find
out.. :-)


Regards,
flipflip



Check out flipflip's 'Squeezebox Server On (some) DiskStation (SSODS)
and on (some) TurboStations (SSOTS) and some other devices'
(http://oinkzwurgl.org/ssods/)!      Please do NOT file SSODS bugs in
(SD's) bugzilla. Use the forums. And only the forums. Thanks.
------------------------------------------------------------------------
flipflip's Profile: http://forums.slimdevices.com/member.php?userid=5223
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