[vlc-devel] How to make relative paths in local xspf playlists work?

Rafaël Carré rafael.carre at gmail.com
Thu Jul 30 15:29:36 CEST 2009


On Thu, 30 Jul 2009 09:24:44 -0400
"Michael A. Puls II" <shadow2531 at gmail.com> wrote:

> However, how do you get the path to the xspf file (as an absolute
> URI) so that you can do:
> 
> "file:///c:/documents%20and%20settings/user/desktop/file.xspf" ->  
> "file:///c:/documents%20and%20settings/user/desktop/" to get the base
> path.

Have a look at include/vlc_demux.h , especially struct demux_t ->
psz_path

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090730/2652e054/attachment.sig>


More information about the vlc-devel mailing list