Re: [SlimDevices: SqueezeCenter] LMS recognizes data but does not display it

2022-11-27 Thread Paul Webster


Try increasing the log level for the scanner.
Settings/Advanced/Logging
then scroll down for scanner stuff



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=117129

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS recognizes data but does not display it

2022-11-27 Thread Ferunimas


Does somebody still have an idea? Unfortunately the problem from the
original thread is not yet solved. I would be grateful for any hint.



Ferunimas's Profile: http://forums.slimdevices.com/member.php?userid=73183
View this thread: http://forums.slimdevices.com/showthread.php?t=117129

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS on Old Desktop with lubuntu 18.04

2022-11-27 Thread Man in a van


Linux Mint has a 32 bit distro

'https://linuxmint.com/edition.php?id=297
' (https://linuxmint.com/edition.php?id=297)

and headless is possible on a basic Debian install ( a bit more work)

One has to build the binaries for LMS on 32 bit

and there is also 

https://www.raspberrypi.com/software/raspberry-pi-desktop/

again, a 32 bit install.

I have an old shuttle with an Intel Atom that runs Linux Mint 64 bit
fine, if a little slowly :)

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=117134

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] LMS on Old Desktop with lubuntu 18.04

2022-11-27 Thread Roy Leith


When I found that Synology no longer supported LMS I decided to revert
to Plan A: use a desktop computer. My chosen computer is an Acer Revo,
but my model has a poorly specced Intel Atom. It claims to be X64, but
chokes on a 64bit Linux distribution. I installed lubuntu 18.04 (the
most recent 32bit distribution I could find). Lubuntu requires very
little of the computer resources and still manages a useful performance.


I wanted to have the choice of running it as a full desktop system with
a monitor mouse and keyboard or running it 'headless' just to have LMS
running.
Full desktop mode is important for adding new music files, LMS modules
and general system updates. 

Even the Synology NAS, consumes about 8 Watts at idle. The tiny Revo
consumes about 28 Watts at idle. For this reason, I only wanted it
running when it was in use, I wanted to be able to push the Power button
and go straight into running the LMS. When I had finished, I wanted to
push the Power button and have it shut down.

Problem No. 1 is that Lubuntu 18.04 requires a password to boot. Problem
No. 2 is that it still brings up a login requester even when set to
passwordless login.

SETTING LUBUNTU 18.04 TO PASSWORDLESS, AUTO-LOGIN.

Change /etc/lightdm/lightdm.conf so that it looks like this,

> [SeatDefaults]
> autologin-user=
> autologin-user-timeout=0
> user-session=Lubuntu
> greeter-session=lightdm-gtk-greeter
> 

If there is no lightdm.conf file, create one (sudo leafpad - because you
need root permissions). If there is no last blank line, your system
might freeze.

STARTING UP LMS WITHOUT A PASSWORD.

This requires a change to the sudo system. You should consider using
visudo to do the text editing as this will check the syntax.

> visudo -f /etc/sudoers.d/logitech

If you are careful, you can still use sudo leafpad. Make sure there is a
blank line at the end of the file.

File Name: /etc/sudoers.d/logitech

>  ALL=(ALL) NOPASSWD: /usr/sbin/service 
> logitechmediaserver *
> 

This file uses the * character to match all of the LMS commands such as
start, stop and restart.
Leaving the /etc/sudoers file alone and putting the entries in
/etc/sudoers.d should mean that updates will not delete the
configuration.

Try,

> sudo service logitechmediaserver start

It should run without a password being necessary. You shouldn't need to
reboot.

RUN LMS AT STARTUP

If you do your own research, you may find solutions based on rc.d.
During a lubuntu update I saw the line,

> update-rc.d: warning: start and stop actions are no longer supported;
> falling back to defaults

When I tried one of these methods, LMS started passwordless, but with
user=Root. Nothing I could find would make it revert to user =.

I reinstalled lubuntu and LMS. 

The official Ubuntu method is very easy (and safe). You could just
create a file with leafpad
(/home/roy/.config/autostart/logitechmediaserver), but I suggest,

> sudo apt install gnome-startup-applications
> 
> gnome-session-properties

Click Add and enter the command to be executed at login (name and
comment are optional). For example, to make Firefox start automatically,
it's sufficient to type 'firefox' in the Command field and confirm with
Add. In our  case, type 'sh ' (you need the space as the third
character) and browse to the startup file.

