philippe_44 wrote: 
> Your codec order has flac before ogg. I alway have to verify that, but
> the rules checking of LMS uses the first rule that has a perfect match
> and takes codecs in order. Perfect means that no position or secondary
> tags is missing in which case the rule with higher score prevails. So if
> spt flc rule is reached and flc codec appears first in the list
> squeezelite returned, here you go. There is no notion of multi rules or
> weight of identical rules. I’ve introduced a solution to have multiple
> transcoding for the same codec pair, but more test is needed and it’s
> not a solution to rank amongst identical rules anywayHmmm... ok.
With this setup Ogg file are played directly:

[image: https://i.imgur.com/dchIngJ.png]

But I did not touch custom-convert.conf as far as order of codecs is
concerned. I simply added a line to equalize stuff. If I go this way:

[image: https://i.imgur.com/Is4epFa.png]

The flac rule gets picked up. The second flac rule I disable is the one
with sox equalization, but the first flac rule was installed with the
regular installation of the plugin.

Currently my custom-convert.conf file looks like this:

Code:
--------------------
    
  spt ogg * bc:5f:f4:bf:3e:70
        # R
        [spotty-ogg] -n Squeezebox -c "$CACHE$" --single-track $URL$ --bitrate 
320 --disable-discovery --disable-audio-cache --pass-through
  
  spt pcm * *
        # RT:{START=--start-position %s}
        [spotty] -n Squeezebox -c "$CACHE$" --single-track $URL$ --bitrate 320 
--disable-discovery --disable-audio-cache $START$
  
  spt flc * *
        # RT:{START=--start-position %s}
        [spotty] -n Squeezebox -c "$CACHE$" --single-track $URL$ --bitrate 320 
--disable-discovery --disable-audio-cache $START$ | [flac] -cs --channels=2 
--sample-rate=44100 --bps=16 --endian=little --sign=signed --fast 
--totally-silent --ignore-chunk-sizes -
  
  spt mp3 * *
        # RB:{BITRATE=--abr %B}T:{START=--start-position %s}
        [spotty] -n Squeezebox -c "$CACHE$" --single-track $URL$ --bitrate 320 
--disable-discovery --disable-audio-cache $START$ | [lame] -r --silent -q 
$QUALITY$ $BITRATE$ - -
        
  spt flc * bc:5f:f4:bf:3e:70
        # RT:{START=--start-position %s}
        [spotty] -n Squeezebox -c "$CACHE$" --single-track $URL$ --bitrate 320 
--disable-discovery --disable-audio-cache $START$ | [flac] -cs --channels=2 
--sample-rate=44100 --bps=16 --endian=little --sign=signed --fast 
--totally-silent --ignore-chunk-sizes - | [sox] -q -t flac - -t flac -C 0 -b 24 
- gain -6.9 equalizer 30 0.43q +6.2 equalizer 699 2.00q +1.0 equalizer 2924 
4.11q -1.7 equalizer 6031 5.05q -6.2 equalizer 9825 4.08q +2.2 equalizer 83 
4.24q +1.3 equalizer 209 1.54q -1.2 equalizer 2842 0.1q +0.2 equalizer 12443 
1.29q +2.7 equalizer 19698 0.46q -11.8
--------------------


So I don't get the "Your codec order has flac before ogg" thing. Before
what? Before where? :-)


------------------------------------------------------------------------
gorman's Profile: http://forums.slimdevices.com/member.php?userid=56
View this thread: http://forums.slimdevices.com/showthread.php?t=111923

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to