Playlists containing '/' convert to '-'

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Playlists containing '/' convert to '-'

Post by markstuartwalker »

Using MM version 4.0.0.1459

If I have a playlist called 'abc/def' it seems to be presented to the d_itunes4.dll as 'abc-def''. For Ludek or Jiri ... this is within the DEVICE_NotifyPlaylist() function.

The same problem occurs with either '/' or '\'. I think that there is something filtering to protecting against the playlist names being used as file paths.

I can't now check in MM3 but I am told that this was not the case in the MM3 version
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Playlists containing '/' convert to '-'

Post by nohitter151 »

MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: Playlists containing '/' convert to '-'

Post by markstuartwalker »

Yes, I can foresee that on a file system based device where a playlist name maps to a file name then '/' and '\' are likely to cause problems. Not so on iDevices though because the file name is different to the playlist name.

Can it be fixed please?
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: Playlists containing '/' convert to '-'

Post by markstuartwalker »

This needs to be fixed as the playlist name provided to the driver doesn't match the one in MM. Playlists with these modified names cannot be synchronised in "Build Folders" mode.
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: Playlists containing '/' convert to '-'

Post by markstuartwalker »

Do I need to submit a bug report? This seems obvious and understood.
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: Playlists containing '/' convert to '-'

Post by markstuartwalker »

I've just discovered that this also exhibits when a '/' or '"' is within the filename of the track as well.

Not good. Needs fixing.
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: Playlists containing '/' convert to '-'

Post by markstuartwalker »

Ticket ZEP-491676 raised
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
jiri
Posts: 5432
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Re: Playlists containing '/' convert to '-'

Post by jiri »

It will be fixed in MM 4.0.3, a new flag 'dflNoPlstFilesystemReady' will return the old behavior for a device plug-in if needed.

Jiri
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: Playlists containing '/' convert to '-'

Post by markstuartwalker »

@jiri

What is the enumeration constant value for this that I need to put into the DeviceCommon.pas file?

Code: Select all

dflNoPlstFilesystemReady = 25;
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
jiri
Posts: 5432
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Re: Playlists containing '/' convert to '-'

Post by jiri »

Yes, that's right.

Jiri
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: Playlists containing '/' convert to '-'

Post by markstuartwalker »

Ok, incorporated into the plugin build 2216
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
Post Reply