Get invalid file error when using winamp as player [#12697]

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

foo
Posts: 7
Joined: Sun Mar 15, 2015 9:56 pm

Bug in filename sent to external (winamp) player

Post by foo »

On win 7 64 bit. MMW v 4.1.6.1736 portable.

I set Tools > Options > Player > choose player to be "winamp 2 or 5".

It correctly finds the location of my winamp installation of v2.91.

However, attempting to play an mp3 results in an error dialog that says: "Invalid file name - %s." This says to me either that your output routine for this message is not using "%s" correctly (i.e., not being edited into, but just used as a literal), OR, the routine that creates the filename to send to the external player is not editing into the %s item, and just using it as a literal. In either case, it probably means quotes around %s in your code somewhere that they shouldn't be, or left out the argument altogether.

For me, this is a deal killer, since I don't want to use your internal player in certain situations.

Note that all filenames are US ASCII in a local folder, so UNC is not being used.

The error message with "%s" indicates that this must be a trivial coding error. Probably someone put quotes around a %s editing string where they don't belong. Also, sending a file to winamp just requires editing the filename and app location into a string, and sending that to the OS to launch it. Direct communication with winamp is not required, and this particular task is trivial to implement.

http://stackoverflow.com/questions/9980 ... asic-level
Last edited by Lowlander on Mon Mar 16, 2015 8:57 am, edited 1 time in total.
Reason: Merged with existing topic
Peke
Posts: 18405
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Get invalid file name error when using winamp as player

Post by Peke »

Just to let you all know I've Added http://www.ventismedia.com/mantis/view.php?id=12697
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Post Reply