[vlc-devel] Re: Patch for upnp service discovery plugin

Christian Henz henz at c-lab.de
Thu Dec 22 20:49:15 CET 2005

Am Freitag, 9. Dezember 2005 23:34 schrieb Rémi Denis-Courmont:
> Le Vendredi 9 Décembre 2005 17:40, Christian Henz a écrit :
> > Here is an updated patch.
> Applied; thanks.

Here is another patch which does the following:

 - Update playlist when receiving ssdp:alive from media servers

This is done because the contents of a playlist might change.
For example TwonkyVision media server periodically scans its
file list and creates a completely new content directory, making
all previously received media URLs invalid.

With this patch, the playlist gets synced on the next ssdp:alive
Packet the server sends. Unfortunately this can still leave us
with an invalid playlist for a couple of minutes. Maybe we have to 
do periodic searches instead? What is also kind of annoying is that 
even if the content dir has not changed at all, the whole playlist for 
a device gets destoyed and replaced.

There is also another issue: VLC segfaults in the playlist code 
after a couple of updates.

I would love to see some people test/review/discuss this stuff :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc-upnp-06-update-on-alive.diff
Type: text/x-diff
Size: 3254 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20051222/dfee16b6/attachment.diff>

More information about the vlc-devel mailing list