symphony icon indicating copy to clipboard operation
symphony copied to clipboard

[Bug] Some songs are not recognised / cannot be played

Open BigBoyBarney opened this issue 1 year ago • 3 comments

Description

Some songs in my collection (seemingly random) cannot be played and the metadata isn't recognised either. I have uploaded one of them to gofile for you. One of the songs in question

The song can be played with mpv android and on my pc as well, so the file is 100% not corrupt.

Steps to Reproduce

  1. Import the song
  2. Go to songs
  3. Try to play it (album art + metadata aren't present either)
  4. See error

Expected Behavior

Song plays and metadata is present

Screenshots

Screenshot_2024-01-13-21-31-37-383_io github zyrouge symphony

Screenshot_2024-01-13-21-31-39-683_io github zyrouge symphony

Device

  • Device: Xiaomi Mi 11T Pro
  • OS: Android 13
  • Version: 2023.10.01

Additional Context

The stock android music player can't play the file either, so it's not purely a Symphone issue, but since mpv android can, and there is no reason why the file would be unplayable, there probably is a way to fix it. It affects a total 17 out of 6939 songs in my library. All of them are verified, not corrupt opus files.

I love the app otherwise, thank you so much!! <3 💌

Checklist

BigBoyBarney avatar Jan 13 '24 20:01 BigBoyBarney

MPV does all the decoding stuff by itself. Symphony uses Android's MediaStore/MediaMetadataRetriever to get metadata. This might be solved by implementing a custom metadata decoder in the future. There might not be a fix until then.

zyrouge avatar Jan 14 '24 03:01 zyrouge

Oh that's interesting. Does that mean that the song won't play because it can't properly read the metadata? Explains why the stock android player won't play it either then! Thanks!

On a sidenote, do you have an idea what's 'wrong' with the song? I converted it to 'opus' from 'flac' with ffmpeg, and even on repeated conversions, the exact same songs fail to play.

Thanks!

BigBoyBarney avatar Jan 14 '24 10:01 BigBoyBarney

Oh that's interesting. Does that mean that the song won't play because it can't properly read the metadata? Explains why the stock android player won't play it either then! Thanks!

On a sidenote, do you have an idea what's 'wrong' with the song? I converted it to 'opus' from 'flac' with ffmpeg, and even on repeated conversions, the exact same songs fail to play.

Thanks!

Afaik, both formats use Vorbis comments. Maybe try using MP3 and see what happens? I'm not sure of how data is arranged in container, so don't know what actually happens.

zyrouge avatar Jan 14 '24 10:01 zyrouge