For some reason, some of my FLAC files will not play in Symfonium. My issue is very similar to Cannot Play Certain FLAC Files
My media provider is Subsonic, however, I’ve cached this album to my phone. I’m not sure if that makes a difference. I clicked on More actions / Offline cache and download and I see that it says Status: In rolling cache.
I’ve tried going to Settings / Playback / Decoding and transcoding and turning off Prefer internal decoder, like in the linked issue, but that doesn’t fix the playback issue for me.
I’ve also tried running flac --test song.flac to check for corruption, but no errors were found. Not sure if there is a better way to check for corruption. I am able to play the FLAC file on my laptop.
That’s a good starting point. Have you tried reencoding the files in question with the latest flac encoder? Since flac is lossless this yields no quality penalty.
You could use flac --best --verify --padding=4096 --silent song.flac song_enc.flac
to test one song.
Or if you’d rather do it on a bigger scale you could give my python script flacr a go to do it recursively (and optionally calculate replaygain values). flacr.py -Q for example would calculate replaygain values for all songs in the current dir + all subdirs using all threads available on the system and then reencode all .flac files with the latest encoder while showing progress bars and returning errors on the cli (once again using all available threads).
It’s my alias for flacr.py -m 32 -rp (my cpu has 16c32t).
Good luck!
cd album
ls -1 | xargs flac --verify --warnings-as-errors --force
Then I deleted the existing album from my Symfonium cache and resynced it.
The album is playing fine now. Thanks!
I’m still curious about what the underlying issue is here. Is this a bug in Symfonium? Or intended behavior? Is it possible that the encoder version is no longer supported or something like that?
I’m fine with reencoding albums that don’t play. Thanks again!
The file I uploaded plays fine in Symfonium? Uh, I think I uploaded the bugged file. Here are some hashes of the FLAC: the bugged original one and then the fixed reencoded one. Maybe you can compare them with the file I uploaded.
$ shasum -a 256 03-bugged.flac
40b45f2cabfa97eef752a3eea15a2670f79158f5072539786840246267ed387e 03-bugged.flac
$ shasum -a 256 03-fixed.flac
b28af55eb4956db0160b248a5212cc5fc62b7eea711323dc6a272f2f48867f38 03-fixed.flac