Re: [SlimDevices: SqueezeCenter] A server for us

2020-05-14 Thread carsten_h


If you search for an easy way to shutdown such a Pi with LMS, you can
look into this thread:
https://forums.slimdevices.com/showthread.php?111546-Using-Argon-One-case-with-fan-and-powerbutton-together-with-piCorePlayer=961984=1#post961984
You will find the script which is necessary to make use of the power
button of that enclosure together with piCorePlayer which is customized
by paul-.
This works very well!



carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=112214

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


Re: [SlimDevices: SqueezeCenter] A server for us

2020-05-14 Thread SpiderJon


cfuttrup wrote: 
> ... a hardware 'requirement' (or at least strong recommendation)
> could be to attach a UPS with a small battery. The UPS must support
> 'soft' shutdown, such that
> the LMS database survives. 

There are several UPS Pi HATs available -- see, eg,
https://www.google.com/search?q=raspberry+pi+ups+HAT



SpiderJon's Profile: http://forums.slimdevices.com/member.php?userid=21798
View this thread: http://forums.slimdevices.com/showthread.php?t=112214

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


Re: [SlimDevices: SqueezeCenter] A server for us

2020-05-14 Thread d6jg


Greg Erskine wrote: 
> Hey Claus,
> 
> Good news. I think everything you want has been done. :)
> 
> I've been running LMS on RPi''s not long after the original RPi was
> released.
> 
> We decide to keep piCorePlayer as a single image for both player and
> server. Just install the LMS extension and turn off squeezelite if you
> want.
> 
> I agree with Paul Webster regarding UPS and backups, depending on a
> reasonable power in your area.
> 
> With a bit of practice it takes about 5 minutes to build a player and
> about 15 minutes for a server.
> 
> regards
> Greg

I timed it today. Not including installing plugins and upgrading LMS to
v8 it was less than 10 mins. I have done it quite a few times though.

PS I think maybe 8.0 should now be the version pCP installs by default



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=112214

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


Re: [SlimDevices: SqueezeCenter] A server for us

2020-05-14 Thread d6jg

And you don’t have to trash your Synology NAS. Keep your music there and
mount it as a drive from within piCorePlayer so LMS can use it.
As long as both devices are wired there won’t be any issue whatsoever



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=112214

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


Re: [SlimDevices: SqueezeCenter] A server for us

2020-05-14 Thread Greg Erskine


Hey Claus,

Good news. I think everything you want has been done. :)

I've been running LMS on RPi''s not long after the original RPi was
released.

We decide to keep piCorePlayer as a single image for both player and
server. Just install the LMS extension and turn off squeezelite if you
want.

I agree with Paul Webster regarding UPS and backups, depending on a
reasonable power in your area.

With a bit of practice it takes about 5 minutes to build a player and
about 15 minutes for a server.

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=112214

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


Re: [SlimDevices: SqueezeCenter] A server for us

2020-05-14 Thread Paul Webster


There are a lot of people here and elsewhere using a Raspberry Pi to run
LMS - and many using pCP to do it (it is not just a player).
Unless you live in a area with lots of power cuts it is probably not
worth (in my opinion) worrying much about losing the system on a bad
power down event.

A backup (or 2) of the music library is usually enough.
A rebuild (or using SD card backup) of LMS with a complete rescan of the
library is probably good enough for most.
Unless you really care about last played date or personal ratings for
tracks then you can consider much of the LMS database as fairly easy to
recreate.
The time comes in configuring plugins or special audio hardware - but
those are things that are changed infrequently so a backup can be done
easily enough.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

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

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


[SlimDevices: SqueezeCenter] A server for us

2020-05-14 Thread cfuttrup


With Synology officially discarding support, I wonder what happens when
my DiskStation needs replacement?

Could a Raspberry Pi server (not player) loaded with LMS be designed and
built?
Would it be posible to make something Tiny Core / piCore based, but not
a player, maybe name it piCoreServer?

