Page 1 of 1

Changing the default web interface library folder

Posted: 24 Jan 2013 20:46
by Flec
Hi, apologies if this was already covered but I've had a search and I couldn't see anything.
I've setup VLC to enable the web interface and I'm using Remote for VLC to control playback. My only problem is Remote for VLC has an option to play from 'Library' which gives me a folder browser, however this defaults to my Windows user's 'My Documents' folder, but I don't keep any of my media there because my main hard disk isn't big enough.
Presumably VLC provides this folder listing somehow but I can't find anything in the http lua files, is there a way to configure this? My only other alternative would be to setup a load of playlists in that folder but that's far from ideal.

Thanks for your time

Re: Changing the default web interface library folder

Posted: 28 May 2013 21:05
by Wormpje
I've got the same question and cant find the solution anywhere. Did you, in the meantime, found where to change the default browse-folder? Its very irritating to navigate to your media folder over and over again. Cant understand why no one else has this question...
I hope someone has the solution for this!

Re: Changing the default web interface library folder

Posted: 29 May 2013 00:22
by Flec
Sorry, didn't find anything myself either

Re: Changing the default web interface library folder

Posted: 02 Aug 2013 15:27
by conejodelmal
Hi @ all,
I am also desperatly searching for a solution for this.. i also have a tiny system drive... is there any way to achieve this?
thanks

Re: Changing the default web interface library folder

Posted: 05 Aug 2013 14:44
by Jean-Baptiste Kempf
Sorry, so far, there is no way.

Re: Changing the default web interface library folder

Posted: 23 Sep 2014 03:31
by jack44556677
Someone please chime in if there is a better way (as this thread has been dormant for some time)....

This is a working solution/workaround. Although it is a little extreme.

The link below explains how to change the location of a folder such as My Documents (the path that the "Open" button directs to by default through the webapp). Just change the location of "My Documents" to your sharedrive/media file path, and unless you really want to, click no when it asks if you want to copy all of your documents to the new location you have assigned. Now the vlc remote web page will default to that assigned location.

http://windows.microsoft.com/en-us/wind ... =windows-7

Re: Changing the default web interface library folder

Posted: 07 Mar 2017 02:53
by MiniNelson
1) Edit c:\Program Files\VideoLAN\VLC\lua\http\js\controllers.js
2) Find the line: dir = dir == undefined ? 'file://~' : dir;
3) Change it to something like: dir = dir == undefined ? 'file:///C:/MyDir/Audio' : dir;