Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread chill
Oh, and another thing to keep in mind - it was pointed out 'earlier' (https://forums.slimdevices.com/showthread.php?111502-Jivelite-on-a-Pirate-Audio-240x240-screen=962304=1#post962304) that newer versions of the Pirate Audio boards will use a different GPIO for the Y button. Going forward I

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread chill
paul- wrote: > Just thinking out loud here. So I think the best way to handle startup > of the screen is through managing a screen extension. > Have you decided against an overlay? What you have suggested makes sense, and having an automated way to make use of all the features of the board

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread gregklanderman
Greg and Chill, sorry for the trouble earlier, I normally use zsh and first wrote it using that, and then tested using bash as I assumed that's what you would be using.. so what I wrote works on either of those sh variants, but apparently not ash.. but you found an alternative that works there

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread paul-
Just thinking out loud here. So I think the best way to handle startup of the screen is through managing a screen extension. The screen extension, would have the kernel module as a dependency, then the automated start script would load the screen commands. Since this would happen before pcp

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread paul-
I don't think a new image will fit. Default images are 64MB boot, 64MB user. And that is real MB, and the card is probably 128 MegaBits. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread paul-
You should look at the pcp code sometimes... it's all shell script. Although, I admit some sections are not so elegant. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

Re: [SlimDevices: Unix] Can't control PiCorePlayer with RPi Screen/Jivelite connected with OpenVPN

2020-02-11 Thread Jeff07971
kbeast wrote: > So this script is great. I had to modify it a little where i ran > openvpn after it tries to kill the process since mine was connecting to > vpn regardless. I also set the home network to something wildly > different as for me, my network is very common so it would think i was

Re: [SlimDevices: Unix] Can't control PiCorePlayer with RPi Screen/Jivelite connected with OpenVPN

2020-02-11 Thread kbeast
Jeff07971 wrote: > > I have posted a script here > https://forums.slimdevices.com/showthread.php?106895-Running-picoreplayer-over-a-VPN=875306=1#post875306 > This will check if the Pcp is on the local network and prevent a VPN > being connected and if not connect the VPN > > > Code:

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread chill
I have to say, elegance in the code is one of the things that appeals to me in programming, and this bit of the script now seems rather elegant. The problem I face is that I can barely make bash do what I want it to, so my efforts end up rather 'clunky'! It's always a pleasure to see how

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread chill
That works perfectly, thanks Greg, and Greg :-) If I run this as a user script (without sudo), rather than as a start-up user command, then pigpiod doesn't start, so I get the 10 second time-out. If I run it with sudo then it initialises after the first loop though, i.e. it takes a second to

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread Greg Erskine
Maybe: if [ $((count--)) -le 0 ]; then Example from pcp_startup.sh: if [ $((CNT++)) -gt $NETWORK_WAIT ]; then Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread:

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread Greg Erskine
I think a fresh install should still work. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=110727

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread M-H
I have an old 128 MB sd-card that still holds pcp 4.00 on an a daily running player. As an experiment I tried to install pcp 6B9 on it . Unfortunately the image is just a bit to big. And the insitu upgrade fails at the untar. Quite obviously a space issue, and not an error that needs a fix. But

Re: [SlimDevices: Unix] A nice Pi case !!

2020-02-11 Thread d6jg
kidstypike wrote: > What does the "heat kit" consist of? Does it work? > > Can you see the power and activity LEDs through the front plate? > > Have they made screwing the end plates to the case any better/easier? > > Thanks. The heat sink consists of small alloy blocks that screw to the sub

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread chill
Greg Erskine wrote: > Is this a ash/sh Linux script? > > Is this line OK? > > if (( count-- <= 0 )) ; then Apparently it's not ok. I'm running this under pCP6-b9. I changed my script to look like this, so that that line is line 16: Code: #!/bin/sh # start

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread paul-
Yup... I never push beta talk there. Just too much for one person to update. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread Greg Erskine
Is this a ash/sh Linux script? Is this line OK? if (( count-- <= 0 )) ; then Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread:

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread Greg Erskine
gregklanderman wrote: > No problem! If you want to add a limit, you could do something like > this: > > > Code: > > > count=10 # approx time limit in seconds > while ! pigs t >/dev/null 2>&1 ; do > if (( count-- <= 0 )) ; then > printf "\npigpiod failed to

