Hi everyone,
I'm developing a window to manage multiple files' metadata as my degree's final project.
In my program, I collect the URIs of the files I want to manage, but I have been unable to get the metadata associated to them. This is a simplified version I code I use for this:
const char *uri = methodThatGetsTheUri(); //Here I get the URI
input_item_t *item;
p_item = input_item_New( uri, "Example" ); //Here I get the item form the URI
char *metadataString_title = input_item_GetTitle(item); //Here I extract the metadata form the item
char *metadataString_artist = input_item_GetArtist(item);
[...]
The problem is that metadataString_title , metadataString_artist ... are empty, like the item is not correctly loaded from the URI provided.
Any thoughts on this? Does somebody know how to do this properly or knows of some code that could be used as example?