Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-18 Thread gordonb3


mherger wrote: 
> 
> 
> You patched yourself? Would be great if you could confirm 8.3.1, as I 
> plan to release that probably soon.

Hesitant on account of the alarm issue which apparently still exists
given that the thread on this issue received a post earlier today. May
try temporarily later today. Nightly builds are somewhat complex to
create a package for though because of the unpredictable number
component in the file names. I can probably do a git clone but I'm not
that eager to retrieve all the arch stuff that doesn't work with the way
I created the package anyway (regardless of target system).



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-18 Thread Michael Herger

Slightly different from the one that was proposed earlier and that I
added to my Gentoo build, but yes this works as well.

Verified with 8.2.0 - not ready for 8.3.x yet.


You patched yourself? Would be great if you could confirm 8.3.1, as I 
plan to release that probably soon.

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-18 Thread gordonb3


mherger wrote: 
> Could you please try the latest 8.3.1 nightly build? Philippe kindly 
> provided a patch which would hopefully fix this.

Slightly different from the one that was proposed earlier and that I
added to my Gentoo build, but yes this works as well.

Verified with 8.2.0 - not ready for 8.3.x yet.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-18 Thread Michael Herger
Could you please try the latest 8.3.1 nightly build? Philippe kindly 
provided a patch which would hopefully fix this.

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-18 Thread gordonb3


An additional note:

I actually misidentified this bug. It is not related or even restricted
to SB Radio. The reason for this false identification is that I did not
have the same station selected on all of my SBs.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-18 Thread Michael Herger
PS How long ago was it that you rebooted that Pi? 


up 1 day, 21:35
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-18 Thread gordonb3


mherger wrote: 
> 
> Your choice. But you seem to suffer real problems with your choice, 
> asking for help about them, while SD card corruption and "Pi is no 
> better" are purely assumptions. Moving from an ARMv5 based NAS to a Pi3B
> 
> was like night and day. And that Pi has been running flawlessly on the 
> same SD card since January 2017.

I don't see where my choice of platform comes into this bug report. All
SB devices are perfectly capable of handling various types of compressed
streams as offered through MySqueezebox. From my point of view it is a
strange choice with installing a local LMS to disregard that
functionality in the player and concentrate all of the processing power
associated with decompression onto a single machine that unlike the
players needs to be always on. Keeping the CPU load distributed means I
can safely run my home automation system on the same machine as LMS
while with transcoding centralized I would have to move that to a second
machine to avoid a possible struggle over CPU time.

PS How long ago was it that you rebooted that Pi? Typical reports about
SD card failure state that data turns out to be missing after a reboot.
That is because memory cards and USB sticks usually do not report write
failures that are caused by a memory location having become fixed and so
whatever you think is written on it may in reality only exist in disk
cache.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread Michael Herger

Oh and obviously this is just a background server. It doesn't even have
any graphic interface that you can connect a screen to. And as stated it
runs a lot more than just LMS and does not get corrupted by an SD card
turning unwritable so I'll choose this over a Pi any time.


Your choice. But you seem to suffer real problems with your choice, 
asking for help about them, while SD card corruption and "Pi is no 
better" are purely assumptions. Moving from an ARMv5 based NAS to a Pi3B 
was like night and day. And that Pi has been running flawlessly on the 
same SD card since January 2017.

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread gordonb3


mherger wrote: 
> 
> Oh, and all the electric power you'll use working day and night. You'll
> 
> never compensate this using an underpowered device to run the code 
> instead of a Pi which wouldn't consume any more energy today...

A Pi is just as crippled as the device I use even though it may not seem
as obvious because on paper the processing power of the armv7 exceeds
that of the amv5te. Newer doesn't by definition mean better.

Oh and obviously this is just a background server. It doesn't even have
any graphic interface that you can connect a screen to. And as stated it
runs a lot more than just LMS and does not get corrupted by an SD card
turning unwritable so I'll choose this over a Pi any time.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread gordonb3