Re: [SlimDevices: Unix] A nice Pi case !!

2020-02-11 Thread kidstypike
d6jg wrote: > As promised. I added some feet. What does the "heat kit" consist of? Does it work? Can you see the power and activity LEDs through the front plate? Have they made screwing the end plates to the case any better/easier? Thanks. *Server - LMS 8.0.0 *Pi4B 4GB/Flirc case/pCP

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread d6jg
paul- wrote: > The connection right after startup is missing alot of steps.The > initial message looks like your speaker might connect as the daemon is > starting. > > 1) Shut off the speaker when booting your pCP device. > 2) When you switch off the speaker, give it 5 seconds or so before

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread paul-
The connection right after startup is missing alot of steps.The initial message looks like your speaker might connect as the daemon is starting. 1) Shut off the speaker when booting your pCP device. 2) When you switch off the speaker, give it 5 seconds or so before turning back on. Also

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-02-11 Thread Man in a van
Man in a van wrote: > > > On the LMS i have the DSDPlay Plugin installed > > 29347 > > paul- wrote: > The digione is only claimed to support DOP. So the only squeezelite > setting you should try in the -D option is > > x:dop > > where x is some delay that might be needed to hide

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread simonheard
I'd appreciate some help with an issue I'm experiencing. I'm running b9 on a Pi4B LMS on a separate Ubuntu server, ethernet connections. I can connect a BOOM 3 BT speaker but when it's switched off and on again, I have to restart the BT speaker daemon to get any sound. Here is the BT log. pCP

Re: [SlimDevices: Unix] A nice Pi case !!

2020-02-11 Thread d6jg
two. As promised. I added some feet. [image: https://uploads.tapatalk-cdn.com/20200211/ab69204ef8effbf0cc551749ca176c73.jpg][image: https://uploads.tapatalk-cdn.com/20200211/1713713189207d6bd86a6a9b8c5b4c52.jpg][image: https://uploads.tapatalk-cdn.com/20200211/3b2e792b5dfd9ca827d6498dbb7d194b.jpg]

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-02-11 Thread gregklanderman
chill wrote: > Thanks Greg - that's much neater, and works the same way. No problem! If you want to add a limit, you could do something like this: Code: count=10 # approx time limit in seconds while ! pigs t >/dev/null 2>&1 ; do if (( count-- <= 0 )) ; then

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-02-11 Thread paul-
The digione is only claimed to support DOP. So the only squeezelite setting you should try in the -D option is x:dop where x is some delay that might be needed to hide pops and clicks when switching. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage:

Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-02-11 Thread Man in a van
mftech wrote: > I'm using the Digione +Rpi3 whit LMS 7.9.2 running on a Daphile Server > No problems with PCM playback. > I enable both settings for DSD-over-PCM in LMS Player Settings. > > After this settings was enable I was unable to playbapck DSD or PCM, the > cursour move but no sound, I

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread paul-
I’ve not tested with anything less than a v4 adapter. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread ZOZO
paul- wrote: > No codes required, are you enabling discover mode in the web interface? Yes, i have enable disover mode. So i see picoreplayer on my android bluetooth list but when i try to connect, my phone ask me for a code. Maybe it is my old usb dongle, it is a 1.2 bluetooth version

Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-02-11 Thread The Moog
That seemed to do it. Insitu update from 5.0.1 now seems to have gone fine with no issues. Many thanks! The Moog's Profile: http://forums.slimdevices.com/member.php?userid=5192 View this thread: