Wooohooo! Thanks for your help. Got it to work. "My" first perl!
For those who are interested: Created slimplay.bat with *** @echo off perl "C:\Documents and Settings\UserName\My Documents\Perl\play.pl" %1 *** Created play.pl with contents: *** use Net::Telnet (); use URI::Escape; my $f; my $result; $f = $ARGV[0]; $t = new Net::Telnet (Timeout => 10); $t->open(Host => "localhost", Port => 9090); $t->print("00:04:20:06:3b:85 playlist play ". uri_escape($f) ); $result = $t->getline; $t->print("exit"); print $result; *** placed the slimplay.bat in a my windows directory to be on the PATH. now a command line is slimplay "My Folder" My Folder is a subfolder of the music library. This plays all songs in the folder. slimplay "c:\my library\my folder\" works too or slimplay "c:\my library\my folder\my song.mp3" (playing a specific file) So my podcast program automatically sends a new podcast to my squeezebox. Regards Louis -- lrossouw ------------------------------------------------------------------------ lrossouw's Profile: http://forums.slimdevices.com/member.php?userid=3416 View this thread: http://forums.slimdevices.com/showthread.php?t=26293 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss