Slim Server / Squeezebox plugin
Posted: January 4th, 2007, 8:21 pm
Hi,
I'm new to this forum. I'm a SageTV user and have written several plugins for this excellent PVR package, one of them being a Slim Server player based on SoftSqueeze. SoftSqueeze is a software version of the Squeezebox player. Recently I bought a LCD display for displaying slim server player status info, so I don't need to turn on the TV when I want to listen to Internet Radio. I wanted to use LCD Smartie, but found out there wasn't a plugin for slim server yet. So I decided to have a try. And because C# is not very different from Java (I'm a professional Java programmer) it didn't take long.
This is a LCD Smartie plugin which provides displaynow information from the slim server.
It will show the textual "display now" information currently shown on the players connected to a slim server.
Normally the information shown on a squeezebox consists of two lines.
Use the following commands to show this info via LCD Smartie.
first line first player:
$dll(ssplugin.dll,1,0,)
second line first player:
$dll(ssplugin.dll,2,0,)
first line second player:
$dll(ssplugin.dll,1,1,)
second line second player:
$dll(ssplugin.dll,2,1,)
and so on
If the Slim server is not running the text "no server" will be displayed.
If a player is not running the text "no player"will be displayed.
Installation:
copy ssplugin.dll to plugin folder of LCD Smartie.
The first time you load the plugin it will create some entries in LCD Smartie's config.ini file:
[Slim Server]
Host=127.0.0.1
Port=9090
RefreshRate=500
You can change the Host parameter if Slim Server is not running on the smae machine as LCD Smartie. You can use either hostnames or Ip addresses here.
The Port parameter defines the Command Line Interface port the slim server is listening on. If you didn't change this in the Slim server
config than the default 9090 is valid.
The RefreshRate (in millis) determines the interval between consecutive displaynow commands sent to the Slim Server to retrieve the current display text.
There's a non configurable interval (10 times the RefreshRate value) which is used to query the Slim Server for Players that are active.
Enjoy.
- Chris
I'm new to this forum. I'm a SageTV user and have written several plugins for this excellent PVR package, one of them being a Slim Server player based on SoftSqueeze. SoftSqueeze is a software version of the Squeezebox player. Recently I bought a LCD display for displaying slim server player status info, so I don't need to turn on the TV when I want to listen to Internet Radio. I wanted to use LCD Smartie, but found out there wasn't a plugin for slim server yet. So I decided to have a try. And because C# is not very different from Java (I'm a professional Java programmer) it didn't take long.
This is a LCD Smartie plugin which provides displaynow information from the slim server.
It will show the textual "display now" information currently shown on the players connected to a slim server.
Normally the information shown on a squeezebox consists of two lines.
Use the following commands to show this info via LCD Smartie.
first line first player:
$dll(ssplugin.dll,1,0,)
second line first player:
$dll(ssplugin.dll,2,0,)
first line second player:
$dll(ssplugin.dll,1,1,)
second line second player:
$dll(ssplugin.dll,2,1,)
and so on
If the Slim server is not running the text "no server" will be displayed.
If a player is not running the text "no player"will be displayed.
Installation:
copy ssplugin.dll to plugin folder of LCD Smartie.
The first time you load the plugin it will create some entries in LCD Smartie's config.ini file:
[Slim Server]
Host=127.0.0.1
Port=9090
RefreshRate=500
You can change the Host parameter if Slim Server is not running on the smae machine as LCD Smartie. You can use either hostnames or Ip addresses here.
The Port parameter defines the Command Line Interface port the slim server is listening on. If you didn't change this in the Slim server
config than the default 9090 is valid.
The RefreshRate (in millis) determines the interval between consecutive displaynow commands sent to the Slim Server to retrieve the current display text.
There's a non configurable interval (10 times the RefreshRate value) which is used to query the Slim Server for Players that are active.
Enjoy.
- Chris