philippe_44 wrote: 
> I was thinking more about differences between variable and fixed block
> size which can be detected in STREAMINFO header. So far, it seems that
> almost all flac are coded with fixed block but I was wondering is higher
> compression level would not trigger use of variable block which then
> cause the problem on older devices. We can now parse such header so we'd
> know and could use different rules.

There you know more than I do. But we don't even exactly know what is
causing the stuttering, as most tracks on TIDAL would play just fine.

philippe_44 wrote: 
> About rules, would something like "flc flc boom *" (e.g.) work for Boom
> only players and do the trick?

You're actually right! I was mislead by this comment in convert.conf:


Code:
--------------------
    #   <destination_device_type>:  currently slimp3, squeezebox, or *.
  #                      The * is a wildcard that matches all device
  #                      types.
--------------------


But the problem is that the default rules can't be modified to do
transcoding, as this seems to break the CUE sheet & transcoding use
case. With the custom formatOverride OTOH we can have the rules for
TIDAL only, thus not interfering with CUE sheets. And with the above
player type rules I can create this, which seems to be doing the job:


Code:
--------------------
    tdlflc mp3 * *
        # IFB:{BITRATE=--abr 
%B}T:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=--resample %D}
        [flac] -dcs $START$ $END$ -- $FILE$ | [lame] --silent -q $QUALITY$ 
$RESAMPLE$ $BITRATE$ - -
  
  tdlflc pcm * *
        # IFT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ 
$END$ -- $FILE$
  
  tdlflc aif * *
        # IFT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -dcs --force-raw-format --endian=big --sign=signed $START$ $END$ 
-- $FILE$
  
  # no native FLAC straming for ip3k, as some tracks stutter on original 
hardware
  tdlflc flc squeezeplay *
        -
  
--------------------


I know, it's disabling flac -> flac for TIDAL on ip3k. But the previous
rule using sox would break seeking...



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=113308

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

Reply via email to