Winamp API and Unicode characters [#8719]

To get bugs in the current release fixed, please report them here.

Moderator: Gurus

Winamp API and Unicode characters [#8719]

Postby poiru » Thu Nov 10, 2011 3:52 am

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?
poiru
 

Re: Winamp API and Unicode characters

Postby baguette » Wed Nov 16, 2011 7:22 am

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.
baguette
 
Posts: 4
Joined: Wed Nov 16, 2011 7:18 am

Re: Winamp API and Unicode characters

Postby Peke » Wed Nov 16, 2011 7:28 pm

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.
Best regards,
Pavle
MM Core Developer and Admin of free MediaMonkey extensions Hosting
Image
Image
Peke
 
Posts: 10498
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia

Re: Winamp API and Unicode characters

Postby baguette » Wed Nov 16, 2011 7:48 pm

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).
baguette
 
Posts: 4
Joined: Wed Nov 16, 2011 7:18 am

Re: Winamp API and Unicode characters

Postby jiri » Fri Nov 18, 2011 4:54 am

Added as http://www.ventismedia.com/mantis/view.php?id=8719, feel free to suggest messages that should be processed by MM.

Thanks,
Jiri
jiri
 
Posts: 5291
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic

Re: Winamp API and Unicode characters

Postby baguette » Fri Nov 18, 2011 6:20 am

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
baguette
 
Posts: 4
Joined: Wed Nov 16, 2011 7:18 am

Re: Winamp API and Unicode characters

Postby poiru » Sat Nov 26, 2011 8:56 am

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

For me, the most important would be:
IPC_GET_PLAYING_FILENAME
IPC_GET_PLAYING_TITLE
poiru
 

Re: Winamp API and Unicode characters [#8719]

Postby baguette » Tue Jan 03, 2012 8:40 am

Any updates on this?
baguette
 
Posts: 4
Joined: Wed Nov 16, 2011 7:18 am

Re: Winamp API and Unicode characters [#8719]

Postby Lowlander » Tue Jan 03, 2012 3:15 pm

baguette wrote:Any updates on this?
See: http://www.ventismedia.com/mantis/view.php?id=8719
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 43498
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Winamp API and Unicode characters [#8719]

Postby HuoRen » Mon May 07, 2012 11:41 pm

This is relevant to my interests.

+1 for IPC_*W
HuoRen
 
Posts: 2
Joined: Sat May 05, 2012 8:08 pm

Re: Winamp API and Unicode characters [#8719]

Postby SerMe » Wed Jul 04, 2012 3:55 pm

Seriously.. This is likely a trivial change. Ask one of your devs to devote 30min to this.
SerMe
 

Re: Winamp API and Unicode characters [#8719]

Postby unicode » Fri May 17, 2013 4:06 am

Any news on this?
unicode
 

Re: Winamp API and Unicode characters [#8719]

Postby Glaucus » Thu Aug 01, 2013 9:27 pm

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.
Glaucus
 

Re: Winamp API and Unicode characters [#8719]

Postby Fifouxxe » Fri Mar 24, 2017 12:21 am

It's 2017 and still not fixed :cry:
Fifouxxe
 

Re: Winamp API and Unicode characters [#8719]

Postby Peke » Sat May 06, 2017 9:27 pm

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).
Best regards,
Pavle
MM Core Developer and Admin of free MediaMonkey extensions Hosting
Image
Image
Peke
 
Posts: 10498
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia


Return to Bug Reports (mmw)

Who is online

Users browsing this forum: No registered users and 17 guests