Mnyb | 23 May 04:15

Preset file and folder permissions


I know how change permissions and owners on files and folders .

But this is applies to files and folders that's already there . So you
have to fix such things after the fact.

I want a folder where new files and folders that are added get a
specific set of permissions regardless of what the app that created it
was ( or which user was running it )

------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=95267
albertone74 | 22 May 20:40

LMS on openelec


Dear all,
I have just installed openelec on my server and now I would like to
install LMS. To be honest I really don't know how to do add the
repository and then run the sudo apt-get command as I was used to do it
under Ubuntu 12.04. I like this distro as it has recognized the infrared
port just out of the box!
Thanks in advance for your kind help.

------------------------------------------------------------------------
albertone74's Profile: http://forums.slimdevices.com/member.php?userid=23863
View this thread: http://forums.slimdevices.com/showthread.php?t=95260
audiomuze | 20 May 11:48

Server keeps dying...?


Just installed Ubuntu Server 12.04 64 bit on my Microserver and
installed Squeezeboxserver using the following:

/etc/apt/sources.list:
Code:
--------------------

  # Squeezebox
  deb http://debian.slimdevices.com testing main
--------------------

To remove any remnants of previous installs:

Code:
--------------------
    sudo apt-get remove --purge squeezeboxserver && sudo apt-get install squeezeboxserver
--------------------

The installation goes fine but Squeezeboxserver never comes out of a
coma.  Looking at /var/log/squeezeboxserver/server.log the first entry
reads:
Code:
--------------------
    2012-05-20 10:08:32 squeezeboxserver_safe started.
--------------------

following which all there is, is a continuous string of entries that
read:

(Continue reading)

Enginemusic | 18 May 06:24

Log files say another copy of LMS running.


Copying this from thread about CPU hogging as I'm not sure it's the same
issue the OP of that thread has.  I appear to have two copies of LMS
running on my machine.

Dualcore 2Ghz system with 2G ram, running Kubuntu 12.04. System is not
"stuck" scanning music folder. I have no plugins and am using LMS 7.7.2
- r33893

I just looked at the LMS log file and see this:

/usr/share/squeezeboxserver/lib/Log/Log4perl/Logger.pm line 900
2012-05-16 19:19:42 Logitech Media Server died. Restarting.
[12-05-16 19:19:43.5750] main::init (354) Starting Logitech Media Server
(v7.7.2, r33893, Wed Mar 14 05:46:46 PDT 2012) perl 5.014002
[12-05-16 19:19:43.7058] Slim::Networking::UDP::init (39) FATAL: There
is already another copy of the Logitech Media Server running on this
machine. (Address already in use)
[12-05-16 19:19:43.7061] Log::Log4perl::Logger::and_die (868) Warning:
FATAL: There is already another copy of the Logitech Media Server
running on this machine. (Address already in use) at
/usr/share/squeezeboxserver/lib/Log/Log4perl/Logger.pm line 900

This happens (and gets logged) about every five seconds, constantly. How
do I fix this?

------------------------------------------------------------------------
Enginemusic's Profile: http://forums.slimdevices.com/member.php?userid=33727
View this thread: http://forums.slimdevices.com/showthread.php?t=95213
(Continue reading)

albertone74 | 16 May 00:15

Squeezebox won't scan my library under Ubuntu! Please help!


Hi all,
First of all I apologize if this has been already asked before. I have
installed Squeezebox on my new server running Ubuntu 12.04. Basically
any folder I pick up (like for example /home/user/music) when I hit the
button "Clear library and rescan everything" no albums/songs are found
at all. Am I missing anything? I hope you can help me out with this as I
am going nuts, I can't work it out!
Many thanks in advance for your kind help.
Regards,
Alberto

------------------------------------------------------------------------
albertone74's Profile: http://forums.slimdevices.com/member.php?userid=23863
View this thread: http://forums.slimdevices.com/showthread.php?t=95176
gharris999 | 15 May 04:06

How to manage running multiple branchs of LMS git code


This is proposed wiki how-to.  I thought I'd roll it out here first to
elicit comments.  Anyone please chime in here.  If I receive enough
positive feedback, I'll author a wiki page on this topic.

Goal:

Using minimal download bandwidth and a minimal on-disc footprint, allow
one to run any branch of squeezeboxserver / logitechmediaserver as a
service and to easily allow switching between installed branches.

Assumptions:

    
- Running on Ubuntu or some debian based distro.
- Service will run under the user account 'lms'.
- Local git repository will reside at /usr/share/lms/server.
- We'll create separate data and log directories for any branch we're
  going to run.
- Those data and log dirs will be at /var/lib/lms_data/${BRANCHNAME}
  and /var/log/lms_log/${BRANCHNAME}
- Those data and log dirs will be linked to /var/lib/lms and
  /var/log/lms
- We'll create a generic 'lms' service for running the code.
- We'll have a script for easily switching between branches.

Preparation:

Become root

(Continue reading)

gharris999 | 2 May 18:31