I created the file ~/home//Startup/logitechmediaserver.sh

> sudo service logitechmediaserver start
> sleep 3s
> 

Change the file permissions to make it executable. The line 'sleep 3s'
allows time for any text that may be sent to stdio. It works without,
but best to be safe.

If you reboot, you should be able to type the URL 127.0.0.1:9000 into
Firefox or another browser and it should load up the LMS user
interface.

I also use this method to get the screen resolution higher to make the
menus in apps like Libreoffice-writer larger: 'xrandr --dpi 130' in
file, xrandr.sh.

XFCE POWER MANAGER

Lubuntu defaults to 'Ask' when the power button is pressed: it brings up
the logout menu.

Change 'When Power Button Is Pressed' from 'ask' to 'Shutdown'
Reboot.

Oh dear, does it still bring up the logout menu? There appears to be a
bug in Xfce Power Manager. 

>  ~/.config/xfce4/xfconf/xfce-perchannel-xml /xfce4-power-manager.xml 

has the correct line,

> 

but it is ineffective.

There is a possible work around. If you do not have an /etc/acpi
folder,

> sudo apt-get install acpid

Check /etc/acpi/powerbtn.sh 

delete all but the last line,
> /sbin/shutdown -h now "Power button pressed"
> 

If the file does not exist, create it.

Reboot

If you still get the logout menu, try pushing the Power button for a
moment and then pressing 'Enter' on the keyboard. If this closes the
system, then this is your only way of doing it in 'headless' mode.

Restore powerbin.sh to its previous contents, or delete it altogether if
you added it. If you installed acpid, then uninstall it.



Roy Leith's Profile: 

Re: [SlimDevices: SqueezeCenter] Logitech Media Server 8.3.0 released

2022-11-27 Thread chrisinparis


mherger wrote: 
> > Not sure where I could find the info (most certainly here with a few
> > hours of searching), but what is the latest LMS version I could use
> with
> > Mac Min I running 10.7.5?
> 
> LMS 8.3.1 should work again on older Macs.

I got out my old white macbook to test there first - it too is a core2
duo running 10.7.5.  Installation went fine but it will not start; can
you see anything obvious?


Code:

badger:server christopher$ uname -a
  Darwin badger.localdomain 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 
16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386 i386
  badger:server christopher$ pwd
  /Library/PreferencePanes/Squeezebox.prefPane/Contents/server
  badger:server christopher$ ./slimserver.pl
  The following modules failed to load: EV JSON::XS YAML::XS
  
  
  This is perl 5, version 12, subversion 3 (v5.12.3) built for 
darwin-thread-multi-2level
  (with 2 registered patches, see perl -V for more detail)
  
  Copyright 1987-2010, Larry Wall
  
  Perl may be copied only under the terms of either the Artistic License or the
  GNU General Public License, which may be found in the Perl 5 source kit.
  
  Complete documentation for Perl, including FAQ lists, should be found on
  this system using "man perl" or "perldoc perl".  If you have access to the
  Internet, point your browser at http://www.perl.org/, the Perl Home Page.
  
  
  ***
  
  NOTE:
  
  If you're running some unsupported Linux/Unix platform, please use the 
buildme.sh
  script located here:
  
  https://github.com/Logitech/slimserver-vendor/tree/public/8.3/CPAN
  
  If 8.3 is outdated by the time you read this, Replace "8.3" with the major 
version
  You should never need to do this if you're on Windows or Mac OSX. If the 
installers
  don't work for you, ask for help and/or report a bug.
  
  ***
  
  
  Exiting..
  Can't locate Tie/Cache/LRU.pm in @INC (@INC contains: /Library/Application 
Support/Squeezebox /Users/christopher/Library/Application Support/Squeezebox 
/Library/PreferencePanes/Squeezebox.prefPane/Contents/server 
/Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 
/Network/Library/Perl/5.12/darwin-thread-multi-2level 
/Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 
/System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level 
/System/Library/Perl/Extras/5.12 .) at 
/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/OS/OSX.pm
 line 299.
  INIT failed--call queue aborted at ./slimserver.pl line 176.
  badger:server christopher$ 




chrisinparis's Profile: http://forums.slimdevices.com/member.php?userid=11963
View this thread: http://forums.slimdevices.com/showthread.php?t=117012

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter