# Can't play certain FLAC files

**URL:** <http://support.symfonium.app/t/cant-play-certain-flac-files/6101>\
**Category:** Support\
**Tags:** handled\
**Created:** [December 6, 2024, 10:11pm UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101 "2024-12-06T22:11:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![eiho7e](http://support.symfonium.app/letter_avatar_proxy/v4/letter/e/7feea3/32.png) [@eiho7e](http://support.symfonium.app/u/eiho7e)\
**Post date:** [December 6, 2024, 10:11pm UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101/1 "2024-12-06T22:11:05Z")

</div>

## Issue description:

For some reason, some of my FLAC files will not play in Symfonium. My issue is very similar to [Cannot Play Certain FLAC Files](https://support.symfonium.app/t/cannot-play-certain-flac-files/2560)

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.

## Logs:

Upload description: eiho7e

## Additional information:

&nbsp;  
Symfonium version: 11.4.0 (127264)  
Phone: Pixel 8  
Android: 15  
&nbsp;

## Reproduction steps:

&nbsp;

- I added an album to Navidrome.
- I added a Subsonic media provider in Symfonium
- I pressed Sync to download the album to Symfonium (I have music be cached)
- I go to play the album
- Some songs play, some do not  
&nbsp;

## Media provider:

Subsonic

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [December 6, 2024, 11:27pm UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101/2 "2024-12-06T23:27:40Z")

</div>

> [@eiho7e](#):
>
> I’ve also tried running `flac --test song.flac` to check for corruption

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](https://github.com/AverageHoarder/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!

---

<div class="post-metadata">

**Author:** ![eiho7e](http://support.symfonium.app/letter_avatar_proxy/v4/letter/e/7feea3/32.png) [@eiho7e](http://support.symfonium.app/u/eiho7e)\
**Post date:** [December 7, 2024, 1:22am UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101/3 "2024-12-07T01:22:53Z")

</div>

Huh. Yeah. Reencoding fixed this issue.

I ran these commands.

```auto
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!

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [December 7, 2024, 9:11am UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101/4 "2024-12-07T09:11:13Z")

</div>

From the logs the files are indeed invalid.

But the file you uploaded does play without issue so I’m lost here did you upload the fixed one ?

---

<div class="post-metadata">

**Author:** ![eiho7e](http://support.symfonium.app/letter_avatar_proxy/v4/letter/e/7feea3/32.png) [@eiho7e](http://support.symfonium.app/u/eiho7e)\
**Post date:** [December 7, 2024, 5:51pm UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101/5 "2024-12-07T17:51:50Z")

</div>

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.

```auto
$ shasum -a 256 03-bugged.flac 
40b45f2cabfa97eef752a3eea15a2670f79158f5072539786840246267ed387e 03-bugged.flac

$ shasum -a 256 03-fixed.flac 
b28af55eb4956db0160b248a5212cc5fc62b7eea711323dc6a272f2f48867f38 03-fixed.flac

```

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [December 8, 2024, 9:11am UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101/6 "2024-12-08T09:11:35Z")

</div>

```auto
 shasum -a 256 03-los_cazahuates.flac 
40b45f2cabfa97eef752a3eea15a2670f79158f5072539786840246267ed387e 03-los_cazahuates.flac

```

It is the bugged one and I have no issue playing it, do you have some forced transcoding setting server side ?

---

<div class="post-metadata">

**Author:** ![eiho7e](http://support.symfonium.app/letter_avatar_proxy/v4/letter/e/7feea3/32.png) [@eiho7e](http://support.symfonium.app/u/eiho7e)\
**Post date:** [February 6, 2025, 9:16pm UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101/7 "2025-02-06T21:16:25Z")

</div>

> do you have some forced transcoding setting sever side?

Na, don’t think so.

 ![image](http://support.symfonium.app/uploads/default/original/2X/2/2938bceadace4069d853015512c525a6e1c22123.png)

Also, I noticed this file corruption was spreading to more song files. I wonder if it has to do with the rolling cache… as I add new songs to my library and rolling cache, older songs should be removed from the cache if they don’t fit, right? Maybe the expiration isn’t happening correctly? 🤔

I say this because I just discovered another album that got corrupted. It was in the rolling cache. I’m very certain this album played a few months ago. I’ve added new music to the cache since then. I deleted the corrupted album from the cache, then added it back to the rolling cache and now it plays again.

(This “corrupted” album does play fine in the Navidrome web UI, it’s just Symfonium that can’t play it.)

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [February 7, 2025, 7:39am UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101/8 "2025-02-07T07:39:30Z")

</div>

It depends how the files are added to the rolling cache. If it’s via copy from the playback cache, then it’s possible I think there’s still some bug in Google code there but without a repro they don’t really care.

---

<div class="post-metadata">

**Author:** ![Ben1424](http://support.symfonium.app/letter_avatar_proxy/v4/letter/b/c6cbf5/32.png) [@Ben1424](http://support.symfonium.app/u/Ben1424)\
**Post date:** [February 17, 2025, 1:58am UTC](http://support.symfonium.app/t/cant-play-certain-flac-files/6101/9 "2025-02-17T01:58:10Z")

</div>

Before you go reencoding, especially if your files do not show errors when you test them on the computer, try clearing the playback cache and removing any cached versions of the files from symfonium (rolling or perm cache) and then playing them again. I have had luck getting files to play as they should when I force a new version to be downloaded from the server.

You are essentially doing the same thing when you reencode the files, which is why it works, but I don’t believe the file was the issue in the first place, but the cached data was somehow corrupt.

In my case, the files are indeed being copied from the playback cache to the rolling cache.
