Paul Webster wrote: 
> 
> 
> I remember that last year(?) there was a rebuild  for Joggler to use
> Squeezelite and disable player in JiveLite ... but I would like to avoid
> doing that for now because I am trying to keep the Joggler as close as
> possible to the birdslikewires release and it works with iPlayer
> plugin.
> 
> I guess I need to replicate iPlayer custom-convert but a hint would
> help.

I do have a joggler, but I use it only as a controller,  so hadn't
noticed.  But I can replicate the behaviour.

The difference between BBC Sounds and BBC Iplayer (it came up before on
a different issue) is that BBC Sounds is explicitly sets the sample rate
on the track whereas Iplayer doesn't.  I believe the BBC Sounds is
behaving correctly,  but, by fluke, by the iplayer not setting the
sample rate it enables the default flac conversation to be selected and
it all sorts itself out within there.

I've created a build with the sample rate setting commented out and it
all magically works.  I guess I could add it as a preference.   But this
is really a bug in LMS (The Youtube plugin will have the same problem
for 48 sample rate streams as much of the m4a unpacking code came from
there)

If you want an immediate fix,  comment out line 94 in the m4a.pm


Code:
--------------------
    
        if ( my $atom = parseAtoms( 'moov', $dataref, $args ) ) {
                                        $props->{mp4a} 
=$atom->{'trak'}->{'mdia'}->{'minf'}->{'stbl'}->{'stsd'}->{'entries'}->{'mp4a'};
                                        $song->track->bitrate( 
$props->{bitrate}|| $props->{mp4a}->{'esds'}->{'avgbitrate'} );
                                #       $song->track->samplerate( 
$props->{'samplingRate'}|| $props->{mp4a}->{'samplerate'} );
                                        $song->track->channels( 
$props->{'channels'}|| $props->{mp4a}->{'channelcount'} );
  
--------------------


------------------------------------------------------------------------
expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263
View this thread: http://forums.slimdevices.com/showthread.php?t=113045

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to