I'm just trying to make a winamp5 gen-plugin work with MM.
The dev wiki says that work is being done on support for unicode to make MM more compatible
with winamp5 plugins.
So I'd like to know how much progress there is on this issue, or how else I can get the filename,
artist and title of the currently playing song from within a plugin (in unicode).
Currently for winamp I'm using
Both calls are apparently not implemented in MM3.
Code: Select all
wchar_t *file = (wchar_t*)SendMessage(plugin.hwndParent, WM_WA_IPC, 0, IPC_GET_PLAYING_FILENAME); // Get Metadata extendedFileInfoStructW artist; // Artist artist.filename = file; artist.metadata = L"Artist"; artist.ret = (wchar_t*)malloc(300); artist.retlen = 150; SendMessage(plugin.hwndParent, WM_WA_IPC, (int)&artist, IPC_GET_EXTENDED_FILE_INFOW);
Any help would be appreciated!