This is a script that queries the database and outputs
an album list in text format (for the DirectPlay plugin).

I had been copying bits and pieces out of the slimserver
code to do the pref file reading to get the database type
and file paths so it will work on all the same platforms
as slimserver.

This is the error with "INIT:"

perl DirectPlayBookByGenre.pl
Undefined subroutine &Slim::Utils::OSDetect::dirsFor called at
/home/slim/slimserver/Slim/Utils/PluginManager.pm line 34.
Compilation failed in require at
/home/slim/slimserver/Slim/Music/Info.pm line 21.
BEGIN failed--compilation aborted at
/home/slim/slimserver/Slim/Music/Info.pm line 21.
Compilation failed in require at
/home/slim/slimserver/Slim/Utils/Misc.pm line 26.
Compilation failed in require at
/home/slim/slimserver/Slim/Utils/OSDetect.pm line 15.
BEGIN failed--compilation aborted at
/home/slim/slimserver/Slim/Utils/OSDetect.pm line 15.
Compilation failed in require at DirectPlayBookByGenre.pl line 45.
BEGIN failed--compilation aborted at DirectPlayBookByGenre.pl line 45.

With the colon removed, the script works fine. The (old)
version of the full script is here:
http://ultratrendy.com:31888/slim/scripts/DirectPlayBook.pl

thanks
--Jason


-- 
jth
------------------------------------------------------------------------
jth's Profile: http://forums.slimdevices.com/member.php?userid=48
View this thread: http://forums.slimdevices.com/showthread.php?t=20668

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

Reply via email to