Make/Model  Device VersionConnection Type
SlimDevices/SlimServer6.50Socket

Description:

This driver provides controls for the SlimDevices SlimServer. SlimServer powers the Squeezebox network music player, the free software SoftSqueeze player as well as the original Squeezebox and SLIMP3 players, and can stream your music to any other software MP3 player. It supports MP3, AAC, WMA, FLAC, Ogg Vorbis, WAV and more. SlimServer is released under the Open Source GPL license.

This driver provides the following functionality:

Quirks and Limitations:

SlimServer provides its own media repository that is separate and distinct from CQC. It is not necessary to set up the SlimServer media repository as CQC will provide all the information to the SlimServer as required for playing media that has been imported into CQC.

Connection Details

Upon installation the driver will ask for the hostname of the SlimServer and the name or ID of the network player it will be managing. If you have multiple network player devices you will need to load this driver multiple times, once for each of the network player devices you wish to manage. Once the driver connects it will communicate with SlimServer for the display and status information for the designated player.

Driver Fields

This section lists the fields that the driver makes available, their types, minimum and maximum values, etc...

Name

Type

R/W

Description/Limits

Busy

Boolean

R

True if the server is currently busy processing a request. This can happen if a large playlist is loaded while SlimServer processes the request.
Warning: When this is True the driver will REJECT any commands sent

CurColArtist

String

R

The currently playing collection artist information (if available)

CurColCookie

String

R

Indicates the collection cookie of the playing media, if any. If none, this will be empty. This is a special field that is used by CQC itself

CurColName

String

R

The currently playing collection name information (if available)

CurFile

String

R

The currently playing file information in UNC format

CurItemBitRate

String

R

The bitrate of the currently playing media item (e.g. 128kps CBR)

CurItemArtist

String

R

The currently playing media item artist information (if available)

CurItemCookie

String

R

Indicates the item cookie of the playing media, if any. If none, this will be empty. This is a special field that is used by CQC itself

CurItemMediaType

String

R

The media type of the currently playing media item (e.g. mp3)

CurItemName

String

R

The currently playing item name information (if available)

CurItemTime

String

R

The elapsed time of the currently playing media item formatted to HH:MM:SS

CurItemTimeSec

Card4

R/W

The elapsed time of the currently playing media in seconds. Changing this field will attempt to change the playback position of the media to the value specified

CurItemTotal

String

R

The duration of the currently playing media item formatted to HH:MM:SS (if available)

CurItemTotalSec

Card4

R

The duration of the currently playing media item in seconds (if available)

CurLabel

String

R

The currently playing media label information (if available)

CurRate

Int4

R/W

The playback rate of the media (1 is normal, 2 is 2x forwards, -2 is 2x backwards etc.) Setting this value will attempt to change the playback speed.

CurStreamRemote

Boolean

R

True if the currently playing media is a remote stream (e.g. shoutcast radio)

CurTitleCookie

String

R

Indicates the title cookie of the playing media, if any. If none, this will be empty. This is a special field that is used by CQC itself

CurTitleName

String

R

The currently playing media title name information (if available)

CurTrackNum

String

R

The currently playing media track number (if available)

CurYear

String

R

The currently playing media year information (if available)

DisplayLine1

String

R/W

The content of the current display line 1 on the network player device. Changing this field will replace the display line 1 on the network player device for 5 seconds (also see the ShowMessage field)

DisplayLine2

String

R/W

The content of the current display line 2 on the network player device. Changing this field will replace the display line 2 on the network player device for 5 seconds (also see the ShowMessage field)

EnqueueMedia

String

W

Write a CQC media repository title, collection or item cookie to this field to append it to the SlimServer play list. See also PlayMedia

LastInfraredCode

String

R

The last Infrared code (both known and unknown) received by the device from any compatible remote control device. This field can be used to set up triggered events in the event manager.

MixerMute

Boolean

R/W

True if the network player device is currently muted. Changing this field will change the mute on the device

MixerVolume

Float8

R/W

The network player device volume. Changing this field will change the volume level on the device

PlayerConnected

Boolean

R

True if the player is connected to the SlimServer or False if the server has timed out the connection (this can take a few minutes)

PlayerMode

String

R/W

The current network player device mode (Play,Pause,Stop,Off). Changing this field will cause the device to change modes accordingly

PlayerName

String

R

The name of the network player device being managed by this driver

PlayerPower

Boolean

R/W

The power state of the network player device. Changing this field will cause the power state of the device to change accordingly

PlayerSignal

Card4

R

The wireless signal strength reported by the network player device

PlaylistAdd

String

W

Pass a URL for an audio stream, the name of a SlimServer favorite or the name of a SlimServer playlist to add it to the end of the current playlist

PlaylistClear

Boolean

W

Set to true to clear the current playlist and stop playback

PlaylistCurIndex

String

R/W

The index of the currently playing media within the playlist. Changing this field will attempt to change the currently playing media to the item at the position specified. You may also use relative positions (e.g. -1, or +1) to move backwards and forwards in the playlist

PlaylistPlay

String

W

Pass a URL for an audio stream, the name of a SlimServer favorite or the name of a SlimServer playlist to clear the playlist and start playing the media immediately

PlaylistRepeat

String

R/W

The current playlist repeat mode (None, Song, Playlist). Setting this field will change the repeat mode

PlaylistSave

String

W

Saves the current playlist with the filename specified

PlaylistShuffle

String

R/W

The current playlist shuffle mode (None, Songs, Albums). Setting this field will change the shuffle mode

PlaylistTracks

Card4

R

The number of tracks in the current SlimServer playlist

PlayMedia

String

W

Write a CQC media repository title, collection or item cookie to this field to play. A cover art browser interface widget is usually configured to write to this field when clicked on

RandomPlay

String

W

Clears the playlist and starts a random play of Tracks, Albums, Artists or Year.
Note: This command requires the random play plugin to be active in SlimServer

RemoteCommand

String

W

Sends the specified remote command to the network media device simulating the same action as a physical remote control on the device

Rescan

Boolean

R/W

If true, indicates a database rescan is in progress. Set this field to true to force a database rescan

SelectMenuPath

String

W

Allows you to select a set of menus to automate player functions such as SlimServer plugins. The menu path is specified from the home (root) and separated by the / character. A menu option can be given as a name or by number by prefixing the number with a # symbol. Example to select the most recent This Week in Tech podcast show:
     Plugins/Podcasts/This Week in Tech/#2

 This command is normally followed by a RemoteCommand of Play.

SetPlayerPref

String

W

Allows you to set any of the SlimServer player preferences. This is an advanced command and should be used with care

ShowMessage

String

W

Displays a message on the network media player screen. There are two versions, the second will use a large font to fill the entire screen. Duration is specified as a number of seconds, brightness is specified as a number from 0 to 4. The display will return to the previous brightness level after the message expires.

Message Line 1\nMessage Line 2\nDuration Brightness\nMessage Duration Brightness

E.g: "Hello\nWorld\n10\n4"

SleepRemaining

String

R

The amount of time remaining before the network media player will turn off formatted as HH:MM:SS

SleepRemainingSec

Float8

R

The amount of time remaining before the network media player will turn off in seconds

SleepSetting

String

R

The sleep setting formatted as HH:MM:SS

SleepSettingSec

Float8

R/W

The sleep setting in seconds. Setting this field will start the sleep countdown or set it to zero to disable

SlimVersion

String

R

The version of the SlimServer

TotalAlbums

Card4

R

The total number of albums in the SlimServer database

TotalArtists

Card4

R

The total number of artists in the SlimServer database

TotalSongs

Card4

R

The total number of songs in the SlimServer database