VLC on a USB flashdrive

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Hubbabub
New Cone
New Cone
Posts: 3
Joined: 25 Oct 2005 18:52
Location: Sweden, Landskrona
Contact:

VLC on a USB flashdrive

Postby Hubbabub » 25 Oct 2005 19:18

Hi

I have tested vlc-0.8.4-test1-20051025-0000-win32.zip
on a USB flashdrive in Win Xp pro sp2 (English with Swedish settings),
and it works great :)

But I have one question.
I saw that VLC creates a directory in the Application Data directory.
Are there some way to prevent VLC to create that directory on the harddrive ?


/Hubbabub
Hubba hubba zoot zoot.............

spchtr

Is there any way to change where VLC stores the config?

Postby spchtr » 12 Dec 2005 23:54

I run VLC from a usb Flash drive, and would like it to look at .\vlc\vlcrc instead of %CURRUSER%\Application Data\vlc\vlcrc

Would anyone know where in the source code I would need to change this?
I've such a small amount of programing background as to be laughable, but I have occasionally compiled some very simple C programs before.

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 13 Dec 2005 08:46

No need to change the code, you can use 'vlc --config .\vlc\vlcrc'.

Guest

Postby Guest » 15 Dec 2005 01:25

Doing as ipkiss suggests does successfully read the VLC configuration file from the path used in the command line. However I also had to use the "--no-plugins-cache" switch to keep VLC from creating a cache directory with files in the %CURRUSER%\Application Data\ path. I'm not sure what else must be done to ensure VLC doesn't leave "junk" on the host PC's hard drive.

spchytr

--config <>

Postby spchytr » 15 Dec 2005 19:03

Awesome!

It worked great, now I am definetly going to be working on reskinning this great program. Thanks guys.

Another Guest

Postby Another Guest » 23 Dec 2005 14:43

Following ipkiss' instructions I can get VLC to leave its configuration data on the flash drive with 'vlc --config .\vlc\vlcrc'. Following the first Guest's instruction I can get it to not create a cache on the hard drive with "--no-plugins-cache".

How can I get it to create a cache on the flash drive in vlc\cache?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 24 Dec 2005 00:38

The dir is hardcoded in VLC. I guess that it wouldn't be hard to add an option to change that.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Another Guest

Postby Another Guest » 24 Dec 2005 15:05

Thanks for the info.

With the move towards portable apps that would be a great option. I'll keep watching my newsletter.

Jim

another guest 2

Postby another guest 2 » 28 Dec 2005 06:44

When i play dvds in vlc from my flash drive, i still get a dvdcss directory created in my application data directory with the titles of dvds i have played. is this vlc or is it windows2000?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 82 guests