philippe_44 wrote: 
> I think as a dev the product of time_to_develop * runtime_ressources *
> app_complexity is a sort of constant. You just need to figure out what
> matters for you. I’m able now to create by my own things that would have
> taken a lifetime when I started my career. But it comes with a price.
> Language is one of the trade offs. As I did a lot of assembly, then
> C/C++ and then Perl (and Python to a lesser extend) I feel that
> difference very well.

As a database specialist I can actually state that it is very easy for
me to spot whether a client application is based on RADD or old
fashioned coding. I appreciate your stance but the reality of course is
that most of the code produced today may look cool but in terms of
effectiveness doesn't come anywhere near the quality that programmers
created 30-40 years ago and in several cases still actively develop on
today even though of course they had to go graphic and switch from Basic
to VB, from Pascal to Delphi, from C to VC and on to C#. In my
experience there are two types of people here: the first are managers
that like to have everything as quick and as cheap as possible, the
second are the employees that actually need to work with these
applications and their frustration is typically at least equally as high
as the manager's satisfaction.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread philippe_44

I think as a dev the product of time_to_develop * runtime_ressources *
app_complexity is a sort of constant. You just need to figure out what
matters for you. I’m able now to create by my own things that would have
taken a lifetime when I started my career. But it comes with a price.
Language is one of the trade offs. As I did a lot of assembly, then
C/C++ and then Perl (and Python to a lesser extend) I feel that
difference very well.



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

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread Michael Herger

interpreted versus code that is compiled. I'll bet you that if I were to
rewrite LMS and turn it into a binary I can make it show its web GUI
within a second after startup as well (currently takes 10-15 seconds for
the Apache frontend to stop returning a HTTP-500).


But you'll never get the months or years back you'll spend trying to 
re-implement LMS :-D. The attempts have been there. Nobody came up with 
anything remotely usable.


Oh, and all the electric power you'll use working day and night. You'll 
never compensate this using an underpowered device to run the code 
instead of a Pi which wouldn't consume any more energy today...

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread Michael Herger

interpreted versus code that is compiled. I'll bet you that if I were to
rewrite LMS and turn it into a binary I can make it show its web GUI
within a second after startup as well (currently takes 10-15 seconds for
the Apache frontend to stop returning a HTTP-500).


But you'll never get the months or years back you'll spend trying to 
re-implement LMS :-D. The attempts have been there. Nobody came up with 
anything remotely usable.

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread gordonb3


philippe_44 wrote: 
> But you can get LMS running with transcoding even on an old PiZero 1st
> gen with arm1176. Transcoding does not use that much CPU and compilers
> are really efficient (remember that all transcoders are native compiled
> application)

I know, but as said if you stress the CPU with some other process
running on the same machine it will get tricky.

btw, I did in fact spend the time to convert those python scripts that
prompted me to change LMS to notranscoding into an ELF binary which
reduced its runtime from 40+ seconds to below 1 (using two http calls at
minimum). That is the difference between running code that is
interpreted versus code that is compiled. I'll bet you that if I were to
rewrite LMS and turn it into a binary I can make it show its web GUI
within a second after startup as well (currently takes 10-15 seconds for
the Apache frontend to stop returning a HTTP-500).



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread philippe_44


gordonb3 wrote: 
> That would place higher requirements on the server CPU and subsequently
> either rule out green devices completely or require them to be dedicated
> for LMS and even then you would likely run into trouble when copying new
> music files onto them while also listening.
> 
> This said, my armv5te device actually does a pretty good job even with
> transcoding enabled (though last time I had it configured that way I
> only had two SB devices). The trouble started when I added some python
> scripts to my home automation app that also runs on that machine to pull
> data from a web service and the CPU load from python caused the players
> to start stuttering and sometimes even become completely silent for
> several seconds. That is why I require the notranscoding and really the
> only drawback is that I need to convert media files that come in `weird`
> formats (like Apple lossless) to native supported formats prior to
> adding them to LMS (effectively I recode everything to flac16 or if the
> original format was lossy to mp3).
> 
> Honestly, if I had enough time I would likely make an attempt to rewrite
> LMS in C++. I know there's lots of people that dislike compiling stuff
> but at current energy prices the difference between 10 Watts and 100
> Watts approaches 500 euros a year. That is money I'd rather spend on a
> nice diner.

