Winamp API and Unicode characters [#8719]
Moderator: Gurus
Winamp API and Unicode characters [#8719]
Hey. I'm a developer of Rainmeter, which, among other things, includes a plugin to communicate with MediaMonkey through the Winamp API. A user reported an issue where the plugin would not display full information for tracks playing in MediaMonkey when the path to the track contains Unicode characters.
The issue is due to IPC_GETPLAYLISTFILE providing a path with (some) messed up Unicode characters. For example, the actual path of the example file provided by the user is:
D:\03 - Hobo Blues Band - A vadászok gyülekezőj
IPC_GETPLAYLISTFILE, however, returns a pointer to the following path (ő -> o):
D:\03 - Hobo Blues Band - A vadászok gyülekezoj.mp3
I noticed a few other threads with similar issues/requests. Is there any plan to implement wide Winamp API messages such as IPC_GET_PLAYING_FILENAME?
The issue is due to IPC_GETPLAYLISTFILE providing a path with (some) messed up Unicode characters. For example, the actual path of the example file provided by the user is:
D:\03 - Hobo Blues Band - A vadászok gyülekezőj
IPC_GETPLAYLISTFILE, however, returns a pointer to the following path (ő -> o):
D:\03 - Hobo Blues Band - A vadászok gyülekezoj.mp3
I noticed a few other threads with similar issues/requests. Is there any plan to implement wide Winamp API messages such as IPC_GET_PLAYING_FILENAME?
Re: Winamp API and Unicode characters
Yes, it looks like the unicode version of the Winamp API (IPC_GETPLAYLISTFILEW, IPC_GET_EXTENDED_FILE_INFOW, IPC_ENQUEUEFILEW etc.) isn't implemented.
I reckon this will cause problems with lots of newer Winamp plugins.
I reckon this will cause problems with lots of newer Winamp plugins.
Re: Winamp API and Unicode characters
Yes, MediaMonkey support Winamp API 2.95 and parts of API til I think 5.24.
Better compatibility with newest Winamp plugins is on our to do list but always at lower priority than upgrading/enhancing MM own API.
I would really like that some of Winamp API experts do cuts and crosses with MM and help us in better compatibility especially as Winamp compatibility is fully usable in even MM FREE version.
Only exclusion is Winamp Library which is not planed to support. Although no one gave us any solid reason to include and what can't be made for MM Library using MM API.
As always we are open to suggestions.
Better compatibility with newest Winamp plugins is on our to do list but always at lower priority than upgrading/enhancing MM own API.
I would really like that some of Winamp API experts do cuts and crosses with MM and help us in better compatibility especially as Winamp compatibility is fully usable in even MM FREE version.
Only exclusion is Winamp Library which is not planed to support. Although no one gave us any solid reason to include and what can't be made for MM Library using MM API.
As always we are open to suggestions.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts
Re: Winamp API and Unicode characters
The unicode messages (IPC_*W) should be quite easy to add - just duplicate your existing code minus the string conversion (I'm assuming MM uses unicode internally).
Re: Winamp API and Unicode characters
Added as http://www.ventismedia.com/mantis/view.php?id=8719, feel free to suggest messages that should be processed by MM.
Thanks,
Jiri
Thanks,
Jiri
Re: Winamp API and Unicode characters
I think these are the relevant messages:
IPC_ENQUEUEFILEW
IPC_GETPLAYLISTFILEW
IPC_GETPLAYLISTTITLEW
IPC_CHANGECURRENTFILEW
IPC_GET_BASIC_FILE_INFOW
IPC_PLAYING_FILEW
IPC_GET_EXTENDED_FILE_INFOW
They're all defined in wa_ipc.h
IPC_ENQUEUEFILEW
IPC_GETPLAYLISTFILEW
IPC_GETPLAYLISTTITLEW
IPC_CHANGECURRENTFILEW
IPC_GET_BASIC_FILE_INFOW
IPC_PLAYING_FILEW
IPC_GET_EXTENDED_FILE_INFOW
They're all defined in wa_ipc.h
Re: Winamp API and Unicode characters
For me, the most important would be:baguette wrote:I think these are the relevant messages:
IPC_ENQUEUEFILEW
IPC_GETPLAYLISTFILEW
IPC_GETPLAYLISTTITLEW
IPC_CHANGECURRENTFILEW
IPC_GET_BASIC_FILE_INFOW
IPC_PLAYING_FILEW
IPC_GET_EXTENDED_FILE_INFOW
They're all defined in wa_ipc.h
IPC_GET_PLAYING_FILENAME
IPC_GET_PLAYING_TITLE
Re: Winamp API and Unicode characters [#8719]
Any updates on this?
Re: Winamp API and Unicode characters [#8719]
See: http://www.ventismedia.com/mantis/view.php?id=8719baguette wrote:Any updates on this?
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Re: Winamp API and Unicode characters [#8719]
This is relevant to my interests.
+1 for IPC_*W
+1 for IPC_*W
Re: Winamp API and Unicode characters [#8719]
Seriously.. This is likely a trivial change. Ask one of your devs to devote 30min to this.
Re: Winamp API and Unicode characters [#8719]
For the amount of time it would take to add this feature I can't believe it's not done yet. Come on, this is 2013, UNICODE is pretty much standard, why stick with a charset dating back to the 1960s? PLEASE add this feature, filename in wchar_t would be a great start, but I don't see why the rest would be any less trivial.
Re: Winamp API and Unicode characters [#8719]
Winamp API is obsolete, there is far more easier/better way to access data from MMW
Also Winamp is no more (do not want to start fight, but it is just my point of view).
Also Winamp is no more (do not want to start fight, but it is just my point of view).
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts