Re: [slim] Call for testers! Daphile

2020-12-24 Thread Michael Herger

Does TIDAL work in LMS?


Yes, of course.

--

Michael
___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Installing extra packages on piCorePlayer

2020-12-24 Thread paul-


Headphones is the correct output for onboard audio in pCP7



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113507

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Installing extra packages on piCorePlayer

2020-12-24 Thread cliveb


Jeff07971 wrote: 
> I ALWAYS resize the fs to full sdcard capacity before doing anything
I did try that at one point, but it didn't seem to help.

Jeff07971 wrote: 
> Maybe its ANY operation rather than changing O/P device
I guess that's possible.

Jeff07971 wrote: 
> Edit2: I Used piCorePlayer7.0.0b6
I'll try using that version and see what happens.
But probably not for a couple of days now.
(Interesting that the default output device for you was CARD=Headphones
rather than CARD=ALSA. I'll check that when I try 7.0.0b6).

Merry Christmas!



Transporter -> ATC SCM100A

cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348
View this thread: http://forums.slimdevices.com/showthread.php?t=113507

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Installing extra packages on piCorePlayer

2020-12-24 Thread Jeff07971


Hi Cliveb

Glad you got it working, if by a long winded process !

However

> So it would seem that switching the audio output device is the crucial
> step that gets everything going.
> (I speculate that the reason others say "it just works" is perhaps
> because they had already set their output device to something other than
> the default analog audio).

I don't think that this can be the case, as when testing for you I did
not change the output device at all !

BUT

I ALWAYS resize the fs to full sdcard capacity before doing anything

Maybe its ANY operation rather than changing O/P device

I'll give it a try when I get a minute and report back

Jeff



*Want a webapp ?* Get SqueezeLite-X !
https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X=903953=1#post903953

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=113507

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Installing extra packages on piCorePlayer

2020-12-24 Thread cliveb


OK, today the GPIO pin suddenly started working as desired, but I had no
idea which of the many things I fiddled with had done the trick. 
So I've spent a lot of time experimenting, being very methodical to try
and find out what fixed it.

Here's what I found. Bear in mind this is on a RPi4 using piCorePlayer
6.1.0.

1. Flash SD card with a fresh piCorePlayer image and boot up.
2. SSH in and check some things:
a). GPIO 13 is in mode IN, voltage low.
b). ps -ef shows squeezelite running with these options: *-o
hw:CARD=ALSA -a 80 1*
3. Try playing a track: No audio, pause causes track to restart rather
than pause, seek skips to position but then plays back a loop of about 5
secs.
4. Set power on/off to GPIO 13, active high. Squeezelite restarts.
5. readall.sh now shows GPIO in mode OUT, voltage high (even though
player is off).
6. Switching player on & off makes no difference; GPIO 13 remains high
at all times.
7. ps -ef shows squeezelite with options: *-o hw:CARD=ALSA -a 80 1 -G 13
H*
8. Try playing a track: no change, behaviour as in (3) above.
9. Restart squeezelite: no change.
10. Reboot piCorePlayer: no change.
11. Change audio output to RPiDAC and save, then back to analog audio
and save. Squeezelite fails to restart.
12. Reboot.
13. Now we have a fully functioning player!
a). GPIO 13 behaves as required: voltage low when player is off, high
when player is on.
b). Playback works correctly: pause pauses, seek skips as it should.
c). ps -ef shows squeezelite options: *-o hw:CARD=ALSA -a 80 0 -G 13 H*

So it would seem that switching the audio output device is the crucial
step that gets everything going.
(I speculate that the reason others say "it just works" is perhaps
because they had already set their output device to something other than
the default analog audio).

I am also intruiged by the change in the parameters to the -a option
that happened.
That second parameter (0 instead of 1) is presumably the thing that got
the audio output working.
The documentation says that this is the "period count or size in bytes".
No idea what that means.

In summary, to get it working on the Pi4, the minimum sequence of steps
is:

1. Flash SD card with piCorePlayer, boot up.
2. Set power on/off to desired GPIO.
3. Set audio output to something else, save.
4. Set audio output back to analog, save.
5. Reboot.
6. Player now behaves as expected.

Mysteries that remain:

1. Why does changing the audio output fix the behaviour of the GPIO
control?
2. Why did pause and seek do the wrong things until the audio output was
fixed? (It's not like LMS has any idea that the player's output device
is set up wrong).

Thanks to everyone who helped me with this.
It was a bit of an ordeal, but of course orders of magnitude less work
than creating my own plugin, as I had originally thought I would need to
do!



Transporter -> ATC SCM100A

cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348
View this thread: http://forums.slimdevices.com/showthread.php?t=113507

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Call for testers! Daphile

2020-12-24 Thread vladislav


mherger wrote: 
> > Does tidel work for daphile? I can not understand ...
> 
> Please get in touch with the Daphile developer. Only he knows.
> 
> -- 
> 
> Michael


Does TIDAL work in LMS?



vladislav's Profile: http://forums.slimdevices.com/member.php?userid=71115
View this thread: http://forums.slimdevices.com/showthread.php?t=99132

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss