Hi all,
I have a simple question, but can't seem to find the answer:
I run squeezeboxserver on a Linux host.
I want to write a small (bash) script that queries for the song "now playing".
How to ask that in Bash?
What's the general syntax, and what calls are valid?
Thanks,
rolf
Results 1 to 3 of 3
Thread: CLI on Linux
-
2011-04-04, 07:37 #1Junior Member
- Join Date
- Apr 2011
- Posts
- 8
CLI on Linux
-
2011-04-04, 08:05 #2Banned
- Join Date
- Feb 2008
- Location
- flat rock community, ga
- Posts
- 2,169
In the webUI, go to Help/Technical Information/The Squeezebox Server Command Line Interface. At the top of the screen is a link to go directly to the command index.
Your script would probably pipe input to a telnet command that would pipe output to a file. The script could then grep for the result and display it.
P
-
2011-04-04, 20:03 #3Senior Member
- Join Date
- Oct 2005
- Posts
- 2,769
http://www.tux.org/~peterw/
Note: The best way to reach me is email or PM, as I don't spend time on the forums.
Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock

Reply With Quote

