Much appreciated Philippe. I've dropped the 5 files from your PR into my existing install and after a restart of LMS the /stream.flac path is indeed available. It plays just fine on an Echo but I have no way of knowing what the stream actually is that the Echo is receiving. In iPeng, the AlexaPlayer shows up and if I click on 'more info' when streaming a FLAC file, I see this:Originally Posted by philippe_44
That would seem to imply that the stream is an MP3 conversion from FLAC rather than native FLAC, or am I misunderstanding?
![]()
Results 11 to 20 of 32
-
2021-05-17, 03:15 #11
-
2021-05-19, 01:06 #12
- Join Date
- May 2008
- Location
- Canada
- Posts
- 7,896
Last edited by philippe_44; 2021-05-19 at 01:17.
LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2021-05-19, 01:12 #13
Originally Posted by philippe_44;
-
2021-05-19, 10:57 #14
Alexa can now handle FLAC streams
Originally Posted by philippe_44;
Last edited by philchillbill; 2021-05-19 at 12:28.
-
2021-05-19, 12:48 #15
- Join Date
- May 2008
- Location
- Canada
- Posts
- 7,896
LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2021-05-19, 14:42 #16
Originally Posted by philippe_44
silence.flac and silence-header.flac to /usr/share/squeezeboxserver/HTML/EN/html
convert.conf to /usr/share/squeezeboxserver
HTTP.pm to /usr/share/perl5/Slim/Player
the other HTTP.pm to /usr/share/perl5/Slim/Web
I then did a sudo chown root:root on all the copies filed and restarted LMS
TBH I'm not sure why my LMS has files in /usr/share/squeezeboxserver and in /usr/share/perl5 so maybe my approach in applying your PR to my existing install was wrong.
-
2021-05-19, 17:19 #17
- Join Date
- May 2008
- Location
- Canada
- Posts
- 7,896
Alexa can now handle FLAC streams
Last edited by philippe_44; 2021-05-19 at 23:12.
LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2021-05-20, 00:03 #18
Originally Posted by philippe_44;
Have you tried "Forget this player" in the WEB UI using Settings --> Player --> VLC from Alexa --> Forget this player? It works fine when the player was created via /stream.mp3 but not when /stream.flac is used.
Also, player controls like next/previous seem to work sometimes and sometimes not.Last edited by philchillbill; 2021-05-20 at 02:26.
-
2021-05-20, 09:03 #19
- Join Date
- May 2008
- Location
- Canada
- Posts
- 7,896
Alexa can now handle FLAC streams
Last edited by philippe_44; 2021-05-20 at 09:38.
LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2021-05-20, 23:32 #20
- Join Date
- May 2008
- Location
- Canada
- Posts
- 7,896
I think I'll have to give up on this one. There are too many issues with a flac continuous stream.
Normally, flac is supposed to be streamable because it has paquets delimiters like mp3 and each paquet is self-contained, which makes headers optional. Unfortunately, most players I've tried want headers. Then the ones that can just work with paquets can't accept sampling rate change in the stream (which will happen as this is a continuous stream but with different tracks - again mp3 allows that). Then when playing local files, LMS might not transcode them (flac) and in that case they have a full flac header which confuses even more players that can accept raw paquet (they can't recover flac sync properly).
On paper, this should work according to flac specs, but in practice it does notLMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3