Skip to content

Conversation

@hedgehog1029
Copy link
Contributor

Adds support for reading lyrics from FLAC & Ogg Vorbis files

I've tested the FLAC support locally, works after you refresh the track (otherwise it has stale cached tuple data, I guess)

@radioactiveman
Copy link
Member

The same tag should also work for Opus files, right? Then please

  • adjust read_tags() in opus.cc as well
  • include a prefix in the commit message for a consistent history style (e.g. "flac: Read lyric tag")

Thanks. 👍

@hedgehog1029
Copy link
Contributor Author

all done! I guess in future we'd maybe want to centralize the vorbis comment handling... maybe something for libaudtag?

@radioactiveman radioactiveman changed the title Read lyrics tag from FLAC & Ogg Vorbis files Read lyrics tag from FLAC, Ogg Vorbis & Opus files Oct 16, 2025
@radioactiveman radioactiveman merged commit b593bda into audacious-media-player:master Oct 16, 2025
8 of 9 checks passed
@radioactiveman
Copy link
Member

Thanks, merged now.

I assume the reason why libaudtag does not include vorbis comment handling is that we don't want to add a hard dependency on libvorbis for audacious-core. Maybe @jlindgren90 can answer this.

Another advantage would be trivial support for writing tags to Opus files. Right now it can only read them.

@jlindgren90
Copy link
Member

libaudtag predates Opus support, and the FLAC code is a bit different I think (doesn't use libvorbis for the parsing IIRC). So it didn't make sense to commonize at the time libaudtag was created. Maybe it does now, I don't know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants