mskvarenina;348926 Wrote: > peterw, > > Would you mind posting a small working example. I'm sure if I see it > once I'll be able to modify it to meet my need. > > For example purposes, let's say I wanted to turn on RECEIVER1, set > volume to 50(%) and set the playlist to PLAYLIST1. > > From what you said earlier I'd setup a PERL script and have the Windows > scheduler run it at a specific time.
One relatively easy route is this: open the web interface in Classic mode (http://yourip:9000/Classic/). Look at the right-hand pane. Copy the URL associated with the Power On link, e.g. http://noir:9000/Classic/status_header.html?p0=power&p1=1&player=00%3A04%3A20%3A11%3A22%3A33 Request that URL in a new window. You'll probably see an error that displays a longer URL like http://noir:9000/Classic/status_header.html?p0=power&p1=1&player=00%3A04%3A20%3A11%3A22%3A33;cauth=bigstringhere It's that latter URL that your script should request. In Perl you could use the LWP module to do it. In Linux you'd just use 'wget'. In Windows I'd probably install PowerShell and use a .Net object in a PS1 script (be sure to set the execution policy for powershell to allow unsigned local scripts). Figure out each such URL you need, string 'em together, schedule it. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock ------------------------------------------------------------------------ peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=53643 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss