[vlc-devel] Re: playlist changes i'd like to make

Sigmund Augdal Helberg dnumgis at videolan.org
Thu Jan 12 19:30:07 CET 2006


On Thu, 2006-01-12 at 09:49 -0800, jmzorko at mac.com wrote:
> Hello, all ...
> 
> I'd like to add a new function called playlist_QueueDelete(), which  
> will record an item delete request on a queue instead of deleting the  
> item from the playlist immediately.  I would then modify the playlist  
> thread to operate on the queue (executing any requests on it) when a  
> clip is finished playing e.g. before the NextItem() function is called.
Can't this be done by chaning playlist_Delete so that it checks if the
item is current, and if it is simply sets b_autodelete on the item?

Sigmund
> 
> This way, items can be deleted from the playlist even if they're  
> currently playing, without VLC stopping, making playlists a lot more  
> dynamic and flexible (in my opinion, anyway).  Thoughts?  I'd like to  
> give this code back, so i'm interested in your opinions on the matter.
> 
> Regards,
> 
> John
> 
> Falling You - exploring the beauty of voice and sound
> http://www.fallingyou.com
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list