hi MillmoorRon, I did this last week. Here's a snippet of code.
$LMSIP is the IP address of your LMS server. You need to preface each command with the player MAC address if you have multiple Squeeze devices. Code: -------------------- # $LMSIP, the LMS server ip address, needs to be manually set in pcp-functions case $COMMAND in random_tracks) echo "$PLAYER_MAC randomplay tracks" | telnet $LMSIP:9090 ;; volume_up) echo "$PLAYER_MAC mixer volume +5" | telnet $LMSIP:9090 ;; volume_down) echo "$PLAYER_MAC mixer volume -5" | telnet $LMSIP:9090 ;; track_next) echo "$PLAYER_MAC playlist index +1" | telnet $LMSIP:9090 ;; track_prev) echo "$PLAYER_MAC playlist index -1" | telnet $LMSIP:9090 ;; play) echo "$PLAYER_MAC play" | telnet $LMSIP:9090 ;; stop) echo "$PLAYER_MAC stop" | telnet $LMSIP:9090 ;; esac -------------------- Look on your LMS server (via web interface) for this information: Help > Technical Information > Command Line Interface regards Greg ------------------------------------------------------------------------ Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=101787 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix