Bugzilla – Bug 11223
Patch flac to allow infinite streams
Last modified: 2009-06-17 09:37:06 UTC
If flac were rebuilt with the following patch from triode, then this would enable it to be used for transcoding radio streams and the like. At the moment it will stop after a little more than 3 hours. 2008-12-23 11:40:28.000000000 +0000 +++ encode.c 2009-03-01 00:22:16.000000000 +0000 @@ -1061,7 +1061,10 @@ print_error_with_state(&encoder_session, "ERROR during encoding"); return EncoderSession_finish_error(&encoder_session); } - data_bytes -= bytes_read; + + if (!options.common.ignore_chunk_sizes) { + data_bytes -= bytes_read; + } } Please patch the flac build and supply new versions for all platforms.
Created attachment 4877 [details] Patch as an attachement to make it easier to apply. Note we need to use the --ignore-chunk-sizes option to make this patch work
Let's pass this upstream, too.
I think this should be included in 7.3.3 as otherwise the faad streaming will timeout after 6 hours (probably long enough), but lets fix it as we know how...
Agreed. I will do it.
Builds in change 25591.
Verified fixed in SqueezeCenter 7.3.3 r26228 Played ALAC stream for >20 hours
This bug has been fixed in the 7.3.3 release version of SqueezeCenter! If you haven't already. please download the new version from http://www.logitechsqueezebox.com/support/download-squeezecenter.html If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.