1672 Playlist identification in NotifyPlaylist

Beta Testing for Windows Products and plugins

Moderator: Gurus

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

1672 Playlist identification in NotifyPlaylist

Post by markstuartwalker » Mon Nov 18, 2013 4:16 pm

Is there any way to identify the playlist in MM which is being sync'd to the device but not by using the name?

The signature looks like ...

Code: Select all

procedure DEVICE_NotifyPlaylist( DeviceHandle : integer; M3UFileName, M3UTitle : PWideChar;
              TrackCount : integer; Tracks : PWideCharArr; M3UPath: PWideChar); stdcall;
Clearly the M3UFileName can identify the playlist name. I have users that have playlists with the same name but in different folders. At present I can differentiate if they have different track lengths.

Any other ideas?
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: 1672 Playlist identification in NotifyPlaylist

Post by markstuartwalker » Wed Dec 04, 2013 2:40 pm

Is there a concept of any ID for a playlist?
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

Ludek
Posts: 3036
Joined: Fri Mar 09, 2007 9:00 am

Re: 1672 Playlist identification in NotifyPlaylist

Post by Ludek » Thu Dec 05, 2013 1:58 pm

I have users that have playlists with the same name but in different folders.
Hi, by different folders you mean different hierarchy in MM?
i.e. something like
Playlists -> MyPlaylist1
Playlists -> MyPlaylist2 -> MyPlaylist1
?

From what I see such a same named playlists are pointed to the same target path on the device so there currently is not a mechanism to differentiate them.
I will update in mantis: http://www.ventismedia.com/mantis/view.php?id=5814

Post Reply