godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.38k stars 21.26k forks source link

Add vorbis comment tags to `AudioStreamOggVorbis` #99504

Open LunaCapra opened 4 days ago

LunaCapra commented 4 days ago

Implements a part of https://github.com/godotengine/godot-proposals/issues/3307

This allows for reading out metadata/tags bundled along with Ogg Vorbis files, which is useful for attribution, an in-game jukebox and so on.

This also adds get_tags() to AudioStream itself so that extensions for more audio file formats can provide their own tags.

image