On Thu, Oct 15, 2020 at 8:00 AM <[email protected]> wrote:
> Send unix mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.slimdevices.com/mailman/listinfo/unix > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of unix digest..." > > > Today's Topics: > > 1. Re: Debian packages update - Possible dpkg failure (mrw) > 2. Re: Jivelite on a Pirate Audio 240x240 screen (Howard Passman) > 3. Re: Jivelite on a Pirate Audio 240x240 screen (jeroen2) > 4. Re: Debian packages update - Possible dpkg failure (Man in a > van) > 5. Re: Debian packages update - Possible dpkg failure (Man in a > van) > 6. Re: Jivelite on a Pirate Audio 240x240 screen (macsat) > 7. Re: PiCore Player and gpio-poweroff / gpio-shutdown overlays > (jeroen2) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 14 Oct 2020 18:06:36 +0000 > From: mrw <[email protected]> > To: [email protected] > Subject: Re: [SlimDevices: Unix] Debian packages update - Possible > dpkg failure > Message-ID: <[email protected]> > > > Man in a van wrote: > > I still had to add libcrypt-openssl-rsa-perl for philippe_44 ShairTune > > Plugin :( > > It's not actually a dependency of LMS, which is why it never went into > the dependency list. And I wasn't using the ShairTune plugin at the > time. > > Maybe there's a case for adding the dependency anyway... > > > ------------------------------------------------------------------------ > mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 > View this thread: http://forums.slimdevices.com/showthread.php?t=108744 > > > > ------------------------------ > > Message: 2 > Date: Wed, 14 Oct 2020 18:19:09 +0000 > From: Howard Passman > <[email protected]> > To: [email protected] > Subject: Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 > screen > Message-ID: <[email protected]> > > > Did you download the proper extension? Follow these instructions? > > Display: > Scroll down to 'Additional functions' and click on 'Extensions'. Wait > for three green ticks, then click on the 'Available' tab. In the > 'Available extensions in the piCorePlayer repository' section, load the > pcp-jivelite_default-qvga240squareskin.tcz extension. > > In the Jivelite section of the Tweaks page, change the Framebuffer to > /dev/fb1 and click on 'Set FB'. The Frame Rate and Frame Depth can be > left blank - they will default to 22 and 32 respectively, which are > fine. > > Install Jivelite from the Tweaks page (this step includes an automatic > backup, so accept the reboot prompt.) > > The screen should now show console messages during boot, then the > piCorePlayer splash screen, then Jivelite ‘Choose Language’. > > Hope this helps... > > Howard > > > > macsat wrote: > > I got it all installed, playback works and display shows the "choose > > language screen". > > > > With an attached keyboard I have chosen English, next screen is the skin > > selection. Here I try to select the QVGA 240x240 one, but dosnt seem to > > work. I cant get it to go past that screen, and after reboot I am back > > at language selection screen. > > > > Quite annyoing. > > > > BR > > Kasper > > > ------------------------------------------------------------------------ > Howard Passman's Profile: > http://forums.slimdevices.com/member.php?userid=16674 > View this thread: http://forums.slimdevices.com/showthread.php?t=111502 > > > > ------------------------------ > > Message: 3 > Date: Wed, 14 Oct 2020 18:28:09 +0000 > From: jeroen2 <[email protected]> > To: [email protected] > Subject: Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 > screen > Message-ID: <[email protected]> > > > macsat wrote: > > With an attached keyboard I have chosen English, next screen is the skin > > selection. Here I try to select the QVGA 240x240 one, but dosnt seem to > > work. I cant get it to go past that screen, and after reboot I am back > > at language selection screen. > > > > It took me a few days before I realised I had to attached a keyboard, so > you're ways ahead of me on that one. :-) But after that it worked fine > for me (on a PiZero even). I can't check this anymore now, but I do > recall there are different ways to make a selection in Jivelite. > Sometimes it's the right arrow, sometimes it's the Enter key. Once you > managed to get through that you need to make sure you save the settings > to SD under advanced settings.. > > > ------------------------------------------------------------------------ > jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418 > View this thread: http://forums.slimdevices.com/showthread.php?t=111502 > > > > ------------------------------ > > Message: 4 > Date: Wed, 14 Oct 2020 19:37:29 +0000 > From: Man in a van <[email protected]> > To: [email protected] > Subject: Re: [SlimDevices: Unix] Debian packages update - Possible > dpkg failure > Message-ID: <[email protected]> > > > slartibartfast wrote: > > How did you install LMS when you first installed it on the Pi4? I can't > > remember what I did but I also can't remember any issues. > > > > Sent from my Pixel 3a using Tapatalk > > > > Different ways, it's changed with time, first Squeezeplug which morphed > into Max2Play, then using using Gerrelt's way for headless rpi > > > http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-stand-alone-squeezebox-server-and-player-for-bbq/ > > Then, using the instructions from the wiki, or pCP as it matured > > I have mostly now settled on Raspberry PI OS Desktop (without the > extras) but sometimes downloading and installing through the Desktop, > but I have always had to install the dependencies for philippe_44's > plugins > > And a lot of the time just a wget, apt and apt install -f > > It's just for a change :) > > ronnie > > > ------------------------------------------------------------------------ > Man in a van's Profile: > http://forums.slimdevices.com/member.php?userid=43627 > View this thread: http://forums.slimdevices.com/showthread.php?t=108744 > > > > ------------------------------ > > Message: 5 > Date: Wed, 14 Oct 2020 19:39:50 +0000 > From: Man in a van <[email protected]> > To: [email protected] > Subject: Re: [SlimDevices: Unix] Debian packages update - Possible > dpkg failure > Message-ID: <[email protected]> > > > mrw wrote: > > It's not actually a dependency of LMS, which is why it never went into > > the dependency list. And I wasn't using the ShairTune plugin at the > > time. > > > > Maybe there's a case for adding the dependency anyway... > > Thanks for the info, I hope you don't think I was offering a critique, > the post was only meant as feedback :) > > ronnie > > > ------------------------------------------------------------------------ > Man in a van's Profile: > http://forums.slimdevices.com/member.php?userid=43627 > View this thread: http://forums.slimdevices.com/showthread.php?t=108744 > > > > ------------------------------ > > Message: 6 > Date: Wed, 14 Oct 2020 21:31:04 +0000 > From: macsat <[email protected]> > To: [email protected] > Subject: Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 > screen > Message-ID: <[email protected]> > > > jeroen2 wrote: > > It took me a few days before I realised I had to attached a keyboard, so > > you're ways ahead of me on that one. :-) But after that it worked fine > > for me (on a PiZero even). I can't check this anymore now, but I do > > recall there are different ways to make a selection in Jivelite. > > Sometimes it's the right arrow, sometimes it's the Enter key. Once you > > managed to get through that you need to make sure you save the settings > > to SD under advanced settings.. > > I had missed the part about saving settings to SD. Thank you, working > nicely now. > > Perfect little player - RPi Zero W with Pirate Audio. > > > ------------------------------------------------------------------------ > macsat's Profile: http://forums.slimdevices.com/member.php?userid=46905 > View this thread: http://forums.slimdevices.com/showthread.php?t=111502 > > > > ------------------------------ > > Message: 7 > Date: Thu, 15 Oct 2020 08:50:29 +0000 > From: jeroen2 <[email protected]> > To: [email protected] > Subject: Re: [SlimDevices: Unix] PiCore Player and gpio-poweroff / > gpio-shutdown overlays > Message-ID: <[email protected]> > > > paul- wrote: > > .local is from avahi/zeroconf. pCP can send curl commands to the LMS > > server all day long. There are other ways to automatically find IP > > address of your LMS server....much lighter weight than avahi > > The way we prefer to do it in pcp, is to look at the local device and > > see what LMS server squeezelite is connected to. > > > > Thanks for this suggestion. I now wrote a small script that gets called > from Lircrc (in stead of hardcoding the full curl command for every > single key). It adds an extra layer, which I don't like, but it's much > easier to maintain and indeed does not require a reference to the server > name anymore either. The script looks like this: > (note that the remote controls its own player directly using "pcp up", > pcp down", etc.. But it also starts preset radio stations on the leading > player and volume and power functions on a small piZero player in a > connected room, by curling json commands to the server) > > Code: > -------------------- > #!/bin/sh > > LMSIP=$(netstat -nt 2>&1 | grep :3483 | grep ESTABLISHED | uniq -f 4 | > awk '{ print $5 }' | grep :3483 | awk -F: '{ print $1 }') > > #MAC address for external players > bathroomMAC="b8:27:eb:8a:xxxx" > livingroomMAC="aa:aa:bd:41:xxxx" > > # only preset commands go to main player (format "lmsjson.sh preset 1") > all others go to bathroom (format "lmsjson.sh power 0", max 3 params) > > if [ $1 = "preset" ] > then > command='{"id": 1, "method": "slim.request", > "params":["'$livingroomMAC'", ["favorites", "playlist", "play", > "item_id:2.'$2'"]]}' > else > command='{"id": 1, "method": "slim.request", "params":["'$bathroomMAC'", > ["'$1'", "'$2'", "'$3'"]]}' > fi > > #echo $LMSIP > #echo $command > eval "curl -X POST -d '"$command"' "$LMSIP":9000/jsonrpc.js" > > -------------------- > > > The lircrc files now only contains lines like this: > > Code: > -------------------- > begin > prog = irexec > remote = WD_TV_LIVE_REMOTE > button = KEY_3 > repeat = 0 > config = /home/tc/lmsjson.sh preset 2 > end > > -------------------- > > > One odd thing I noticed though: It seems that squeezelite is also > connected to and listening to Lirc, because the mute key (which is not > in my lircrc file) mutes the player. Since LMS seems to have 'issues > with Mute/Unmute ' > ( > https://forums.slimdevices.com/showthread.php?109624-Announce-Material-Skin&p=988645&viewfull=1#post988645)I > want to avoid that.. But I can't figure out how squeezelite is > configured to respond to Lirc. There is nothing in my Lirrc file for the > mute key, so it seems to be at a lower level. Would anybody know where I > can find the mapping for this connection? > > > ------------------------------------------------------------------------ > jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418 > View this thread: http://forums.slimdevices.com/showthread.php?t=109270 > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > unix mailing list > [email protected] > http://lists.slimdevices.com/mailman/listinfo/unix > > > ------------------------------ > > End of unix Digest, Vol 189, Issue 27 > ************************************* >
_______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
