Hey,

I'm trying to pause two players with a cron job. I've used a Perl LWP
script:

Code:
--------------------
    
  #!/usr/bin/perl
  use LWP::Simple;
  my $1_url = 
"http://127.0.0.1:9000/settings/status.txt?p0=pause&p1=1&player=31:14:21:14:87:39;cauth=redacted";;
  my $1_status = get $1_url;
  print $1_status;
  my $2_url = 
"http://127.0.0.1:9000/settings/status.txt?p0=pause&p1=1&player=00:04:20:05:59:be;cauth=redacted";;
  my $2_status = get $2_url;
  print $2_status;
  
--------------------


Both URLs work in a browser... but in the script, only the second
player is ever affected. Any ideas? Thanks,


-- 
stinkingpig

"That which does not kill you makes you bitter and cynical." -- Too Much
Coffee Man
------------------------------------------------------------------------
stinkingpig's Profile: http://forums.slimdevices.com/member.php?userid=547
View this thread: http://forums.slimdevices.com/showthread.php?t=48769

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

Reply via email to