Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread 4]4
chill wrote: > Wow - that's quite a different approach, although I can see the > similarities. Well done for getting it to work with DietPi. thanks! Your > script gave me a lot of insight into how some things work on Linux, so I'm the one who should be thanking you! :)

Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-02-12 Thread LiFePO4
No luck on my first attempt. If anyone can spot a misstep pls point out: I'm using Waveshare SH1106: https://www.waveshare.com/1.3inch-oled-b.htm Wiring: 1 VCC Power positive (3.3~5V power input) [GPIO 3.3V] 2 GND Ground [GPIO GND] 3 NC NC 4 DIN Data

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread chill
Greg Erskine wrote: > Hi chill, > > lol. Welcome to the world of software development. > > Well done with your install script. Thanks for your effort. > > regards > Greg Haha, thanks Greg. My intention wasn't to make a foolproof script, but to make a proof-of-concept that is easy for

Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-02-12 Thread Howard Passman
Note sure, but I believe hiding it is your best best. Once you have your touch screen set up the way you want and all of the menus the way you want, be sure to go to Settings and then piCorePlayer to save your changes. The player will always start where you left off. I doubt any of your guests

Re: [SlimDevices: Unix] 5" Touchscreen display that works with Jivelite right out of the box.

2021-02-12 Thread Howard Passman
You can drill acrylic. A sharp wood bit is preferred and a slow speed, with light pressure. For odd holes, etc., a dremel tool is your best bet and if you have one, a dremel stand helps stay steady and square. I use carbide bits and a fairly slow speed to put odd shaped holes in acrylic. Again,

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread chill
'4 wrote: > 4;1009450']Sorry for hijacking your thread, but I'd like to share this > information, so others with DietPi could also benefit from it > Wow - that's quite a different approach, although I can see the similarities. Well done for getting it to work with DietPi.

Re: [SlimDevices: Unix] 5" Touchscreen display that works with Jivelite right out of the box.

