View Full Version : Question about playlist plugin.
When I choose Save/Create Playlist From Folder, InitPlaylist called and (inflags & PLAYLIST_INIT_WRITE) != 0 but how do I know what files should be included to playlist? Where I can get selected folder?
When the player calls 'InitPlaylist' you should create an instance of a struct (or your definition) that will hold all the info you need to generate you playlist and return this pointer.
Then the player will start calling 'SaveEntry' for each file it wants to save and pass in the pointer returned from InitPlaylist and other info about the file to save.
After the last file the player will call DeinitPlaylist.
Thanks! And one more question. I've created my own playlist format where I keep Filename, Artist & Title and I've configured QCD to show tracks in playlist in the same way: artist - title. QCD is loading something anyway. Why? Everything is already given to player...
acozz
04-27-2004, 01:27 AM
Perhaps it's loading the track times. Try going to Preferences->Media Loading->Determine File Lengths on Play and see if the loading stops.
hedge
04-27-2004, 12:58 PM
Thanks! And one more question. I've created my own playlist format where I keep Filename, Artist & Title and I've configured QCD to show tracks in playlist in the same way: artist - title. QCD is loading something anyway. Why? Everything is already given to player...
Hmmm this playlist format sounds interesting... I suppose its like the foobar playlist format, which stores all tag info, allowing for much faster loading. Could you perhaps release this plugin, and maybe add options into the plugin which allow the user to define which tags are stored in the playlist file?
As i understand it, that would allow qcd to load playlists much faster, and not look up tag data (which i don't need anyway, as i don't use quicktrack...)
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.