I have a question on the pl_oper->format_title method as it does not work as I expect.
The code below works fine. That is formattedText is updated with info from the playlist item:
CODE
metadb_handle* mh = pl_oper->get_item(ii);
if(mh==0)
{
console::info("metadb_handle is null");
}
{
mh->handle_format_title(formattedText, textToFormat.c_str(), extra_items);
mh->handle_release();
}
Any hints would be appreciated....
The code below does not work. That is formattedText is always an empty string:
CODE
pl_oper->format_title(ii, formattedText, textToFormat.c_str(),