Since LMS requires a nice shutdown, a hardware 'requirement' (or at
least strong recommendation)
could be to attach a UPS with a small battery. The UPS must support
'soft' shutdown, such that
the LMS database survives. Something with just one minute of battery
operation is required.

I like PiJuice a lot, but is this product on the way out of the market?
PiJuice is maybe a bit expensive, and replaced by lower-cost
alternatives?
Let me know if you have any information about this.
The idea of a product that doesn't require any battery service, e.g.
with supercaps, sounds attractive to me.

Other than that, this LMS server solution requires some sort of storage
support, either with a good
size USB SSD - is it available in a pen format? Reliability is king. Can
we support two
disks (a primary and a backup w. failover that is normally inactive
during reading and therefore with less wear)?
If yes, maybe lower cost flash drives are OK.

On the server side, it should be easy to administrate your music
collection and rescan.
Preferably easy to upload music, maybe easy to delete certain music, if
unwanted, etc.

Anything else server-side, which is desirable? Maintenance options? Easy
software updates?

We don't need an audio card, since this is a server that I'll stove
away.

Is any sort of display and/or loudspeaker (for acoustic information)
required or desired?

/Claus



cfuttrup's Profile: http://forums.slimdevices.com/member.php?userid=32784
View this thread: http://forums.slimdevices.com/showthread.php?t=112214

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


Re: [SlimDevices: SqueezeCenter] xPL - station info

2020-05-14 Thread keynet


Brilliant - thanks. I'll give it a go and post results back here before
submitting the pull request

mherger wrote: 
> >
> - check whether it's remote ($track->remote)
> - if so, get the protocol handler: my $handler = 
> Slim::Player::ProtocolHandlers->handlerForURL($url);
> - see whether it can get you metadata: $handler->can('getMetadataFor')
> - get the data
> - do stuff with it, eg. replacing the empty album info with the stream
> name
> 
> Good luck!
> -- 
> 
> Michael



keynet's Profile: http://forums.slimdevices.com/member.php?userid=68229
View this thread: http://forums.slimdevices.com/showthread.php?t=111936

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


Re: [SlimDevices: SqueezeCenter] CPAN modules error: Image::Scale

2020-05-14 Thread Roland0


Lestrad wrote: 
> Here's what I have (my  is /opt/logitechmediaserver/):
> /opt/logitechmediaserver/CPAN/Image/Scale.pm (version 0.11)
> /opt/logitechmediaserver/CPAN/auto/Image/Scale/Scale.so
> AND
> /usr/lib/perl5/5.30/site_perl/Image/Scale.so (version 0.11)
> 

You should uninstall the package providing
/usr/lib/perl5/5.30/site_perl/Image/Scale.so 
Run:
pacman -Qo /usr/lib/perl5/5.30/site_perl/Image/Scale.so 
to check

> 
> My /opt/logitechmediaserver/modules.conf file says: *"Image::Scale
> 0.08"*
> Uh... I don't suppose I can just change modules.conf to read
> "Image::Scale 0.11"? 
> 
Well spotted. In theory, this shouldn't matter (my installation uses
Image::Scale 0.14 with the same entry):

Code:


  # Format:
  #   [  ]
  


However, since the 0.8 has to come from somewhere, it's certainly worth
a try

> 
> Or what about this: in the directory I installed from,
> /logitechmediaserver/src/slimserver-vendor-7.9.2.arch2/CPAN/buildme.sh 
> 
TBH, I'm not really familiar with Arch. Is the LMS package you are
installing from the AUR / a PKGBUILD ?
If yes, it will be build on your local machine, and therefore will not
be affected by any perl incompatibilities mentioned in other posts in
this thread.



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=112192

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


Re: [SlimDevices: SqueezeCenter] LMS on Raspberry Pi4

2020-05-14 Thread slartibartfast


