I tried using the method there, but it doesn't seem to do anything. (The Media Library entry's path didn't get updated.)
I did the following:
CODE
pfc::string8 oldfile, newfile;
oldfile = "file://F:\music\unsorted\The_Now_-_The_Other_Kid_With_20_Arms.mp3";
newfile = "file://F:\music\unsorted\rename_test.mp3";
pfc::string_list_impl l_from, l_to;
l_from.add_item(oldfile);
l_to.add_item(newfile);
service_ptr_t<file_operation_callback> cb;
cb->g_on_files_moved(l_from, l_to);
The file was definitely in the Media Library (with its path as specified in oldfile above). What am I doing wrong?