VLC command line system and user settings

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.
itman0806
New Cone
New Cone
Posts: 4
Joined: 10 Mar 2023 17:31

VLC command line system and user settings

Postby itman0806 » 10 Mar 2023 22:07

Thank you for taking the time to read my post.

I am trying to accomplish the following.

1. Load a playlist from a windows shortcut. - Task complete. ("C:\Program Files\VideoLAN\VLC\vlc.exe" <path to file>\IPTVChannels.xspf)
-issue stop video from resizing. task complete add command line --no-qt-video-autoresize ("C:\Program Files\VideoLAN\VLC\vlc.exe" --no-qt-video-autoresize <path to file>\IPTVChannels.xspf)
2. Always display playlist - Does not appear to be an option at this point, but can manually show the playlist.
3. Specify what the player will look like without overwriting or using the users or system settings.
- I found the --config=(path to file) cli switch but I can't seem to find data on how to use it, a side from the file path. I tried both the qt interface ini and the vlcrc. However the system always uses my settings any way.
- ("C:\Program Files\VideoLAN\VLC\vlc.exe" --ignore-config --no-qt-video-autoresize path-to-file\IPTVChannels.xspf --config=path-to-file\vlc-qt-interface.ini)
- ("C:\Program Files\VideoLAN\VLC\vlc.exe" --ignore-config --no-qt-video-autoresize path-to-file\IPTVChannels.xspf --config=path-to-file\vlcrc)


This is how I would like it to start.
Image

I can work with vlc always starting like this.
Image

What config file do I use and what is the correct cli command?

Thank you for your help.

Paul

Lotesdelere
Cone Master
Cone Master
Posts: 9985
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC command line system and user settings

Postby Lotesdelere » 11 Mar 2023 11:30

Set it like you want with the GUI and then use your default config file.
IMO you can't use both --ignore-config and --config=path in the same command line.

itman0806
New Cone
New Cone
Posts: 4
Joined: 10 Mar 2023 17:31

Re: VLC command line system and user settings

Postby itman0806 » 15 Mar 2023 15:57

Thank you LotesDelere,

I have tried the following and the command appears to be ignored. Digging in a bit more I found the following.

After making UI changes, remove advanced controls, the vlc-qt-interface.ini changes and is saved. This indicates to me that this is the file I should use. I copy the file to a new location and from my shortcut call that config file.
"C:\Program Files\VideoLAN\VLC\vlc.exe" --no-qt-video-autoresize path-to-file\IPTVChannels.xspf --config=path-to-file\vlc-qt-interface.ini
VLC loads first displaying the Privacy and network access policy. Clicking continue I see the player and the advanced controls are displayed.
Turing off the advanced controls at this point updates my normal config file, not the config file in the command above.
I opened the files to see the difference between the two and found the look nothing alike.

Default looks like this.
Image

The one copied to the new location looked like the one above but now looks like this after running the command from above.
Image

I have been going through the second image looking for player controls, however I don't see them.

Currently I am hunting for a list of all the settings and their actions and values.

Thank you for your guidance.

Paul

itman0806
New Cone
New Cone
Posts: 4
Joined: 10 Mar 2023 17:31

Re: VLC command line system and user settings

Postby itman0806 » 15 Mar 2023 17:23

Digging a bit more into the INI, I tested the [qt] section of the INI file and it appears turning off the advanced controls is not located there. I also removed my settings folder in an attempt to reset my player and found it still pulled the settings from somewhere else. I checked the program data folder and program files folders and nothing there.

Still hunting :)

Lotesdelere
Cone Master
Cone Master
Posts: 9985
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC command line system and user settings

Postby Lotesdelere » 16 Mar 2023 11:08

The default location of vlc-qt-interface.ini is in %APPDATA%\vlc .
Just use it, you don't need to specify a path for this file in your command line.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests