Skip to content

XSPF parsing fails when dealing with relative paths

Alô,

XSPF support in VLC is not working 100%. It works fine with the absolute paths of URIs (e.g. http://whatever), but not with relative paths (e.g. ../Theora-vids/southpark.ogv). Remember that as a replacement for M3U, XSPF does relative paths as well, so please make that work.

The XSPF spec specifies how to deal with this[1], and Xiph provides a reference C/C++ library[2] under the New BSD License, which may help you on this task.

Good luck.

[1] http://xspf.org/xspf-v1.html#rfc.section.6.2

[2] http://downloads.xiph.org/releases/xspf/libspiff-0.7.1.tar.gz

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information