Re: [SlimDevices: Unix] LMS debian unstable package fails to run with perl 5.20
mherger wrote: How did it fail the first time you tried? *I* failed rather than *it* failed. It was around the perl5.12 time. I don't regularly build packages so initially had to install all the extra packages for that (build-essential, etc) and then got myself into an horrendous mess trying to build the local squeezeboxserver alongside the existing system perl. I searched each step of the way on each fail but after spending too much of my life on it, gave up with a fairly borked system. nickrickard's Profile: http://forums.slimdevices.com/member.php?userid=63291 View this thread: http://forums.slimdevices.com/showthread.php?t=102022 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
@Greg Erskine I'm starting to think that this is really purely a LMS issue. The Server should remember the last state the player was in and send it the command to continue. Apparently it doesn't. Forcing Squeezelite to start with a Play command might be a workaround, but not a fix. I think we should PM Michael and ask him to look at the code. It changed somewhere in the late 7.8 nightlies I guess... It's present in 7.8.1 and 7.9 I'm on the road most of the day today, so maybe you could drop him a note? If not, then I'll do it tomorrow. CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Greg Erskine wrote: hi Linvincible, I think I mentioned this earlier?? piCore only uses the standard shell not bash. So, have you changed the very first line of each script from #!/bin/bash to #!/bin/sh. Also the standard shell doesn't do arrays, everything else should be OK. regards Hi, yes I did change the first line to #!/bin/sh I thought the error message came from rights on the script itself but they didn't : it was the rights on files accessed inside that mattered. Weired, usually it says error at line x in these cases... Anyway I changed the rights to the files accessed and it works now. I just can't use shutdown command, any reason why? here's the script as it is now, may need a bit of refinement I'll submit it to the msldigital.com guys: #! /bin/sh # 22 is the GPIO pin receiving the shut-down signal sudo chown tc /sys/class/gpio/export sudo echo 22 /sys/class/gpio/export sudo chown tc /sys/class/gpio/gpio22/direction sudo chown tc /sys/class/gpio/gpio22/value sudo echo in /sys/class/gpio/gpio22/direction while true; do sleep 1 power=$(cat /sys/class/gpio/gpio22/value) if [ $power != 0 ]; then sudo echo out /sys/class/gpio/gpio22/direction sudo echo 1 /sys/class/gpio/gpio22/value sudo poweroff fi done Stereo - SPK: Triangle Magellan Quatuor - PRE Emotiva XSP-1 Gen2 - AMPS 4 x Emotiva XPA-1 Gen2 - SOURCES Logitech Transporter, Squeezebox Touch - CABLES Sommer Cable Epilogue XLR, Mogami 3104 for speakers HC - SPK: Triangle signature Gamma, 2x Elipson Planet M - PRE Marantz AV8801 - AMP Nuforce MCH-200C7 SE - SOURCES PS3, PopcornHour A410 - CABLES Sommer Cable Galileo XLR, Norstone W250 Multi room : BW 705 and Monitor Audio Silver RX on leftover channels from Nuforce amp Linvincible's Profile: http://forums.slimdevices.com/member.php?userid=63198 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Xubuntu 14.04.1 / LMS 7.8.1
I installed LMS 7.8.1 on my box running Xubuntu 14.04.1 (because of the perl version used by xubuntu 14.04) and it works fine--except it doesn't find/show/play any music files. I added my music folder under /home/[user]/Musik which is filled with subfolders and mp3s/flacs. I can navigate the folder and its subfolders in the web interface, so it can't be a permission issue. But LMS doesn't recognize/show any media files. I suppose it's an issue with missing codecs/libraries. I had some similar issues with an older xubuntu version and serviio media server once. Any suggestions? wortgefecht's Profile: http://forums.slimdevices.com/member.php?userid=63295 View this thread: http://forums.slimdevices.com/showthread.php?t=102093 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Greg Erskine wrote: mcdudeabides wrote: hi mcdudeabides, Have you activated the simple controls in piCorePlayer 1.17? (by adding LMS server IP address in Squeezelite settings) We are already using a similar process. As with all these simple ideas, to make it generic enough to work for everyone takes a lot more work. For example in this case, determining the MAC address used by Squeezelite is not a simple as it first appears. regards I had not. Thanks for the tip. I have two uses for this technique. 1) Much like alephnull, I have a PiCP embedded in an old Pilot console stereo. I must turn on the power manually and wait for the tubes to warm before there is sound. Plenty of time for the PiCP to power up and using the old school streams pointed out in the previous posts it can now maintain the illusion of a vintage console (until I sneak in with iPeng and throw on some AC/DC). 2) I have an embedded player in the garage. The power is a toggle that unfortunately doesn't indicate state. I could use this technique as a startup sound to let me know the player is alive. mcdudeabides's Profile: http://forums.slimdevices.com/member.php?userid=57765 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Hi all, Some question about the squeezelite setup,, I m using a USB dac with it, when I choose the the device from the list of available ALSA, as I hv only the front speaker for music, I choose from only default and front speaker one, when I choose default , sampling rate fixed at 48 kHz shown on my dac and never change even I play something like 96 or 192. But when I change it to front speaker one , the sampling rate keep switching, bling bling bling at the same rate..no other setting done at all. Any one got idea ??? Thanks, Howard Howardyiu's Profile: http://forums.slimdevices.com/member.php?userid=63188 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
sbp wrote: Hi, i just received my hifiberry DAC+ and hifiberry digi+, so hopefully it won't take long before we have a piCorePlayer version which supports these cards. unfortunately it won't be this weekend as I have to work the whole weekend. steen Steen When you get piCorePlayer working with I2S on the B+, can you please also advise the pins for I2S on the B+? My understanding is: Pin 12 - BCK Pin 35 - LRCK Pin 39 - GND Pin 40 - DATA but I am not sure. themystical's Profile: http://forums.slimdevices.com/member.php?userid=63299 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Linvincible wrote: Hi, yes I did change the first line to #!/bin/sh I thought the error message came from rights on the script itself but they didn't : it was the rights on files accessed inside that mattered. Weired, usually it says error at line x in these cases... Anyway I changed the rights to the files accessed and it works now. I just can't use shutdown command, any reason why? here's the script as it is now, may need a bit of refinement I'll submit it to the msldigital.com guys: #! /bin/sh # 22 is the GPIO pin receiving the shut-down signal sudo chown tc /sys/class/gpio/export sudo echo 22 /sys/class/gpio/export sudo chown tc /sys/class/gpio/gpio22/direction sudo chown tc /sys/class/gpio/gpio22/value sudo echo in /sys/class/gpio/gpio22/direction while true; do sleep 1 power=$(cat /sys/class/gpio/gpio22/value) if [ $power != 0 ]; then sudo echo out /sys/class/gpio/gpio22/direction sudo echo 1 /sys/class/gpio/gpio22/value sudo poweroff fi done hi Linvincible, Can I first stay I am not a Linux expert, so I hope I am not misleading you. I am not 100% sure using sudo and changing ownership is the best solution. Often assessing hardware is meant to be a root function. Here is an example of working code I have used when testing a hardware Pause/Play button on piCorePlayer. I can't remember if I initialised the script by #sudo ./button or #sudo su then #./button . Code: #!/bin/sh player=started echo 17 /sys/class/gpio/export echo in /sys/class/gpio/gpio17/direction while true do PRESSED=$(cat /sys/class/gpio/gpio17/value) echo $PRESSED sleep 1 if [ $PRESSED = 0 ]; then if [ $player = stopped ]; then echo Start player echo play | telnet 192.168.1.101:9090 player=started sleep 3 else echo Stop player echo stop | telnet 192.168.1.101:9090 player=stopped sleep 3 fi fi done echo 17 /sys/class/gpio/unexport exit Some GPIO extensions put a wrapper around the basic GPIO operations and may allow non-root access. I prefer to use this piCore code to shutdown piCorePlayer. Code: exitcheck.sh regards Greg Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
themystical wrote: Steen When you get piCorePlayer working with I2S on the B+, can you please also advise the pins for I2S on the B+? My understanding is: Pin 12 - BCK Pin 35 - LRCK Pin 39 - GND Pin 40 - DATA but I am not sure. Hey Steen I forgot to ask if you are using the right version of spi-bcm2708.c required for the new I2S pin assignment. It is available in the latest Rasbian (based on 3.12.y) though I don't know if this means it is automatically available in 3.15.y regards Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix