06-07-2021, 10:19 AM
|
#1 |
|
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,971
|
We can store user-defined values in metadata, but getting it is quite difficult.
For instance, I'm working right now on a function, that gets all metadata of the current project. This is easy to with most of the tags but not with user-defined ones, unless you know their names. For instance, this works fine, as it's not user-defined metadata: Code:
A,B=reaper.GetSetProjectInfo_String(0, "RENDER_METADATA", "VORBIS:REAPER", false) Code:
A,B=reaper.GetSetProjectInfo_String(0, "RENDER_METADATA", "VORBIS:USER:Vorbis User Defined1", false) So, I think, we need a way to enumerate them somehow. Maybe this way: Code:
A,B=reaper.GetSetProjectInfo_String(0, "RENDER_METADATA", "VORBIS:USER_ENUM:$id", false) This goes basically for all metadata-elements that allow user-defined ones, like APE, ID3, IXML, VORBIS. That way, we don't need to ask the user to submit the keynames to user-defined metadata-values.
__________________
Use you/they/she.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people Last edited by Meo-Ada Mespotine; 06-11-2021 at 09:03 AM. |
|
|
![]() |
| Thread Tools | |
|
|