how to set source dir for http module
Posted: 16 Aug 2011 02:36
I've just started trying to use the http interface and can't seem to get it to pick up any files to play.
The documentation says
Omitting the 'http-src' switch should default to [vlc_source_path] and i'm assuming this means "C://Program Files/VideoLAN/VLC/share/http", however I tried putting a media file in every possible location under VideoLAN and it never showed up on the web interface.
And the following all result in "404 Not found (/)" showing on the web interface:
Can someone shed some light on where the default source folder should exist, or how to set the path correctly?
Thanks, Paul.
ps this is winXP
The documentation says
I have tried the following:% vlc -I http (--http-src /directory/ --http-host host:port)
The HTTP interface will start listening at host:port (localhost:8080 if omitted), and will reproduce the structure of /directory at http://host:port/ ( vlc_source_path/share/http if omitted ).
Code: Select all
vlc.exe --extraintf=http --http-host 0.0.0.0:8085
And the following all result in "404 Not found (/)" showing on the web interface:
Code: Select all
vlc.exe --extraintf=http --http-host 0.0.0.0:8085 --http-src "c://Documents and Settings/.../stuff/"
Code: Select all
vlc.exe --extraintf=http --http-host 0.0.0.0:8085 --http-src "c:/Documents and Settings/.../stuff/"
Code: Select all
vlc.exe --extraintf=http --http-host 0.0.0.0:8085 --http-src "/Documents and Settings/.../stuff/"
Thanks, Paul.
ps this is winXP