A Logitech Media Server plea, please June 15, 2016 01:06PM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 16, 2016 03:08AM |
Registered: 11 years ago Posts: 169 |
Re: A Logitech Media Server plea, please June 16, 2016 04:58AM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 16, 2016 05:15AM |
Registered: 11 years ago Posts: 169 |
Re: A Logitech Media Server plea, please June 16, 2016 09:51AM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 16, 2016 10:17AM |
Registered: 9 years ago Posts: 429 |
Re: A Logitech Media Server plea, please June 16, 2016 10:34AM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 16, 2016 11:03AM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 16, 2016 11:42AM |
Registered: 9 years ago Posts: 429 |
Re: A Logitech Media Server plea, please June 16, 2016 11:53AM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 16, 2016 12:29PM |
Registered: 9 years ago Posts: 73 |
2016-06-16 10:26:38 Logitech Media Server died. Restarting. 2016-06-16 10:26:43 Logitech Media Server died. Restarting. 2016-06-16 10:26:48 Logitech Media Server died. Restarting. 2016-06-16 10:26:53 Logitech Media Server died. Restarting. 2016-06-16 10:26:58 Logitech Media Server died. Restarting. 2016-06-16 10:27:03 Logitech Media Server died. Restarting. 2016-06-16 10:27:08 Logitech Media Server died. Restarting. 2016-06-16 10:27:13 Logitech Media Server died. Restarting. 2016-06-16 10:27:18 Logitech Media Server died. Restarting. 2016-06-16 10:27:23 Logitech Media Server died. Restarting. 2016-06-16 10:27:28 Logitech Media Server died. Restarting. 2016-06-16 10:27:33 Logitech Media Server died. Restarting. 2016-06-16 10:27:38 Logitech Media Server died. Restarting. 2016-06-16 10:27:43 Logitech Media Server died. Restarting. 2016-06-16 10:27:48 Logitech Media Server died. Restarting. 2016-06-16 10:27:54 Logitech Media Server died. Restarting.
Re: A Logitech Media Server plea, please June 16, 2016 01:22PM |
Registered: 10 years ago Posts: 1,037 |
Re: A Logitech Media Server plea, please June 16, 2016 01:58PM |
Registered: 9 years ago Posts: 429 |
Re: A Logitech Media Server plea, please June 16, 2016 02:12PM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 16, 2016 02:13PM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 16, 2016 03:05PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: A Logitech Media Server plea, please June 16, 2016 03:12PM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 16, 2016 03:24PM |
Admin Registered: 13 years ago Posts: 19,114 |
Quote
You can download them here: https://server.vijge.net/static/sque...i-64int.tar.gz Just extract this to /usr/share/squeezeboxserver/CPAN/arch/5.20/ After that you can start LMS with "sudo /etc/init.d/logitechmediaserver start"
Re: A Logitech Media Server plea, please June 16, 2016 03:37PM |
Registered: 9 years ago Posts: 73 |
>Quote
You can download them here:
> https://server.vijge.net/static/sque...i-64int.tar
> .gz Just extract this to
> /usr/share/squeezeboxserver/CPAN/arch/5.20/ After
> that you can start LMS with "sudo
> /etc/init.d/logitechmediaserver start"
Re: A Logitech Media Server plea, please June 16, 2016 03:46PM |
Registered: 9 years ago Posts: 73 |
>Quote
You can download them here:
> https://server.vijge.net/static/sque...i-64int.tar
> .gz Just extract this to
> /usr/share/squeezeboxserver/CPAN/arch/5.20/ After
> that you can start LMS with "sudo
> /etc/init.d/logitechmediaserver start"
Re: A Logitech Media Server plea, please June 16, 2016 03:49PM |
Registered: 9 years ago Posts: 429 |
Re: A Logitech Media Server plea, please June 16, 2016 03:59PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: A Logitech Media Server plea, please June 16, 2016 04:39PM |
Registered: 10 years ago Posts: 1,037 |
#!/bin/sh # # $Id$ # # logitechmediaserver initscript for slimserver.pl # This file should be placed in /etc/init.d. # # Original Author: Mattias Holmlund # # Updated By: Dan Sully, Michael Herger # ### BEGIN INIT INFO # Provides: logitechmediaserver # Required-Start: $all # Required-Stop: $all # Should-Start: $all # Should-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Startup script for the Logitech Media Server # Description: Logitech Media Server powers the Squeezebox, Transporter and SLIMP3 network music \ # players and is the best software to stream your music to any software MP3 \ # player. It supports MP3, AAC, WMA, FLAC, Ogg Vorbis, WAV and more! \ # As of version 7.7 it also supports UPnP clients, serving pictures and movies too!" ### END INIT INFO # set -e PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DESC="Logitech Media Server" NAME=squeezeboxserver NEWNAME=logitechmediaserver DAEMON=/usr/sbin/$NAME DAEMON_SAFE=/usr/sbin/${NAME}_safe PIDFILE=/var/run/$NEWNAME.pid SCRIPTNAME=/etc/init.d/$NEWNAME SLIMUSER=$NAME PREFSDIR=/var/lib/$NAME/prefs LOGDIR=/var/log/$NAME/ CACHEDIR=/var/lib/$NAME/cache CHARSET=utf8 SLIMOPTIONS= # Read config file if it is present. if [ -r /etc/default/$NEWNAME ]; then . /etc/default/$NEWNAME elif [ -r /etc/default/$NAME ]; then . /etc/default/$NAME fi # # Function that starts the daemon/service. # d_start() { # Use squeezeboxserver_safe to restart the daemon when # it dies. This must be done to handle mysql restarts. start-stop-daemon --start --quiet \ --chuid $SLIMUSER \ --pidfile $PIDFILE \ --exec $DAEMON_SAFE \ --background \ --make-pidfile \ -- \ $DAEMON \ --prefsdir $PREFSDIR \ --logdir $LOGDIR \ --cachedir $CACHEDIR \ --charset=$CHARSET \ $SLIMOPTIONS } d_start_direct() { start-stop-daemon --start --quiet \ --chuid $SLIMUSER \ --pidfile $PIDFILE \ --exec $DAEMON \ -- \ --pidfile $PIDFILE \ --daemon \ --prefsdir $PREFSDIR \ --logdir $LOGDIR \ --cachedir $CACHEDIR \ --charset=$CHARSET \ $SLIMOPTIONS } # Function that stops the daemon/service. # d_stop() { ## This is a bug in the start-stop-daemon that checks the PID name from the /proc/PID/stat filesystem... ## Unfortunately this cuts-off the name of the daemon because its longer now, and then it doesnt get ## caught by the start-stop-daemon. The daemon actually reports it as squeezeboxserve instead of ## squeezeboxserver_safe. start-stop-daemon --oknodo --stop --pidfile $PIDFILE --retry=TERM/30/KILL/5 } # # Function that sends a SIGHUP to the daemon/service. # d_reload() { start-stop-daemon --stop --quiet --pidfile $PIDFILE --signal 1 } case "$1" in start) echo -n "Making sure that $DESC is not running first: " d_stop echo -n "Starting $DESC" d_start echo "." ;; stop) echo -n "Stopping $DESC" d_stop echo "." ;; restart|force-reload) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # echo -n "Restarting $NAME" d_stop d_start echo "." ;; *) # echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0
Re: A Logitech Media Server plea, please June 16, 2016 07:42PM |
Registered: 10 years ago Posts: 1,037 |
Re: A Logitech Media Server plea, please June 16, 2016 07:57PM |
Registered: 10 years ago Posts: 1,037 |
#download service file cd /etc/systemd/system wget http://dl.dropbox.com/u/42238/pogoplug/v2/squeezelite.service #edit name (optional) #nano /etc/systemd/system/squeezelite.service #start squeezelite and avahi-daemon systemctl start squeezelite avahi-daemon #autostart squeezelite and avahi-daemon on reboot systemctl enable squeezelite avahi-daemon ---> [Unit] Description=Squeezelite lightweight headless squeezebox emulator After=sound.target Requires=avahi-daemon.service After=network.target After=avahi-daemon.service [Service] ExecStart=/usr/local/bin/squeezelite -n PogoPlug_SqueezeLite Restart=always [Install] WantedBy=multi-user.target ----->
Re: A Logitech Media Server plea, please June 16, 2016 08:23PM |
Registered: 9 years ago Posts: 429 |
Re: A Logitech Media Server plea, please June 17, 2016 04:37AM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 17, 2016 05:02AM |
Registered: 9 years ago Posts: 73 |
Re: A Logitech Media Server plea, please June 17, 2016 05:11AM |
Registered: 10 years ago Posts: 1,037 |
# ------------> [Unit] Description=Logitech Media Server Daemon After=network.target [Service] PIDFILE=/var/run/squeezeboxserver.pid ExecStart=/usr/sbin/squeezeboxserver KillSignal=SIGINT Restart=on-failure RestartSec=5 [Install] WantedBy=multi-user.target #------------>
as with all things, create a backup of your working configuration before you attempt this.
Re: A Logitech Media Server plea, please June 17, 2016 05:19AM |
Registered: 10 years ago Posts: 1,037 |