Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: playlist_loader (Read 2610 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

playlist_loader

I want to be able to enumerate all the files in a dropped playlist in my app.  I have the filename, how can I

a) find the right playlist_loader
b) get all the files in the playlist

it looks like i need to do some sort of loop like:

   service_enum_t<playlist_loader> e;
   playlist_loader * l;
   int first=1;
   for(l=e.first();l;l = e.next())
   {
            // if l is right loader
            // process it...
   }

I'd like to write this function to be given a filename then have it setup the callback that gets called for every file in the playlist...

Thanks
There used to be a link to my website here.

playlist_loader

Reply #1
nm... got it..
There used to be a link to my website here.