tag:blogger.com,1999:blog-5186142.comments2023-08-30T20:14:55.047+01:00DABDigPaul Websterhttp://www.blogger.com/profile/17286797680202140990noreply@blogger.comBlogger100125tag:blogger.com,1999:blog-5186142.post-83527932837544079772018-01-26T12:40:00.454+00:002018-01-26T12:40:00.454+00:00Did you do the following?
chmod +x lmscli.expDid you do the following?<br />chmod +x lmscli.expPaul Websterhttps://www.blogger.com/profile/17286797680202140990noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-7902798737783351872018-01-26T12:01:14.548+00:002018-01-26T12:01:14.548+00:00Hi Paul and thanks for the quick response!
I follo...Hi Paul and thanks for the quick response!<br />I followed your instructions but when I'm trying to check if everything's OK (by using ./lmscli.exp or /home/pi/lmscli/lmscli.exp next) with or without sudo I'm getting ": no such file or directory.<br />I suspect that the problem is at SLMAC since I can perform telnet operations from console without importing MAC address. <br />Any ideas?<br /><br />P.<br /> Unknownhttps://www.blogger.com/profile/13131097260999961573noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-905577575007627702018-01-26T11:06:11.640+00:002018-01-26T11:06:11.640+00:00Hello Polyvios,
If the /etc/default/squeezelite f...Hello Polyvios,<br /><br />If the /etc/default/squeezelite file cannot be found then the script uses its own values.<br />So rather than adding your own line simply replace the 11:22:33 etc with your own value.<br />If that file is somewhere else then you can modify the script to collect it from there (there is a definition of the location near the top of the file).<br /><br />You can delete lines that you do not want but leaving them in should not cause any harm and it avoids a potential problem if you delete something by mistake.<br /><br />Sure - you can send me files if needed.<br />Paul Websterhttps://www.blogger.com/profile/17286797680202140990noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-17910740491751565102018-01-26T10:08:52.770+00:002018-01-26T10:08:52.770+00:00Hi, excellent job! This almost identical to what I...Hi, excellent job! This almost identical to what I am trying to do! <br />But I'm having a little trouble in understanding your lmscli.exp script.<br />First of all I don't think that /etc/default/squeezelite exists in my system (I'm using max2play OS) so I have to put manually the values in the next lines. IF that is correct where can I find the SLMAC parameter?<br />Secondly, I don't think that I will need more than nine basic commands (play, pause, stop, next, previous, volume up, volume down, mute and unmute), do I have to keep all the lines or can I delete some of them?<br />Finally, if I don't make will it be OK with you to send you a couple of files (lircc, lircd, hardware.conf to check them for discrepancies?)<br />Thank you in advance!<br />Polyvios <br />Unknownhttps://www.blogger.com/profile/13131097260999961573noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-28620792011333641342014-05-18T17:04:50.718+01:002014-05-18T17:04:50.718+01:00Hello Don,
It might be possible to get LMS to res...Hello Don,<br /><br />It might be possible to get LMS to resample - but I'd recommend a different approach and switch from SqueezeSlave to SqueezeLite.<br />It seems to get more development.<br />Also - if you have a spare SD card or don't care about the contents of your current one then you could download SqueezePlug (http://www.squeezeplug.eu ).<br />It is a Raspbian distribution with menu driven installation of SqueezeLite (or SqueezeSlave), LMS and other options.<br />Paul Websterhttps://www.blogger.com/profile/17286797680202140990noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-91485092085693961012014-05-18T14:38:34.867+01:002014-05-18T14:38:34.867+01:00A great guide - THANK YOU!
However, I have a chip...A great guide - THANK YOU!<br /><br />However, I have a chipmunk problem where some mp3 podcasts are distorted and sound like chipmunks.<br /><br />The mp3's are sampled at 32kHz.<br /><br />Is there a way to get squeezeslave to play these so they sound normal.<br /><br />Or alternatively - to have my script resample them as I copy them to the media directory.Don's Life in the UAEhttps://www.blogger.com/profile/16061136236052990848noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-2246656496121469612013-09-08T17:53:55.558+01:002013-09-08T17:53:55.558+01:00Thanks for the advice, although it seems that what...Thanks for the advice, although it seems that what I really needed was an rpi-update.<br /><br />At some point I must suss out the files in init.d, but that can wait.<br /><br />2 rooms down, 2 to go!<br /><br />Many thanks<br /><br />GlynAnonymoushttps://www.blogger.com/profile/17562242409799396065noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-56215462339044571102013-09-07T01:03:15.633+01:002013-09-07T01:03:15.633+01:00Show us what your -L output looks like. Kill any ...Show us what your -L output looks like. Kill any existing squeezeslave processes then run one with only -L. Post that here. Let's make sure that 0 and 1 aren't really the same device. Secondly, I'd change the last octet of the MAC to be different than the first, tho I don't think that makes much different to LMS, it might be considered invalid with the 80 as the first octet. Try making the first three 00:04:20 then make up the last three.Bitbangerhttps://www.blogger.com/profile/16882305463382824570noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-78822012080614813412013-09-06T21:51:32.677+01:002013-09-06T21:51:32.677+01:00Hi, can someone point out my error? I'm trying...Hi, can someone point out my error? I'm trying to run two instances of Squeezeslave on the Pi. I have two commmand lines:<br />/usr/bin/squeezeslave --mac 00:1f:02:82:3f:d9 --output 0 192.168.111.45 &<br />/usr/bin/squeezeslave --mac 80:1f:02:82:3f:d9 --output 1 192.168.111.45 &<br /><br />Either command works, but if I then run the other one that doesn't produce sound from the USB PCM2740 DACS I have connected via a hub.<br /><br />Any help for me out there?<br /><br />GlynAnonymoushttps://www.blogger.com/profile/17562242409799396065noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-22634319731089441052013-08-05T18:45:27.836+01:002013-08-05T18:45:27.836+01:00By the way: also Shairport "stops" worki...By the way: also Shairport "stops" working when Squeezeslave "stops" working. Same issue: no sound output. Ipad can still find that there is an Airport, but audio is nowhere to be found.namrehhttps://www.blogger.com/profile/05329565429355634296noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-51039160803859452072013-08-05T18:09:10.928+01:002013-08-05T18:09:10.928+01:00I already tried Squeezelite once and this was what...I already tried Squeezelite once and this was what I got: https://code.google.com/p/squeezelite/issues/detail?id=31 .. pretty annoying.<br /><br />@Bitbanger: Audio does work when squeezeslave stops. Right now the audio of Squeezeslave stopped working, however this: aplay /usr/share/sounds/alsa/Front_Center.wav creates a nice sound on the Raspberry.<br /><br />I think I'll just go for a periodic reboot overnight. The Raspberry is only doing Squeezeslave.. I'll have a little look on the net before though. Will let you know if I find anything!<br /><br />Regards<br />Namrehnamrehhttps://www.blogger.com/profile/05329565429355634296noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-58635621212416211432013-08-05T12:30:01.013+01:002013-08-05T12:30:01.013+01:00I would try removing the USB wifi adapter and just...I would try removing the USB wifi adapter and just hardwire it to your router and see if it stays running. If you are not using an external sound card, you are likely getting pop/click sounds as the onboard sound device is opened/closed. I found that to be not-musical, and especially annoying with sub-woofers. Adding an external USB sound card solves that issue.<br /><br />You still might have power issues, as you haven't tried anything different than that USB charger. Your wifi card may be taxing your adapter's current capacity and hanging. What is the output current rating of that adapter? Try a larger one.Bitbangerhttps://www.blogger.com/profile/16882305463382824570noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-31842208037511281472013-08-04T19:45:43.808+01:002013-08-04T19:45:43.808+01:00Tricky one.
When you tried Squeezeplug did you go ...Tricky one.<br />When you tried Squeezeplug did you go for SqueezeLite or SqueezeSlave?<br />SqueezeLite seems to have more active development at present and might have a better chance of having issues resolved.<br />A firmware update /might/ also help.<br />Guesswork really - sorry.<br />Digging through logs might help.<br />But if you simply want to have something that usually works then forcing an overnight reboot via cron could be a workaround.- if nothing else happening on the device.Paul Websterhttps://www.blogger.com/profile/17286797680202140990noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-8751004584592607242013-08-04T16:29:34.836+01:002013-08-04T16:29:34.836+01:00Ok.. did not work. The same problem pops up again....Ok.. did not work. The same problem pops up again.. after a while there is no audio output anymore. Any other options than to reboot the raspberry every once in a while?<br /><br />Regards<br />Namrehnamrehhttps://www.blogger.com/profile/05329565429355634296noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-9833727428374165632013-07-31T19:43:09.542+01:002013-07-31T19:43:09.542+01:00Hi Paul and Bitbanger
I have my Pi connected to a ...Hi Paul and Bitbanger<br />I have my Pi connected to a USB charger that I bought with the Pi.. also there is no external USB sound card so I cannot see how power issues could create the problem.. also I cannot debug the system so therefore I followed the advice of Paul and did a installation of SqueezePlug. As I bought a not out of the box supported USB WLAN device (which is <b>not</b> advisable), I first installed the Raspbian image that did have this. In my case http://blog.pi3g.com/2013/05/tp-link-tl-wn725n-nano-wifi-adapter-v2-0-raspberry-pi-driver/ . With this I installed the SqueezePlug like Thomas describes here http://www.squeezeplug.eu/?p=283 (because the driver for the WLAN USB are not available in the default distribution(kernel) that Thomas provides I found that this was the way to go). After that keep in mind that you turn the drivers on as squeezeplug turns them off by default somehow (so I followed the modprobe part). I then easily installed Shairport and Squeezeslave. The networkconfig in Squeezeplug did not work for me so in case readers have the same problem: this is the way to do it:<br />sudo nano /etc/network/interfaces<br /><i><br />put this:<br />auto wlan0<br />iface wlan0 inet dhcp<br /> wpa-ssid "<b>your ssid</b>"<br /> wpa-psk "<b>your password</b>"<br />iface default inet dhcp<br /></i><br />in it<br /><br />I just finished this - took me around an hour.. probably this would be a breeze for you but as I said.. new to linux :-) Anyway: will leave this setup running and will let you know how if it works (sure hope it will!)<br /><br />Thanks!<br /><br />Namrehnamrehhttps://www.blogger.com/profile/05329565429355634296noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-2298299997055938382013-07-30T21:00:14.480+01:002013-07-30T21:00:14.480+01:00@namreh
I wouldn't bail out on Squeezeslave t...@namreh<br /><br />I wouldn't bail out on Squeezeslave that fast. It stays running indefinitely for me. However I did have powersuppy issues make the USB port lose track of my external sound card device and quite playing. The solution is to run the Pi on a powered USB hub so that you have extra power for other USB devices and the Pi itself. Worth a look if you aren't already using a powered USB hub. Lots of mysterious hangs and disconnects vanished after using the powered USB hub for everything...even the Pi's power.Bitbangerhttps://www.blogger.com/profile/16882305463382824570noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-36083337999104607262013-07-30T19:35:59.989+01:002013-07-30T19:35:59.989+01:00Hello namreh
If you are not using your RPi for any...Hello namreh<br />If you are not using your RPi for anything else then you might find it better to use SqueezePlug (if you have a spare SD card you will find it pretty easy to test).<br />Otherwise I can only suggest the default approach of going through the software update route and hope that the issues you are seeing have been fixed in more recent versions of RPI firmware/Raspbian/SqueezeSlave - with the danger that moving to later versions introduces new problems.<br />Checking the SqueezeSlave updates first is probably the easiest and least risky.<br />Simply compare the version listed in this old blog post with the latest on the site that I linked to ... and if newer there then repeat the first few steps but with the new file archive name.Paul Websterhttps://www.blogger.com/profile/17286797680202140990noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-16922802826982240442013-07-30T18:31:42.232+01:002013-07-30T18:31:42.232+01:00Hi Paul, I used this howto to install squeezeslave...Hi Paul, I used this howto to install squeezeslave on my raspberry pi. It all works great except for one thing: after a period of time there is no more audio coming from squeezeslave. This period differs per time and I have no idea what causes it. After a reboot squeezeslave works fine again with the audio.. what I find strange is that playing a file with aplay works fine. <br />I do not know how to troubleshoot this as I am pretty much new to Linux (starting to learn more in the process though). Any suggestions?<br />Thanks!namrehhttps://www.blogger.com/profile/05329565429355634296noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-23817215937795846732013-07-07T14:53:37.229+01:002013-07-07T14:53:37.229+01:00That is good news Phillip.
You might also like to ...That is good news Phillip.<br />You might also like to try SqueezeLite ... which has more codecs built in and can work with some other plug-ins.<br />There is also SqueezePlug and PicoPlayer - both are complete OS distributions .... with PicoPlayer (hopefully the right name) able to run without needing the SD card after booting - and SqueezePlug havings lots of different servers and players included for scripted install.Paul Websterhttps://www.blogger.com/profile/17286797680202140990noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-7954422462605331842013-07-07T14:32:37.907+01:002013-07-07T14:32:37.907+01:00Hi Paul
Thanks for your help, all commands now ru...Hi Paul<br /><br />Thanks for your help, all commands now run okay and I can stop,start,restart squeezeslave using the init scripts and it starts on boot also too.<br />Don't have any sound this time round but thats okay I think I just need to play around with the SSOPTIONS section when I get my USB speakers tomorrow, failing that run the slightly older version 1.2.311 on your blog rather than the newer 1.3.393 as I had sound working on the 1.2.311 the other day.<br />ThanksAnonymoushttps://www.blogger.com/profile/08483626291997339248noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-84337355650803474212013-07-06T21:25:07.053+01:002013-07-06T21:25:07.053+01:00Okay will give that a go tomorrow, I just realised...Okay will give that a go tomorrow, I just realised I may have made my life hard by creating the squeezeslavesrc at root / rather than in the pi home directory, I'm guessing the permissions would be different on a folder /squeezeslavesrc to a folder in /home/pi/squeezeslavesrc ?<br /><br />Thanks<br /><br />Anonymoushttps://www.blogger.com/profile/08483626291997339248noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-10301560198652635492013-07-06T21:01:16.701+01:002013-07-06T21:01:16.701+01:00Usually you would start in /home/pi and then
mkdir...Usually you would start in /home/pi and then<br />mkdir squeezeslavesrc<br />and then move to it<br />cd squeezeslavesrcPaul Websterhttps://www.blogger.com/profile/17286797680202140990noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-91527098841728673622013-07-06T19:48:39.489+01:002013-07-06T19:48:39.489+01:00Line 48 and 49 contain the following;
# Read conf...Line 48 and 49 contain the following;<br /># Read configuration variable file if it is present<br />[ -r /etc/default/$NAME ] && . /etc/default/$NAME<br /><br />Sorry forgot about that yes the editing process didn't work for me I got a permission denied error when attempting to run the command echo "SBSHOST=\"-F\"" > defaultsqueezeslave <br /><br />Even as sudo, then obviously the command<br />sudo cp defaultsqueezeslave /etc/default/squeezeslave also failed.<br /><br />Am I supposed to be in a specific directory to run the echo "SBSHOST" command? as no matter what I did I got the permission denied error.<br /><br />Thanks<br />Anonymoushttps://www.blogger.com/profile/08483626291997339248noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-5363780678678490812013-07-06T19:23:26.387+01:002013-07-06T19:23:26.387+01:00What do you see around line 48 of the init script?...What do you see around line 48 of the init script?<br />However, it shouldn't have been necessary to edit that file - because of the instructions related to defaultsqueezeslave.<br />So perhaps something went wrong in the editing process and easiest would be to copy back the original and use the defaultsqueezeslave approach to set the -FPaul Websterhttps://www.blogger.com/profile/17286797680202140990noreply@blogger.comtag:blogger.com,1999:blog-5186142.post-65078646619737449882013-07-06T18:49:36.043+01:002013-07-06T18:49:36.043+01:00Hi Paul
No it wasn't running when I attempt t...<br />Hi Paul<br /><br />No it wasn't running when I attempt to launch it from the init script.<br />I get the same error message on the console as it trys to load on boot so definatly not running.<br />As far as I can tell the script file looks correct and has the stop, start, restart handles defined, the only thing I have changed is the SBSHOST value to SBSHOST="-F"<br /><br />ThanksAnonymoushttps://www.blogger.com/profile/08483626291997339248noreply@blogger.com