My LMS was running on an RPi for some time before I consolidated my
media services onto a i7 based NUC like miniPC - Plex & Emby for video
and an option for music and LMS for the music. The RPi did fine but if
you attach more than one portable HDD then you need a powered USB hub.
The throughput
Cheaper still - raspberry pi zero w - about 25 usd with case
LMS server: Pi Zero
Amp: Denon PMA-50
Players/Speakers: Touch, Logitech Radios, Sonos, Libratone Zipp, GGMM
E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google Home Mini, Pioneer
WX-SMA1, O2 Joggler, Cisco Joggler
Brexit =
Another cheap option, and what I use, is Raspberry-Pi using Max2play.
('here' (https://www.max2play.com/en/))
R Greg Dawson
Squeezelite-X
rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View
Many thanks for all the replies. Very much appreciated. I need to go
read up on all this. Meanwhile just running LMS on my office PC which
works fine but Im old fashioned and like things separated physically.
Sent from my iPad using Tapatalk
My understanding is that Logitech no longer supports, or upgrades, LMS,
and that although Michael is employed by Logitech, his work on LMS is
entirely unofficial and is just his own personal interest. If I've
misunderstood, I'm sure Michael will correct me, but that's the way I've
interpreted the
bernt wrote:
> Is that true? I think mherge is a Logitech employee and the mainteainer
> of LMS.
My understanding is that Logitech no longer supports, or upgrades, LMS,
and that although Michael is employed by Logitech, his work on LMS is
entirely unofficial and is just his own personal
bernt wrote:
> Is that true? I think mherge is a Logitech employee and the mainteainer
> of LMS.
I think Dogberry2 was talking about LMS on NAS systems. And it is
increasingly difficult to find "official builds" for direct instalment
on various NAS systems.
*/Stig*
'*rockland*.dk'
Dogberry2 wrote:
> LMS in any flavor is supported by enthusiasts; there is no "officially
> supported" path anymore. I'm still running it on a ReadyNAS Ultra 4, and
> haven't had a hiccup in years; I just upgrade disk storage as needed
> when space gets low (which the ReadyNAS makes very easy).
revoli wrote:
> Thanks. I do have a spare synology NAS but its only the 211 so not up
> to the job.
>
> It sounds as if LMS is now supported by enthusiasts which makes me
> wonder about future proofing. I dont want to shell out for kit only to
> find LMS no longer works on it. Is Pi the
revoli wrote:
>
> It sounds as if LMS is now supported by enthusiasts which makes me
> wonder about future proofing. I dont want to shell out for kit only to
> find LMS no longer works on it. Is Pi the route most folks are taking?
> Whats the best threads /sources to start on with this?
>
revoli wrote:
> Thanks. I do have a spare synology NAS but its only the 211 so not up
> to the job.
>
> It sounds as if LMS is now supported by enthusiasts which makes me
> wonder about future proofing. I dont want to shell out for kit only to
> find LMS no longer works on it. Is Pi the
edwin2006 wrote:
> I would say, take a pi for LMS and store the flac files on a new nas.
I need to do some reading to understand what I can do with a Pi. Where
to start?
revoli's Profile:
LMS runs pretty well on my Netgear readynas 516.
I just upgraded to a 7.9.2 nightly the other day.
It uses one of the LMS debian packages along with a readynas add-in
available from a readynas forum user.
The add-on has not been updated for a while, but seems to work ok with
the new releases.
Another option could be a Synology NAS.
Myself, I replaced my Netgear Ultra 2 with a Synology DS716+II a couple
of years ago, and have only been happy with that choice. It even looks
like the Netgear (and equally fits in my CD-rack;-)). I use the
nightly-based LMS builds for Synology by Pinkdot.
I would say, take a pi for LMS and store the flac files on a new nas.
*SqueezeBoxes:* 2x SB2 (Living room and study), 1x Radio (Kitchen), 1x
Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden)
1x OSMC + Squeezelite (Movie room), 1x Touch (Bedroom)
*Server:* LMS on Pi3
My Readynas Ultra 2 dedicated squeezebox server appears to have given up
the ghost and I need to migrate to something else. Whilst I have a PC
running constantly which could do it the Readynas was so good at
delivering FLAC files around the place I am wondering what people would
recommend? Is
bpa wrote:
> OK, Since you have managed to record CD quality (i.e. 44.1kHz 16bit)
> with "arecord" - making Wavinput work should be easy as it also uses
> "arecord".
>
> Your test will have used the arecord "-D" option to select the capture
> device. (e.g. *arecord -D
advancedcommil wrote:
> Replaced the UCA with a HiFiBerry DAC+/ADC I now have capture showing in
> alsamixer. I was able to record and playback a new test file with
> arecord as well. Here is the output of arecord -l and arecord -L
OK, Since you have managed to record CD quality (i.e. 44.1kHz
advancedcommil wrote:
> I was able to get a clip using arecord to playback with aplay, (I'm
> running Raspbian out of the box so I'm pretty sure that's ALSA) I went
> into "alsamixer" but the USB Audio Codec does not show capture, only
> playback
No capture devices were shown after pressing F4
bpa wrote:
> First thing - make sure you can capture audio from the device using
> something like arecord. I don't know whether your raspbian is running
> ALSA or Pulseaudio - there can be a big difference in setup so
> understanding the basics and then providing full info is essential if
> you
advancedcommil wrote:
> I have a Behringer uca222 that I tried to use as a line in on max2play
> (before I got a bluetooth dongle) I tried playing all the options for
> wavin and never found the stream any tips on what I need to do to make
> it work, I also have LMS installed in Raspian on
See
https://forums.slimdevices.com/showthread.php?109495-Streaming-Line-Audio=Behringer
Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin
Paul Webster's Profile:
I have a Behringer uca222 that I tried to use as a line in on max2play
(before I got a bluetooth dongle) I tried playing all the options for
wavin and never found the stream any tips on what I need to do to make
it work, I also have LMS installed in Raspian on another SD card and
still couldn't
advancedcommil wrote:
> Does anyone have any ideas on a better way to do this with the most
> minimal delay?
Delay to set it up the various components or delay when playing
betrweeninput and output.
In the second case what delays are you experiencing ?
There are tweaks that can be done they
Are you trying to get the audio in into LMS for it to distribute to
squeezebox players?
If yes - is this something that Max2Play does for you through its own
special software or are you trying to use one of the LMS plugins - like
WaveInput?
Basically - can you provide some more information
Hey everyone really new to this and I have an application I need some
help with hopefully I came to the right place. I am attempting to use
squeezebox currently with max2play but feel I can figure it out without
it to be able to have more control of my raspberry piÂs. Here is what
I am
this is excellent.!! I have picoreplayer on my Rasp Model A and will try
this over the weekend.
so, for picoreplayer, what packages would I need - python, GPIO.
anything else?
ashwin.isaac's Profile:
TheD6Bel wrote:
Hello RobbeD
your script work perfectly!
i change ip 127.0.0.1 to my nas ip (lms run on my synology) and and
change GPIO.output(18, True) to GPIO.output(18, False) and
GPIO.output(18, False) to GPIO.output(18, True) for work with my relay.
Thanks ;)
That's very good
Hello, after few days of test i keep your first script.
Your last script are some bugs, ei:
-if i put my music on pause and switch power off, the script don't
work.
-if i listen my music and power off, the relay switch off but if i power
on relay don't move, i need play music, power off and
That's weird, I don't have those problems here.. Are you using the web
user interface or another controller?
You can run the script and check the output.. Maybe it has something to
do with LMS settings?
RobbeD's
hello,
i tried for you on a new install of picoreplayer 1.18b, and i can't run
script!
on picoreplayer you need libraries and is not inclued, you don't have
python, nano, gpio,...
for you the best way, you install squeezeplug, boot time is not same but
it's work ;)
sorry for not can help you
Again BIG thanks TheD6Bel!
I do no longer work with piCorePlayer, I have installed Squeezeplayer on
wheezy debian.
If I want to edit rc.local, I have got the Error writing /etc/rc.local:
Permission denied
I logged in as user pi is that wrong?
#!/bin/sh -e
#
# rc.local
#
# This script is
Ok I did
sudo nano /etc/rc.local
then I could save! :-)
Now it looks like this, ist that ok?
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will exit 0 on success or any other
# value on error.
#
# In order to
Hello,
when i did /yourpath is your path directory. My script is in
/home/script/ and i add on rc.local:
python /home/script/relay.py
;)
TheD6Bel's Profile: http://forums.slimdevices.com/member.php?userid=58077
View
A very BIG thank you *TheD6Bel* for your absolute perfect explenation.
Now why it took so long that i didmy replay was because piCorePlayer was
not good for me (I think) i coulnot even install or open nano.
So I installed Whezzy debian iso and setup the squeezeslave like
described in this
hello, your script like this
Code:
import sys, string, select
from socket import *
import RPi.GPIO as GPIO
# Define maximum xPL message size
buff = 1500
# Define xPL base port
port = 3865
# Sub routine for sending a heartbeat
def SendHeartbeat()
Hi!
That's strange, I thought the script would run without problems.. I am
thinking if I did install something extra on the raspberry..
It's also weird that the script doesn't understand the import command..
I run the script like this: python relay.py
Can you try that?
Sorry my mistake!
for run script i make ./rxpl.py
i'am on work now, i tried tonight
TheD6Bel's Profile: http://forums.slimdevices.com/member.php?userid=58077
View this thread:
Hello RobbeD
your script work perfectly!
i change ip 127.0.0.1 to my nas ip (lms run on my synology) and and
change GPIO.output(18, True) to GPIO.output(18, False) and
GPIO.output(18, False) to GPIO.output(18, True) for work with my relay.
Thanks ;)
I'm very sorry for beeing an absolut beginner, can anybody explain me in
short words how I get this script on my running piCorePlayer and what
pins its going to switch?
Do I have to use Putty?
Thank you very much for your time, all out there!!
palmerx wrote:
I'm very sorry for beeing an absolut beginner, can anybody explain me in
short words how I get this script on my running piCorePlayer and what
pins its going to switch?
Do I have to use Putty?
Thank you very much for your time, all out there!!
Hello,
yes you need putty.
Hello RobbeD,
don't work for me :
Code:
root@squeezeplug:/home/pi/script# ./rxpl.py
./rxpl.py: line 1: import: command not found
from: can't read /var/mail/socket
./rxpl.py: line 3: import: command not found
./rxpl.py: line 6: buff: command not found
This looks amazing, would that work on the PiCorePlayer also to turn on
my Amp??
https://sites.google.com/site/picoreplayer/home
palmerx's Profile: http://forums.slimdevices.com/member.php?userid=63498
View this thread:
palmerx wrote:
This looks amazing, would that work on the PiCorePlayer also to turn on
my Amp??
https://sites.google.com/site/picoreplayer/home
Hello,
normally yes. You need only setup script with ip of server and mac from
picoreplayer.
I had to change the script for run every 2 sec
Hey guys,
I recently changed the script so it now works with the XPL plugin.. This
makes the script more smooth and lightweight! It also now reacts
instant! :-)
To make the script run you'll need to install the xPL plugin in LMS.
After that you just change the name of the player in the script
RobbeD wrote:
Hey guys,
I recently changed the script so it now works with the XPL plugin.. This
makes the script more smooth and lightweight! It also now reacts
instant! :-)
To make the script run you'll need to install the xPL plugin in LMS.
After that you just change the name of
TheD6Bel, that's great news! :-)
I have added another piece of code that checks every two seconds if the
server is online. If the server is online, then the status of the player
is checked, otherwise not. The file is in attachment.
14795
For your problem that the relay is on when LMS is turned
hello,
your file is the same script :)
but thanks for you work ;)
TheD6Bel's Profile: http://forums.slimdevices.com/member.php?userid=58077
View this thread: http://forums.slimdevices.com/showthread.php?t=71077
Hi, indeed, the python script is indentation-sensitive.
For me, the script works the way I copied it here on the forum.. But i'm
aware that maybe the lay-out is not that good..
I'll add my script here in attachment..
14774
I now did the indentation with WING-IDE and it looks correct..
Hope it
RobbeD wrote:
is there a way to make the script use less resources?
Only had a quick look, but it is a busy loop that gets executed once per
second. I would look at something like the xPL plugin or something else
that can actively send you a message when the player gets activated.
it works !!! thanks
I just have a problem is when LMS is off the relay is on ans when LMS is
turn on relay switch off.
i need change your script but it WORKS ! BIG THANKS
TheD6Bel's Profile:
i resolve my first problem :)
i change
#!/usr/bin/env python
to
#!/usr/bin/env python3
but i have a error in line 82 :
root@squeezeplug:/home# ./gpio.sh
File ./gpio.sh, line 82
playerdetected = playerId
^
TheD6Bel's
I fixed the second error
if (playerId == playermac):
playerdetected = playerId
not
if (playerId == playermac):
playerdetected = playerId
but I have another error
root@squeezeplug:/home# ./gpio.sh
File ./gpio.sh, line 84
if playerdetected :
^
TheD6Bel wrote:
but I have another error
root@squeezeplug:/home# ./gpio.sh
File ./gpio.sh, line 84
if playerdetected :
^
SyntaxError: invalid syntax
I I'm not good in script, so I do not know fix it
This isn't really a script error, it is a python syntax error, and the
error is in
i tried but don't work :(
i put the script in /hom/gpio.sh with chmod 777
i put before yout script
#!/usr/bin/env python
# -*- coding: utf-8 -*-
i put ip of RPi : 192.168.1.9
and mac adress of squeezeslave (in web interface, setting, player, ) :
b8:27:eb:e4:2a:af
I edit /etc/rc.local
and
if i execute gpio.sh i have error:
root@squeezeplug:/home# ./gpio.sh
Traceback (most recent call last):
File ./gpio.sh, line 52, in module
responce = json.loads(data)
File /usr/lib/python2.7/json/__init__.py, line 326, in loads
return _default_decoder.decode(s)
File
Hi, I'll tell you what I did to make it work:
I saved the script as relay.py and ran it just with python relay.py
(as root).
Later I made a service script in etc\init.d to run it at boot..
Maybe you should try to add :9000 behind the ip adress of your server?
Maybe that can be the problem.
My
Hello,
Sorry for bumping this thread, but for people who are still searching
for an easy script to trigger a relay i've created a python script that
runs at boot.
The script checks the powerstate of the player every second (script runs
on a raspberry pi where squeezelite is installed), and if
Thanks, i test now ;)
TheD6Bel's Profile: http://forums.slimdevices.com/member.php?userid=58077
View this thread: http://forums.slimdevices.com/showthread.php?t=71077
___
Ok! :-) Let me know if it works or not..
RobbeD's Profile: http://forums.slimdevices.com/member.php?userid=56967
View this thread: http://forums.slimdevices.com/showthread.php?t=71077
epoch1970 wrote:
did you see this one :
http://forums.slimdevices.com/showthread.php?88269-Sample-code-JSON-API-in-your-languagep=636134viewfull=1#post636134
i see, but isn't for manage GPIO, is for have inforamtions over
serveurs/player
but thanks :)
epoch1970 wrote:
Wha??
Have you tried gpio raspberry pi python on google ?
On google! I searched on the forum, on RPi forum i open un post and i
have a python script for manage GPIO but is only with MPD not LMS. I
try change this script for LMS
did you see this one :
http://forums.slimdevices.com/showthread.php?88269-Sample-code-JSON-API-in-your-languagep=636134viewfull=1#post636134
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View
TheD6Bel wrote:
my problem is to create a python script with the status of every player
:(
Well you have to ask the server for the available players, then query in
a loop each player for its status.
Players can come and go, so the first step is never a waste of time;
also when a player is
hello,
I did a search but I have not found a script to manage GPIO over RPi
TheD6Bel's Profile: http://forums.slimdevices.com/member.php?userid=58077
View this thread: http://forums.slimdevices.com/showthread.php?t=71077
Wha??
Have you tried gpio raspberry pi python on google ?
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=71077
Hello i instal a python for LMS and is very easy to have status of
server
PYLMS https://github.com/jingleman/PyLMS
TheD6Bel's Profile: http://forums.slimdevices.com/member.php?userid=58077
View this thread:
Hello,
I also looking for a solution to control an amp with GPIO ports RPi.
For the moment there is a script that works with MPD, must modify it to
work under squeezebox. This script based on the status of mpd.
TheD6Bel wrote:
it is possible to know the status of squeezebox go to
IPSQUEEZEBOX:9000/status.txt
You're better off using the CLI available on port 9090. Available
commands are listed in LMS: click help at the bottom of the LMS main
page (http://IPSQUEEZEBOX:9000), then Technical
I do not even answer
root@squeezeplug:~# echo serverstatus |netcat -w1 127.0.0.1 9090
root@squeezeplug:~# echo players list|netcat -w1 127.0.0.1 9090
:(
TheD6Bel's Profile:
TheD6Bel wrote:
I do not even answer
root@squeezeplug:~# echo serverstatus |netcat -w1 127.0.0.1 9090
root@squeezeplug:~# echo players list|netcat -w1 127.0.0.1 9090
:(
-verify netcat is installed. Use telnet 127.0.0.1 9090 if you don't
have netcat (type 'exit' to quit from telnet if
hello, for me netcat is instaled:
root@squeezeplug:~# netcat
usage: nc [-46bCDdhjklnrStUuvZz] [-I length] [-i interval] [-O length]
[-P proxy_username] [-p source_port] [-q seconds] [-s source]
[-T toskeyword] [-V rtable] [-w timeout] [-X proxy_protocol]
[-x proxy_address[:port]] [destination]
mhh. I think there are 2 versions of netcat in existence and they behave
slightly differently when it comes to end of lines.
Perhaps something like this would work better for you: echo -e
serverstatus\nexit\n | netcat localhost 9090 . I am not sure.
But anyway, it looks like the server is
root@squeezeplug:~# echo -e serverstatus\nexit\n | netcat localhost
9090
serverstatus lastscan%3A1352124017 version%3A7.7.2
uuid%3A40adacd5-c19a-4c10-bea4-fe1b4481dbce info%20total%20albums%3A4
info%20total%20artists%3A3 info%20total%20genres%3A3
info%20total%20songs%3A67 player%20count%3A1
Hi,
Could someone help me to modify the Power Switch plugin to control the
gpio pins on the raspberry pi? I think this could be easier than using
an USB-relay..
How do I start with this? I have no experience with squeezebox
plugins..
Thanks in advance!
RobbeD wrote:
Hi,
Could someone help me to modify the Power Switch plugin to control the
gpio pins on the raspberry pi? I think this could be easier than using
an USB-relay..
How do I start with this? I have no experience with squeezebox
plugins..
Thanks in advance!SBS/LMS Plugins are
Hi!
I know your post is almost three years old, but you never know..
I also would like to use a relay for this purpose!
My idea is to let a script run in the background that checks the
powerstate of the player (squeezeplay) on the server via CLI.
If the powerstate of the player is on, the relax
Have a look at the Denon plugins or IR blaster. They do this and all
you'd need to do is replace the code they use to switch devices on and
off with the code you need. The Denon ones use http or at least TCp I
believe so maybe they are easier to convert.
You could look at the Power Switch plugin and modify it to talk to your
usb relay.
http://www.gwendesign.com/slimserver/dev_hard_and_software.htm#powerswitchii
gharris999's Profile:
you need to download 7.7 not the beta 7.7.1
made that mistake yesterday easily rectified
--
Rick_W
Rick_W's Profile: http://forums.slimdevices.com/member.php?userid=23220
View this thread:
Have installed Logitech Media Server 7.7 on my iMac. All seems to be
well, except that the language in the control box within the iMac's
System Preferences is now German. I have gone into preferences
within the LMS web interface and changed the language setting from
english to german and back,
Thanks guys for the heads up! I've identified an issue with the update on
OSX due to the product renaming. I'm working on it right now, it will
hopefully be fixed in the next release.
Until then...
If you want to update (if everything is running fine now you may want to
wait) just
If you want to update (if everything is running fine now you may want to
wait) just uninstall your SBS keeping all settings prefs when asked.
Then just download the complete install pkg from MySqueezeBox.com My
Media, install fresh.
--
toby10
I got the update message yesterday, repeated tries to update do nothing.
OSX 10.6.8
--
realspear
realspear's Profile: http://forums.slimdevices.com/member.php?userid=50969
View this thread:
I have downloaded the update, and when I click the box for the server to
update to 7.6.1, I get a little alarm tone and nothing happens.
--
Kyle
Regards,
Jim
Kyle's Profile:
Search Win7 in these forums. There are a number of known issues and
some workarounds.
When this does happen try SBS Control Panel Diagnostics, see what
is reported for ALL pings, ports, IP's.
This might help to begin diagnosing where the Win7 is blocking these
ports and IP's.
--
toby10
Is the silly machine going to sleep/hibernating/spinning down the
drives? Make sure you have 'wake-on-LAN' enabled.
--
alZmtbr
alZmtbr's Profile: http://forums.slimdevices.com/member.php?userid=8773
View this thread:
Sorry about that -
I hate to say that SBS version works flawlwssly in Ubuntu Linux ..
check your firewall, and the memory -- it sounds like it works, but
runs out of steam .. wish I cld be more hep
--
kappclark
Hi guys,
It seems like I have to restart the SB software every day on my
computer. I have 3 duets and a Touch and the controller freezes when I
try to listen to music. On my computer, I cannot open web control
either. Restarting SBS does the trick, but it is a pain to do it every
day. I am
OK, looks like I spoke to soon.
I turned on my PC this morning and now I'm back to the same problem.
No Squeezebox Server ! The server shows that it is running but I the
Touch shows Server Not Found. I therefore stopped the server form the
control panel but now it will not restart.
I have had
I have just checked the Squeezebox control panel and found the following
message in diagnostics :
Possible software conflict found
We've seen that your Squeezebox Server is configured to use a proxy
server. In this configuration connectivity to mysqueezebox.com on port
3483 can't be tested.
We
Try stopping then restarting SBS.
Is there any other program that may be using those same ports?
Are you running SBS as a startup service on your PC?
--
toby10
toby10's Profile:
Thanks for the post toby10.
If I stop SBS, it will not start again without rebooting the PC.
The weird thing is I have just rebooted my Squeezebox Touch and I'm
currently listening to internet radio via Squeezebox.com.
However, SBS Web Control on my PC is showing Your Player Was Not
Found
I have managed to resolve this issue in the short termby turning off the
Windows firewall. I have posted a new thread on this matter in the
Squeezebox Server forum as it seems the most appropriate place for this
issue.
--
technojunkie
I have just started to to have a problem with the Squeezebox server to
registering or starting.
Yesterday I could not use my Squeezebox Touch at all as the server
could not be found. I therefore re-started my PC and router but nothing
changed. I therefore re-installed Squeezebox Server 7.54 and
I seemd to have now resolved the problem !
After having made several unsuccessful attempts of re-installing
Squeezebox Server 7.54, I again uninstalled the software together with
the log info etc.
I then re-installed Squeezebox Server but right clicked on the program
first and Run as
toby10;606118 Wrote:
Stop SBS, remove SBS from being installed as a service at startup (if
you enabled this), shut down computer, reboot computer, do NOT start
SBS, now delete those files.
Thanks for the help. I've updated the SBS to v 7.5.3.
But I still cannot get connected the the server.
Try the network reboot suggested in your other thread. Also try
stopping then restarting SBS server.
If no luck then you can always switch the SB3 to MySB.com online for
internet radio music services for your gathering.
Is your router handling DHCP? Maybe your router is failing? Dunno.
--
toby10;606523 Wrote:
Try the network reboot suggested in your other thread. Also try
stopping then restarting SBS server.
If no luck then you can always switch the SB3 to MySB.com online for
internet radio music services for your gathering.
Is your router handling DHCP? Maybe your
gizek;606062 Wrote:
If nothing helps try to uninstall and manually delete all remaining
folders and files related to SBS. Install new version and rescan the
library.
Thanks for replying. I can't completely uninstall SB server v7.5.2
because when I try to manually delete the remaining
1 - 100 of 162 matches
Mail list logo