I'd like to give my Windows always-on-music-server PC unattended control
of my SqueezeBox reveicer, ie. query to see if the receiver is idle, and
if so switch it to SqueezeNetwork/mySqueezeBox.com and power off the
receiver.
I read the help file about the CLI, but while it lists all the commands
Hi
I'm interested in finding out about the CLI that's available in Slim
Server. I've found the wiki page on CLI which give a couple of examples
but I was wondering if there's a complete list of commands and an
explanation of what they do anywhere?
Cheers
--
Stoker
--ian
Follow the Help link in SC.
http://yourserver:9000/html/docs/cli-api.html used to work too but
haven't tried it in a while.
--
Siduhe
Who am I on 'LAST.FM' (http://www.last.fm/user/siduhe)?
-Siduhe Loved Tracks radio got the thumbs up. Feedback included: yeah,
it's good... got the odd dodgy
I'm trying to pause two players with a cron job. I've used a Perl LWP
script:
Better take a look at the CLI (doc available from SC's help section): you
can send simple commands using netstat or something to SC.
Michael
___
discuss mailing list
That seems like it will work better, certainly simpler. I've got this in
crontab now:
30 22 * * * echo 31:14:21:14:87:39 pause 1 | nc localhost 9090 -w 1
30 22 * * * echo 00:04:20:05:59:be pause 1 | nc localhost 9090 -w 1
Let's see how it goes tonight.
--
stinkingpig
That which does not
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=pausep1=1player=31:14:21:14:87:39;cauth=redacted;;
my $1_status = get $1_url;
Wild stab in the dark have you tried pausing a few seconds between
each get ?
I'm thinking it may be a timing issue of some sort.
--
GlenL
GlenL's Profile: http://forums.slimdevices.com/member.php?userid=14364
View
Yeah, I tried that, and I tried separating the commands into two scripts
in case there was some sort of browser ID issue... no soap.
--
stinkingpig
That which does not kill you makes you bitter and cynical. -- Too Much
Coffee Man
When you say only one player is affected, do you mean both queries pause
the same player, or one of them has no affect at all?
--
radish
radish's Profile: http://forums.slimdevices.com/member.php?userid=77
View this
Both queries pause player 1.
Here's output of those print statements:
Paused (53 of 78)
53
Paused (53 of 78)
53
--
stinkingpig
That which does not kill you makes you bitter and cynical. -- Too Much
Coffee Man
Ive looked around a bit but I cant seem to find a list of commands for
slimserver's command line. Could some one point me to it ...Im thinking
of making a pretty simple winamp plugin for controlling my slimserver
without opening the web browser.
...if there's one already out please lemme know (I
nomad311;247267 Wrote:
Ive looked around a bit but I cant seem to find a list of commands for
slimserver's command line. Could some one point me to it ...Im thinking
of making a pretty simple winamp plugin for controlling my slimserver
without opening the web browser.
...if there's one
Thanks for the reply. I still don't understand how this would work. Am I
not correct in that using the CLI interface requires telnet'ing the
slimserver ? If so, how would I use lirc to issue commands ? E.g. what
script would, when invoked from a regular terminal promt, issue
commands at the
Hi,
I've got Softsqueeze playing music from my slimserver and want to be
able to have basic playback control using a lirc-compatible remote. My
plan was to use irexec to execute commands (/bin/sh equivalent). I was
imagining something in the style of either:
$slimserver -playerid
Had a look at the CLI interface but I don't see how to do this as this
requires logging into the slimserver.
Have a look at the playlist commands. They take the player ID as the first
parameter:
playerid playlist index +1
...whould forward to the next song.
--
Michael
Is there a way of just writing a simple batch file using the command
line that would start a playlist in shuffle mode, etc?
I've been reading the documentation and it mentions using telnet to do
an interactive session, but I really don't need this. I just want to
pass simple command sets from
On Wed, May 11, 2005 at 03:48:36PM -0700, Bill Moseley wrote:
Is there a utility available to send commands to the slimserver via
a system call? I know I can connect to port 9090 -- but I'm wondering if
there's already a program available that will work with my existing
setup.
you could use
From: SlimPickins
I have successfully communicated with SlimServer but I am not getting
the results I would expect:
9b:97:69:35:7c:ae pause 1
This will pause my playback, but sending either of the following will
not unpause my playback:
9b:97:69:35:7c:ae pause 0
9b:97:69:35:7c:ae pause
Does
It should be pretty easy to add in some simple commands to the
Softsqueeze command line (e.g. Play, Pause, Rew, Fwd, etc.) but not so
easy to add a command-line display. Let me know if adding the commands
would be useful, I might have some time tomorrow to squeeze it in ;).
That does sound
19 matches
Mail list logo