Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread teebee
I'll do some more testing. I don't need Lms running on my htpc as that pc is not powered on 24/7. My test pi already work with the startup script, but it needs to finish scanning before I can test it against htpc with the power on resume setting in Lms If all fails I guess test pi and htpc sque

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread bpa
teebee wrote: > I would guess Lms is started first as it start as a service and > squeezelite start as Startup Applications. "Guess" may not be sufficient for reliable operations. After a quick look at the Gerrelt script and it seems the Gerrelt script does a lot of stuff about ensuring is

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread teebee
I would guess Lms is started first as it start as a service and squeezelite start as Startup Applications. Sent from my BLA-L29 using Tapatalk SB Radio x2, SB Duet, Squeezelite teebee's Profile: http://forums.slimdevice

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread bpa
teebee wrote: > 1) If lms and squeezelite is on same pc it doesn't autoplay after > startup. But it does autoplay if i start playing, kill squeezelite > process and start the process again. So might be a issue with lms > restart Is LMS up & running before squeezelite executable is started ? -

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread bpa
teebee wrote: > It don't need to be started as service. Could be started with user > logon. Getting closer to my goal with apesbrains power on resume > suggestion. Not sure what you exactly want. Auto startup but also work with kodi. As I see it, they are two problems. If you plan to share a

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread teebee
It don't need to be started as service. Could be started with user logon. Getting closer to my goal with apesbrains power on resume suggestion. Sent from my BLA-L29 using Tapatalk SB Radio x2, SB Duet, Squeezelite teebee

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread bpa
I think you have two issues that may be intertwined. Just dealing with having a Squeezelite installed as a service (using Ubuntu standard squeezelite 1.8 package ) You need to change the /etc/default/squeezelite file - retain permissions & owners/group settings. Changes are in red. Code:

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread teebee
Apesbrain wrote: > Have you tried the "Resume/Restart at power on" player options in LMS: > > [image: https://i.imgur.com/dwRXCeu.jpg] I tested this. 1) If lms and squeezelite is on same pc it doesn't autoplay after startup. But it does autoplay if i start playing, kill squeezelite process a

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread bpa
teebee wrote: > I guess it just could be a command in the startup command or a setting > in player settings. It could be a easier way than through scripts. It is to do with sharing the same audio device across different users. For example, the "-o pulse" is for Pulseaudio but it is per user by

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread Apesbrain
Have you tried the "Resume/Restart at power on" player options in LMS: [image: https://i.imgur.com/dwRXCeu.jpg] Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 View this thread: http://forums.slim

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread teebee
I guess it just could be a command in the startup command or a setting in player settings. It could be a easier way that through scripts. SB Radio x2, SB Duet, Squeezelite teebee's Profile: http://forums.slimdevices.com/m

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread bpa
teebee wrote: > Ohh, maybe just give up this then. I can try to make a feature request > to ralphy if I find where to do that. Thanks for all your testing. It is not something that a "feature "in Squeezelite will solve. Part of the solutions is already in squeezelite

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread teebee
Ohh, maybe just give up this then. I can try to make a feature request to ralphy if I find where to do that. Thanks for all your testing. SB Radio x2, SB Duet, Squeezelite teebee's Profile: http://forums.slimdevices.com/m

Re: [SlimDevices: Unix] squeezelite start playing music on startup

2020-04-24 Thread bpa
I'm testing a very similar setup (ubuntu 18.04 x86_64, nVidia HDMI+audio and onboard Intel audio) & have reproduced the issue. It is a ALSA/Pulseaudio sharing issue. I'm looking for a "mix" solution but I'm not familiar with systemctl and it seems to be "complicating" things.

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread tbali
asen_v_k wrote: > Hi tbali, do you have the patched version from post #24? > Now the web link is not more available.. It was a test build which supports Pi 3. Now that is already in the bundle, so there isn't any new build for your problem. Sorry, but I don't have any Pi 4s, nor time, so can n

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread asen_v_k
tbali wrote: > Oh, I didn't see that you already answered the problem. Yes, I also > applied your patch years ago :) (to fix Pi 3 GPIO base address): Hi tbali, do you have the patched version from post #24? Now the web link is not more available.. Thank you! Asen ---

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread tbali
Paul Webster wrote: > See my earlier message with a link to Raspberry Pi forum post that > explains the various options (you will see me in that thread and also > that I patched lcdproc in the past for same reason on different Pi). Oh, I didn't see that you already answered the problem. Yes, I

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread Paul Webster
tbali wrote: > The problem is that pikeyd thinks the GPIO base address is at > 0x2020, but it must be somewhere else on the Pi 4. There is some > code in pikeyd which tries to find out what the GPIO base address is, > that should be revised/updated. See my earlier message with a link to Ras

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread tbali
asen_v_k wrote: > > GPIO base: 0x2020 > mmap: Operation not permitted > Failed to map memory > The problem is that pikeyd thinks the GPIO base address is at 0x2020, but it must be somewhere else on the Pi 4. There is some code in pikeyd which tries to find out what the GPIO base addre

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread asen_v_k
Paul Webster wrote: > Not tried it ... but there is this > https://github.com/MartyTremblay/piCorePlayer-i2c-LCD > Thank you Paul, But my i2c LCD 16x2 screen work fine with lcdproc-server and slimmer. My problem is only rotary encoder daemon. Now i think to try https://forums.slimdevices.com/

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread Paul Webster
asen_v_k wrote: > Do you know any other way? > Not tried it ... but there is this https://github.com/MartyTremblay/piCorePlayer-i2c-LCD (from the other thread I linked to you can see that there are easy hacks and slightly more complicated but more platform independent changes that could be m

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread asen_v_k
Paul Webster wrote: > > There might well be other ways to do it now that already work on RPi4. Do you know any other way? Thanks Asen asen_v_k's Profile: http://forums.slimdevices.com/member.php?userid=70002 View this

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread Paul Webster
I see that pikeyd has not been changed for 7 years. Perhaps this thread from Raspberry Pi forum would help someone who wants to update it https://www.raspberrypi.org/forums/viewtopic.php?t=244031 However, do you need pikeyd/lcdproc to achieve what you want to do? There might well be other ways t

Re: [SlimDevices: Unix] Announce: Slimmer

2020-04-24 Thread asen_v_k
Hello, im try to install lcdproc-server, slimmer, and pikeyd to raspberry pi 4 with picoreplayer 6.0.0. On repository "Official PiCore repo" is not found libusb-compat. Here is my solution: Download the libusb-compat from ibiblio wget xxx://distro.ibiblio.org/tinycorelinux/9.x/armv7/tcz/libusb-