But you can get LMS running with transcoding even on an old PiZero 1st
gen with arm1176. Transcoding does not use that much CPU and compilers
are really efficient (remember that all transcoders are native compiled
application)



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

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread gordonb3

philippe_44 wrote: 
> This is part of what I had to do to allow players that support aac to
> play mp4 streams but also to allow LMS to transcode when they don’t.
> It’s true that LMS does not benefit from mp4 to aac unwrapping when
> transcoding is disabled. Candidly, when I was writing that I was of the
> opinion that the notranscoding option should simply be removed

That would place higher requirements on the server CPU and subsequently
either rule out green devices completely or require them to be dedicated
for LMS and even then you would likely run into trouble when copying new
music files onto them while also listening.

This said, my armv5te device actually does a pretty good job even with
transcoding enabled (though last time I had it configured that way I
only had two SB devices). The trouble started when I added some python
scripts to my home automation app that also runs on that machine to pull
data from a web service and the CPU load from python caused the players
to start stuttering and sometimes even become completely silent for
several seconds. That is why I require the notranscoding and really the
only drawback is that I need to convert media files that come in `weird`
formats (like Apple lossless) to native supported formats prior to
adding them to LMS (effectively I recode everything to flac16 or if the
original format was lossy to mp3).

Honestly, if I had enough time I would likely make an attempt to rewrite
LMS in C++. I know there's lots of people that dislike compiling stuff
but at current energy prices the difference between 10 Watts and 100
Watts approaches 500 euros a year. That is money I'd rather spend on a
nice diner.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread philippe_44

gordonb3 wrote: 
> Interesting.
> 
> Since the number of changes were limited I did some tracing and found
> the offending change:
> 
> > 
Code:

  >   > 
  > diff --git a/Slim/Player/Squeezebox.pm b/Slim/Player/Squeezebox.pm
  > index e3411fe0e94..786c5a8600e 100644
  > --- a/Slim/Player/Squeezebox.pm
  > +++ b/Slim/Player/Squeezebox.pm
  > @@ -705,12 +705,8 @@ sub stream_s {
  > 
  > # container type and bitstream format: '1' (adif), '2' (adts), '3' (latm 
within loas), 
  > # '4' (rawpkts), '5' (mp4ff), '6' (latm within rawpkts)
  > -#
  > -# This is a hack that assumes:
  > -# (1) If the original content-type of the track is MP4 or SLS then we are 
streaming an MP4 file (without any transcoding);
  > -# (2) All other AAC streams will be adts.
  > -
  > -$pcmsamplesize   = Slim::Music::Info::contentType($track) =~ 
/^(?:mp4|sls)$/ ? '5' : '2';
  > +
  > +$pcmsamplesize   =  $controller->song->wantFormat ne 'aac' ? '5' : '2';
  > $pcmsamplerate   = '?';
  > $pcmendian   = '?';
  > $pcmchannels = '?';
  > 
  > 

> > 
> 
> Thanks for finding the correct method to fix this.

This is part of what I had to do to allow players that support aac to
play mp4 streams but also to allow LMS to transcode when they don’t.
It’s true that LMS does not benefit from mp4 to aac unwrapping when
transcoding is disabled. Candidly, when I was writing that I was of the
opinion that the notranscoding option should simply be removed



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

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread gordonb3


Interesting.

Since the number of changes were limited I did some tracing and found
the offending change:


