Page 1 of 1

Playlists containing '/' convert to '-'

Posted: Fri Nov 18, 2011 9:15 am
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

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

Posted: Fri Nov 18, 2011 10:41 am
by nohitter151

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

Posted: Fri Nov 18, 2011 3:17 pm
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?

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

Posted: Mon Nov 21, 2011 3:55 am
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.

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

Posted: Wed Nov 23, 2011 2:39 am
by markstuartwalker
Do I need to submit a bug report? This seems obvious and understood.

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

Posted: Wed Nov 23, 2011 11:37 am
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.

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

Posted: Fri Nov 25, 2011 4:20 am
by markstuartwalker
Ticket ZEP-491676 raised

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

Posted: Tue Dec 27, 2011 9:52 am
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

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

Posted: Thu Jan 05, 2012 5:55 am
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;

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

Posted: Thu Jan 05, 2012 4:22 pm
by jiri
Yes, that's right.

Jiri

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

Posted: Mon Jan 09, 2012 10:43 am
by markstuartwalker
Ok, incorporated into the plugin build 2216