Bash script to reconfigure network


I always put my squeezebox servers on a static ip address at x.x.x.222. 
I have a series of scripts that I use to configure eth0, the firewall
and samba for the static ip.  I'd like to come up with a way for
rc.local to figure out if a server has been moved to a new subnet and
then automagically reconfigure the network interface, etc.  This is what
I've come up with thus far.  I'm sure it can be improved upon.  Anyone
have any ideas?

Code:
--------------------

  #!/bin/sh

  # script to reconfigure network if the subnet changes..

  DEFAULTIP='192.168.0.222'

  IPADDR=`ifconfig eth0 | sed -rn 's/.*r:([^ ]+) .*/\1/p'`
  ROUTER=`echo $IPADDR | sed -n 's/\(.\{1,3\}\)\.\(.\{1,3\}\)\.\(.\{1,3\}\)\..*/\1\.\2\.\3\.1/p'`

  echo "Attempting to ping ${ROUTER}.."
  /bin/ping -c 1 $ROUTER > /dev/null 2>&1

  #if ping -c 1 $ROUTER > /dev/null 2>&1
  if [ $? -gt 0 ]; then
  echo "${ROUTER} does not respond to ping.."

  DHCPINFO='/tmp/dhcpinfo.txt'
  dhclient -1 -d -nw eth0 &>$DHCPINFO &
(Continue reading)

SlimChances | 29 Apr 22:19

Does the latest Squeezeplay download work


Has anyone succeeded in getting the latest(7.8) or any of the
Squeezeplay .deb downloads to install and work correctly. Presently I am
running Squeezeplay on Ubuntu 10.10 that I was able to compile with
instructions from this site
http://www.jfwhome.com/2009/11/22/compiling-squeezeplay-on-linux-ubuntu-amd64/.
The instructions are quite old now and I am building a new computer with
Ubuntu 12.04 and am hopeful that there is a simple way to download and
install Squeezeplay.
I say I compiled Squeezeplay originally but it was with quite specific
instructions and I would not know how to to do it otherwise.

------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=94994
gharris999 | 28 Apr 14:43

Cron support for SrvrPowerCtrl


Please forgive this self-promoting cross post, but I've just added a new
feature to the Server Power Control plugin which may be of interest to
LMS linux users.  

In prior versions, Server Power Control has had the ability to program a
server's RTC wake alarm hardware so that suspended or hibernating
servers were woken out of slumber in order to service Squeezebox alarms
or scheduled library scans, etc.  Now, I've added the ability for Server
Power Control to parse the root contab and schedule system wake-ups
based on events there too.  MS Windows has had this sort of ability
built-into the system event scheduler since (I believe) Vista.  But I
haven't known of a similar facility in Linux.  Server Power Control now
tries to fill that gap.

Example:  say you've added the event:

Code:
--------------------

  0 2 * * 2 /usr/local/sbin/big-chores.sh

--------------------

..via # sudo crontab -e

..i.e. cron runs the big-chores.sh script file every Tuesday at 2:00 am.
SrvrPowerCtrl will now examine the crontab (via sudo crontab -l),
determine when the next event will occur, and schedule a system wake-up
for five minutes beforehand.
(Continue reading)

Mnyb | 24 Apr 07:17

New desktop what now ?


Hi I'm been solely on Linux for the last few years ( except work ) and
been relatively happy with ubuntu up to 10.04 + Cairo docks which I have
now . ( win XP drive died unnoticed in the background one day a couple
ofmyears ago )

Now it's time to retire the old dual core P4 from 2005 :P I'm using ( it
is coming to pieces mucho internal parts broken )

So I've ordered some newfangled stuff with i7 ssd 16gb memory etc and
gtx680 , it will ship with win 7 of course .
So that I could play some games again ( it was years since I've done
that ) and running the software you can't on Linux .

But for everyday use is till like a Linux distro ? But what ?

Ubuntu made thier OS to a cellphone with unity ? I have no problem with
gnome 2.3 + Cairo docks I've never tried kde or xfce ? Does choice of
desktop limit you choice of applications ?

What now Mint 12, Fedora 16 , Suse ? Aargh :-/

------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=94916
cptdondo | 21 Apr 15:32

Streaming volume control?


I am new to Squeezebox.

I am trying to set up a system where the music being played can be
controlled through a browser.  I set up squeezebox server and loaded my
music.  So far so good.

For the player, I am using mplayer streaming:

mplayer -really-quiet -cache 8192 -cache-min 5
URL_WOULD_GO_HERE/stream.mp3

This works really well, except that the volume control in the Squeezebox
server doesn't work.  I need a volume control...

So... How should I set up Squeezebox server + some sort of software
player to play music with a functional volume control in the squeezebox
server?

Is there some way to hook the Squeezebox server directly into
pulseaudio?

------------------------------------------------------------------------
cptdondo's Profile: http://forums.slimdevices.com/member.php?userid=55847
View this thread: http://forums.slimdevices.com/showthread.php?t=94875

Gmane