waldo wrote: 
> imho the problem with max2play not booting is most probably caused by
> incompatibility with kernel and other packages that are upgraded when
> using "apt full-upgrade". I would expect the problem to remain even
> after upgrading the firmware booting with some other image.If I get a spare 
> card I might try your update method on a Max2Play image
although I seem to remember an issue with HDidle as well.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=110838

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


Re: [SlimDevices: SqueezeCenter] CPAN modules error: Image::Scale

2020-05-14 Thread Lestrad

I solved the problem. Here's what I did:
_
- disable logitechmediaserver.service and reboot

- copy Image-Scale-0.08.tar.gz  to //src/slimserver-vendor-7.9.2.arch2/CPAN/

- remove the existing
logitechmediaserver-7.9.2.arch2-1-armv7h.pkg.tar.xz from the
installation folder

- change the references to "Image-Scale-0.11" in
/src/slimserver-vendor-7.9.2.arch2/CPAN/buildme.sh to
"Image-Scale-0.08"

- from the installation directory, run makepkg -s

- verify that the new .xz file
(logitechmediaserver-7.9.2.arch2-1-armv7h.pkg.tar.xz) has been built 

- run sudo pacman -U
logitechmediaserver-7.9.2.arch2-1-armv7h.pkg.tar.xz

- start and enable logitechmediaserver.service

- listen to some music to make sure it's working until the next time...
_

(I found version 0.08 of Image::Scale at
https://www.cpan.org/modules/by-module/Image/)

Thanks to everybody for your help and suggestions! Merci à tous de votre
aide et conseil! If anyone has questions I'd be glad to help.

Les



___
Logitech Media Server Version: Logitech Media Server Version: 7.9.2 -
ARCH-AUR-REL.7.9.2.arch2 running on Wandboard Quad, music library on
SATA HDD
Squeezebox Touch plugged into run-of-the-mill stereo rig via Musical
Fidelity X-Act, extra speakers in kitchen, basement, and bedroom
connected by ordinary (not unidirectional) copper cable.

Lestrad's Profile: http://forums.slimdevices.com/member.php?userid=40857
View this thread: http://forums.slimdevices.com/showthread.php?t=112192

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


Re: [SlimDevices: SqueezeCenter] LMS on Raspberry Pi4

2020-05-14 Thread waldo


slartibartfast wrote: 
> I wonder if a max2play install which doesn't boot after full upgrade
> would work after reinstalling the eeprom. Although I have no idea of
> that can be done on a non booting Pi.
> 

imho the problem with max2play not booting is most probably caused by
incompatibility with kernel and other packages that are upgraded when
using "apt full-upgrade". I would expect the problem to remain even
after upgrading the firmware booting with some other image.



waldo's Profile: http://forums.slimdevices.com/member.php?userid=19888
View this thread: http://forums.slimdevices.com/showthread.php?t=110838

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


Re: [SlimDevices: SqueezeCenter] LMS on Raspberry Pi4

2020-05-14 Thread waldo


slartibartfast wrote: 
> I thought the temperature improvements were tied to kernel changes.
> Isn't the firmware only the bootloader?

In my brief research I found this to be a common belief. I think that
the average person will have difficulty to understand the difference
between firmware and OS Kernel. Raspberry foundation releases firmware
updates to fix the temp problem.

>From my search I found comments about "apt full-upgrade" updating both
the linux Kernel and the firmware (apart from other packages). Maybe
this is source to missunderstandings too.



waldo's Profile: http://forums.slimdevices.com/member.php?userid=19888
View this thread: http://forums.slimdevices.com/showthread.php?t=110838

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


Re: [SlimDevices: SqueezeCenter] LMS on Raspberry Pi4

2020-05-14 Thread waldo


Paul Webster wrote: 
> Just take the colon off the end

Thanks for the hint, Paul. original post edited and URL should work now.



waldo's Profile: http://forums.slimdevices.com/member.php?userid=19888
View this thread: http://forums.slimdevices.com/showthread.php?t=110838

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