2021-02-12 Thread jeroen2
Howard Passman wrote: > > I started working with acrylic when I was framing photography and I have > found a ton of good uses for it. > Thanks, that does look a lot easier than I thought it would be. I might give it a try. But, how do you deal with the more complicated drilling? (buttons on

Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-02-12 Thread TomS
Sorry if this has been asked and answered, I couldn't find anything via search... I am running pCP v7.0.1, happily playing music via a hifiberry dac. Thinking about adding Jivelite for a touchscreen experience. Is there any way to have Jivelite only control the local squeezelite player, and

Re: [SlimDevices: Unix] New sd-card image backup feature in pCP 7.0.1

2021-02-12 Thread Greg Erskine
I *think* you might need "sudo" for start and stop. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=113912

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread Greg Erskine
chill wrote: > > I'm struggling with this - it's working flawlessly here. > Hi chill, lol. Welcome to the world of software development. Well done with your install script. Thanks for your effort. regards Greg

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread Pommes
coyrls wrote: > Great! You were ahead of me. Ignore my previous post then! Glad it's > working, that was a tricky one. You were right from the beginning, and yes, I think it is a bug, maybe in the future update this issue can be resolved. Thanks Regards Pommes The Earth Has Music For

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread Paul Webster
Looks like that should be recorded as a possible bug in Alsactl since it looks like it cannot read back the file that it stored. Perhaps worth verifying that the issue remains with latest version - but would probably need pCP team to build a new one. alsactl --version alsactl version 1.2.3

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread coyrls
Pommes wrote: > > > I edited vi the asound.state, now it is working! > Thank you so much, you made my day again!!! Great! You were ahead of me. Ignore my previous post then! Glad it's working, that was a tricky one.

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread coyrls
Please can you login as tc using ssh and type "cd" to make sure you are in your home directory, then copy everything the the code section below and paste into your ssh session at the $ prompt (make sure that you have everything copied, including the "%" sign at the end): Code:

Re: [SlimDevices: Unix] 5" Touchscreen display that works with Jivelite right out of the box.

2021-02-12 Thread Howard Passman
Yup, the display goes in the front and then you can put a piece in to screw it to, but in my case it's such a snug fit I didn't have to. You can glue strips of acrylic to make sure it stays when you want it and you can make cross pieces to glue in the box to screw the screen to if needed.

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread Pommes
coyrls wrote: > Also, rather than vi the sound.state, can you also run "cat > sound.state", I want to see if vi is putting the escaped characters in > or if the escapes are in the file itself. The two errors are for > control #2 and #3 and those are the two with the special characters in > the

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread Pommes
coyrls wrote: > Also, rather than vi the sound.state, can you also run "cat > sound.state", I want to see if vi is putting the escaped characters in > or if the escapes are in the file itself. The two errors are for > control #2 and #3 and those are the two with the special characters in > the

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread Pommes
coyrls wrote: > Sorry you can't vi that file. At the command ($) prompt just type cat > /proc/asound/cards Code: tc@pCP:/var/lib/alsa$ cat /proc/asound/cards 0 [DAC]: USB-Audio - Explorer² USB DAC Meridian Explorer² USB DAC at usb-3f98.usb-1.2, high

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread coyrls
Also, rather than vi the sound.state, can you also run "cat sound.state", I want to see if vi is putting the escaped characters in or if the escapes are in the file itself. The two errors are for control #2 and #3 and those are the two with the special characters in the name.

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread coyrls
Pommes wrote: > > the file /proc/asound/cards exists, but is empty(i did vi cards, is > there an easier way on mac?) > > Thanks > regards > Pommes Sorry you can't vi that file. At the command ($) prompt just type cat /proc/asound/cards

Re: [SlimDevices: Unix] 5" Touchscreen display that works with Jivelite right out of the box.

2021-02-12 Thread jeroen2
Howard Passman wrote: > I ended up just making a case out of black acrylic. If you have tools to > cut the stuff with you can put one together fairly quickly. Plenty of > room to hold the pi, etc.. The server is in there and I use the screen > just as a display although it can be used to

Re: [SlimDevices: Unix] 5" Touchscreen display that works with Jivelite right out of the box.

2021-02-12 Thread jeroen2
wtnh wrote: > I just got the 3.5" version working as well and noted the same thing > about the touch calibration being upside-down. It was pretty confusing > at first trying to set the Jivelight language to English and I kept > getting some other language.;) > Yep, same here.. :D Still a bit

Re: [SlimDevices: Unix] New sd-card image backup feature in pCP 7.0.1

2021-02-12 Thread paul-
mr-b wrote: > Tx. It'd be good to flag that the process is run in the background as > the web page spins, so it's not obvious. > Also about LMS ideally needing to be shutdown, unless it can do that > too. > Printing a dot every 5 seconds is what it does. The only way to know for sure if it

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-12 Thread paul-
Most likely caused by a partial failure during an insitu update. The code allows for a /home/tc/www directory, for development purposes, but the average user should not have it. To correct it SSH into the device. 1) First verify the presence of data in /var/www

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread chill
carsten_h wrote: > > So forgot all what I wrote. You code is working perfectly! That's a relief - thanks for the update! Maybe I should leave that extra line in the script, as it makes the output more informative. To do it properly, this line should go immediately after the definition of

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread carsten_h
chill wrote: > I'm struggling with this - it's working flawlessly here. Ok, I will try. Reboot with speakers: Code: find SoundSticks [ 10.89] Searching for SoundSticks with idVendor=05fc and idProduct=7849 in dmesg [ 10.92] SoundSticks detected on

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread chill
Hi Carsten I'm struggling with this - it's working flawlessly here. Your installation results and rules all look ok. You said "When booting with switched on Speaker, they are working. Then switching off doesn't switch off Squeezelite. It is still running." This suggests that the udev rule

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread Pommes
Paul Webster wrote: > Please post the entire contents of your /var/lib/alsa/asound.state > file. > If too big then you can attach it to the forum post. > If not too big then enclose with BBS tag [ code ] and [ /code ] but > without the spaces. > > > > BBS tags -

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread Pommes
coyrls wrote: > Pommes, please can you run: > > Code: > > sudo alsactl -d restore > > > -d is a debug option and may give us more information on the error > message. > > Can you also post the contents of this file: > > Code:

Re: [SlimDevices: Unix] New sd-card image backup feature in pCP 7.0.1

2021-02-12 Thread mr-b
In case it helps on the image size calc, my partition info from Resize FS Code: FilesystemSize Used Available Use% Mounted on /dev/mmcblk0p2 29.2G 4.0G 24.8G 14% /mnt/mmcblk0p2 5.5T 2.4T 3.0T 44% /mnt/music

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread carsten_h
I looked for another script, but there is only this one. pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon one case pi3b+ (7\" display, hifiberry dac+ pro) picoreplayer with squeezlite/jivelite for hifiberry and bluetooth headphone inside a smartipi touch case two airport

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread chill
Hi Carsten Thanks for checking. I'll look into that. Can you confirm that you only have one 10-.rules file in that directory? One possible problem is that if you have a rules file from a previous installation still present, the one that comes first alphanumerically will take precedence.

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread carsten_h
chill wrote: > I've updated the script to simplify the setup process, and to improve > the feedback that it provides, so I thought it was worth posting the > update. Here is my output of the script: Code: tc@musikbox:~$ sudo ./SQLITE-control.sh install Squeezelite

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread Pommes
coyrls wrote: > Pommes, please can you run: > > Code: > > sudo alsactl -d restore > > > -d is a debug option and may give us more information on the error > message. > > Can you also post the contents of this file: > > Code:

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-12 Thread kidstypike
TheLastMan wrote: > This is what the tabs look like on my main page You need to install winscp, login using user = tc, password = piCore, and navigate to /home/tc/www in the right hand pane to see if you have www. https://winscp.net/eng/index.php 33345

Re: [SlimDevices: Unix] New sd-card image backup feature in pCP 7.0.1

2021-02-12 Thread mr-b
Tx. It'd be good to flag that the process is run in the background as the web page spins, so it's not obvious. Also about LMS ideally needing to be shutdown, unless it can do that too. I'll see how cron works out with pcp ic. And is there any reason why pigz.tcz isn't included by default? Why

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread coyrls
Pommes, please can you run: Code: sudo alsactl -d restore -d is a debug option and may give us more information on the error message. Can you also post the contents of this file: Code: /proc/asound/cards

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-12 Thread TheLastMan
This is what the tabs look like on my main page 33344 +---+ |Filename: pcp 7 main page.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=33344|

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-12 Thread Paul Webster
Do you have a /home/tc/www ? If yes - see https://forums.slimdevices.com/showthread.php?111787-ANNOUNCE-piCorePlayer-6-0-0=1008158=1#post1008158 Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia,

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-12 Thread Paul Webster
Could this be the problem where there are two sets of web pages on the pCP system as a result of an in-situ update? 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

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-12 Thread TheLastMan
Hi folks, can I refer you to a thread on LMS 8.1? On my version of pCP 7.0.0 I do not appear to have the manual LMS upgrade options, so can only get what I am given, which is LMS 7.9.2

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread chill
THE SCRIPT: Code: #!/bin/sh # Script to be used by udev rules that detect when a USB DAC is connected or disconnected, # in order to start or stop Squeezelite # $1 : is the script option: 'restart', 'stop', 'find' or 'install' # $2 : is the (CARD)name of the

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread chill
I've updated the script to simplify the setup process, and to improve the feedback that it provides, so I thought it was worth posting the update. SHORT SETUP INSTRUCTIONS: 1) Use whatever tools you are comfortable with to create a script file in your home directory, then paste the contents of

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-12 Thread soundcheck
Hi. I meanwhile tried some restores of the new backup images, even with the PI being booted. That's the process I'm running: Code: sudo su filetool.sh -b && sync if grep -q "mmcblk0p1" /proc/mounts; then umount -l /mnt/mmcblk0p1; fi if grep -q "mmcblk0p2"

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread Paul Webster
Could be but the error message refers to Code: alsactl: set_control:1325: failed to obtain info for control #2 (No such file or directory) alsactl: set_control:1325: failed to obtain info for control #3 (No such file or directory) ...

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread coyrls
I've just checked and, yes, Explorer 2 is actually Explorer². I wonder if this non ascii name is causing the problem with restore. coyrls's Profile: http://forums.slimdevices.com/member.php?userid=44253 View this thread:

Re: [SlimDevices: Unix] Alsa mixer on picore - cannot save

2021-02-12 Thread coyrls
Paul Webster wrote: > Please post the entire contents of your /var/lib/alsa/asound.state > file. > If too big then you can attach it to the forum post. > If not too big then enclose with BBS tag [ code ] and [ /code ] but > without the spaces. > > > > BBS tags -

Re: [SlimDevices: Unix] Power on and off an external AMP with piCorePlayer

2021-02-12 Thread slartibartfast
toupman wrote: > Hi, > > I want to install a pi with piCorePlayer on it in my main bathroom > behind the mirror. Therefore I prepared everything and I have network, > power and two speaker cables behind the mirror. > The two speaker cables are ending in the ceiling where I have planed to >

Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-12 Thread slartibartfast
bigq wrote: > I registered DAC going off and on, so it worked but didn't change the > situation, thank you!I wonder if it would work with a delay between the > commands. You could SSH into the Pi and issue the commands in the terminal. The gap between commands should be enough to simulate a