[vlc-devel] [Patch] better browsing

Rob rob at hobbyistsoftware.com
Tue Sep 20 02:01:03 CEST 2011


as Francois pointed out, the root of the problem with open/enqueue in the  
web client is that it gets path data from browse.xml, whereas it needs a  
uri  to send back to in_play and in_enqueue

after this patch, you can safely get a uri from browse.xml (playlist.xml  
already provides a uri) and use it in browse.xml, in_play or in_enqueue  
(it has to be url_encoded like all params).

It should be fairly simple for someone with better js skills than me to  
update the web client to use this.

the model for the data is refactored to httprequests.lua so that the data  
can be used by browse.xml and browse.json

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-better-browsing.patch
Type: application/octet-stream
Size: 5481 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110920/f0469944/attachment.obj>


More information about the vlc-devel mailing list