Error while playing media for recently added music

Issue description:

When i try to play a recently added FLAC file it shows me an error “Error playing media, ensure that your player supports it”. It only happens for one song and when i try to play that song it keeps loading and gives me that error.

If i play any other song while the error song is loading it throws the same error for other songs too. If i stop the song and start fresh, rest of the songs play properly except that one song.

Logs:

Upload description: Log description: Error-28AUG24-debuglog

Additional information:

 
It has started happening recently and I never had this issue pop up before.
 

Reproduction steps:

 
1.) Upload the file in Google Drive and sync it in Symfonium.
2.) Play the song and it throws an error.
 

Media provider:

Google Drive

Screenshots:

 

    

That media seems invalid:

First frame does not start with sync code.

I’ve asked Google if the error is normal or not.

1 Like

Thanks for the help!

So since it was assigned by Google to someone who usually don’t work on the issues, I’ve made more tests and the file is indeed invalid.

flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

Teminite - Stardust In The Universe.flac: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC


Teminite - Stardust In The Universe.flac: ERROR while decoding data
                                          state = FLAC__STREAM_DECODER_ABORTED

So there’s very little chance that they workaround that, like some other plays maybe do.
Closing this as invalid file.

1 Like

Thank you for your help! I have been following the Github repo notifications out of curiosity :stuck_out_tongue: I will try to modify or experiment with the file and see if it works and report back here :slightly_smiling_face:

I re downloaded the song and it fixed it. Also I tried to convert to FLAC again using audacity but it didn’t detect it, anyways, the problem is solved

Audacity is mainly a music editor, not a converter.
You can use the flac cli tool to test if your .flac files decode without errors.
For your example song:

flac -t "Teminite - Stardust In The Universe.flac"

Personally I use flacr, which is a python script I wrote to recursively verify and recompress .flac files with the latest decoder while setting a fixed padding and also calculating and storing replay gain tags.

1 Like

Yes, I have used the flac cli and got the error while decoding. Nice work on flacr btw it’s awesome!

1 Like