Code:


  diff --git a/Slim/Player/Squeezebox.pm b/Slim/Player/Squeezebox.pm
  index e3411fe0e94..786c5a8600e 100644
  --- a/Slim/Player/Squeezebox.pm
  +++ b/Slim/Player/Squeezebox.pm
  @@ -705,12 +705,8 @@ sub stream_s {

# container type and bitstream format: '1' (adif), '2' (adts), 
'3' (latm within loas), 
# '4' (rawpkts), '5' (mp4ff), '6' (latm within rawpkts)
  - #
  - # This is a hack that assumes:
  - # (1) If the original content-type of the track is MP4 or SLS 
then we are streaming an MP4 file (without any transcoding);
  - # (2) All other AAC streams will be adts.
  - 
  - $pcmsamplesize   = Slim::Music::Info::contentType($track) =~ 
/^(?:mp4|sls)$/ ? '5' : '2';
  +
  + $pcmsamplesize   =  $controller->song->wantFormat ne 'aac' ? 
'5' : '2';
$pcmsamplerate   = '?';
$pcmendian   = '?';
$pcmchannels = '?';
  
  



Thanks for finding the correct method to fix this.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-17 Thread philippe_44


Open file /usr/share/perl5/Slim/Player/Song.pm (might in a slightly
different place) and change, around line 440


Code:


  # Set the correct format for WAV/AAC playback
  if ( exists $streamFormatMap{$format} ) {
  $format = $streamFormatMap{$format};
  }
  


with

Code:


  # Set the correct format for WAV/AAC playback
  if ( exists $streamFormatMap{$format} ) {
  $format = $streamFormatMap{$format};
  }
  
  $self->wantFormat('aac') if $format eq 'aac';
  


and you should be good to go



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

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread philippe_44

gordonb3 wrote: 
> Okay. I guess at least it helps that I was able to pinpoint the problem
> to a fairly limited set of commits even though from my perspective I
> really need to restrict myself to the ones that are tagged as release.
> I've not done any deep investigation towards the actual cause but if I
> were to guess I'd say that something that used to be optional became
> compulsory and attempts to route the stream through a transcode binary
> that does in fact not exist on my system as I deliberately made these
> optional in the installer and did not select them for my personal target
> system.

It’s probably not a transcode binary routing but rather one of 1/ the
format set for the player has been updated 2/ the internal mp4 to adts
frame extraction that now allows any aac player to handle mp4 is not
activated. It’s a complicated par of the streaming but I’ll look at that
in the coming days. Just to be sure, can you confirm your player, os,
cpu and if you could post a log with the conversion logging début set to
info



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

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread gordonb3


garym wrote: 
> I tried both of these through my own Radio (running latest community
> firmware, 8.0.1-r16907, and LMS 8.3.1  (see setup in Signature).  First
> plays fine as 128kbps AAC. Second one plays fine as 64kbps AAC.  All my
> filetype settings/transcoding, etc. are set as default (I've never
> changed them).
> 
> edit:  please ignore my comment if you're using a special install/setup
> (e.g.,no transcoding) and my plain setup is not relevant for
> troubleshooting.

I have a fairly special setup ;)

Logitech Media Server Version: 8.1.0 - TRUNK @ UNKNOWN
Hostname: babaorum
Server IP Address: 10.19.17.1
Server HTTP Port Number: 9000
Operating system: Linux - EN - utf8
Platform Architecture: armv5tel-linux
Perl Version: 5.34.1 - armv5tel-linux-thread-multi
Audio::Scan: 1.06
IO::Socket::SSL: 2.072
Database Version: DBD::SQLite 1.70 (sqlite 3.36.0)



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread garym


gordonb3 wrote: 
> Sure:
> 
> 'Kink Classics'
> (http://opml.radiotime.com/Tune.ashx?id=s194478=aac,ogg,mp3,wmpro,wma,wmvoice=16=5ed18b9e1b4eeb6d3ae73745fc47c368=s:~K:country)
> 
> 'NPO Radio 2'
> (http://opml.radiotime.com/Tune.ashx?id=s124134=aac,ogg,mp3,wmpro,wma,wmvoice=16=88beeb0eb03dde47915d999c774f56c9)
> 
> 
> Edit: seems the AAC is dictated by the automatically generated URI for
> those stations. Unsure why it prefers AAC.

I tried both of these through my own Radio (running latest community
firmware, 8.0.1-r16907, and LMS 8.3.1  (see setup in Signature).  First
plays fine as 128kbps AAC. Second one plays fine as 64kbps AAC.  All my
filetype settings/transcoding, etc. are set as default (I've never
changed them).



*Home:* Pi4B-8GB/pCP8.3.x/4TB>LMS 8.2.x>Transporter, Touch, Boom, Radio
(all ethernet)
*Cottage:* rPi4B-4GB/pCP8.x/4TB>LMS 8.3.x>Touch>Benchmark DAC I, Boom,
Radio w/Battery (Radio WIFI)
*Office:* Win10(64)>foobar2000
*The Wild: *rPi3B+/pCP7.x/4TB>LMS 8.1.x>hifiberry Dac+Pro (LMS &
Squeezelite) 
*Controllers:* iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin,
or SqueezePlay 7.8 on Win10(64)
*Files:* -Ripping-: dBpoweramp > FLAC; -Post-rip-: mp3tag, PerfectTunes,
TuneFusion; -Streaming:- Spotify

garym's Profile: http://forums.slimdevices.com/member.php?userid=17325
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread gordonb3


Okay. I guess at least it helps that I was able to pinpoint the problem
to a fairly limited set of commits even though from my perspective I
really need to restrict myself to the ones that are tagged as release.
I've not done any deep investigation towards the actual cause but if I
were to guess I'd say that something that used to be optional became
compulsory and attempts to route the stream through a transcode binary
that does in fact not exist on my system as I deliberately made these
optional in the installer and did not select them for my personal target
system.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread philippe_44

gordonb3 wrote: 
> Same problem. No playback on radio streams. It was introduced between
> the two indicated commits and as apparently I'm the first one to
> discover the bug it was never solved.

I did many of these commits because the mp4/aac management was a soup
that was sometimes working by error. I will have look because it’s true
that I did not pay much attention to no transcoding, but if fixing the
issue means coming back to spaghetti code, I won’t do it, somebody else
will have to



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

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread gordonb3


Same problem. No playback on radio streams. It was introduced between
the two indicated commits and as apparently I'm the first one to
discover the bug it was never solved.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread philippe_44


Why not using 8.3.0? There has been a lot of work to improve audio
format management consistency



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

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread gordonb3


Paul Webster wrote: 
> Can you give a URL of one that fails for you?

Sure:

'Kink Classics'
(http://opml.radiotime.com/Tune.ashx?id=s194478=aac,ogg,mp3,wmpro,wma,wmvoice=16=5ed18b9e1b4eeb6d3ae73745fc47c368=s:~K:country)

'NPO Radio 2'
(http://opml.radiotime.com/Tune.ashx?id=s124134=aac,ogg,mp3,wmpro,wma,wmvoice=16=88beeb0eb03dde47915d999c774f56c9)


Edit: seems the AAC is dictated by the automatically generated URI for
that station. Unsure why it prefers AAC.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread Paul Webster


Can you give a URL of one that fails for you?



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread gordonb3


I tried two streams. They are both AAC I think. Either way that should
not be the issue as they are processed quite fine by LMS up to 8.1.0

Obviously I have my reasons for disabling transcoding. Re-enabling it is
not an option.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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


Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio

2022-11-16 Thread mherger


What radio stream are you using? And are you saying you disabled
transcoding? Then I'd recommend you re-enable it.



Michael

"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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