Quoting Alexis <[EMAIL PROTECTED]>:


I have tried both methods.
I think that the script cannot find the file, whatever the path I set.
For example, I have tried to put "test.mp3" and the script in C:\, and
i have tested:
- announcement.pl --sound="test.mp3"
- announcement.pl --sound="c:test.mp3"
- announcement.pl --sound="C:test.mp3"
- announcement.pl --sound="C:\test.mp3"
- announcement.pl --sound="C:\\test.mp3"

and many more...

Sometimes a file is played, generally the last one in the playlist.
Sometimes I get a message: "Problem: can't open file for:"
(and ERROR: Couldn't open song. Stopping. on slimserver's debug)

With more recent releases, slimserver cannot play files that are not scanned and in the library. The announcement script might need to be update to do a quick db update for the file before it is played. I use a similar technique to the announcement script in my Email Checker plugin. I had to make those updates a few days ago.

-kdf
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to