Page 1 of 1

Disable the metadata-network-access popup at first launch (VLC 2.2.1)

Posted: 22 May 2015 14:07
by morgrowe
When VLC first launches, the following dialog window appears:

Image

I've tried looking through ~/Library/Preferences/org.videolan.vlc/vlrcrc for a setting that controls this, and found "metadata-network-access". If I remove the comment character and change its default value to 0 or 1, I still get the popup at first launch. Interestingly, toggling this option (metadata-network-access) does enable/disable the feature for non-first launches of the application.

Image

I'd like to be able to bypass the popup if possible. Is there some other option in the vlcrc file that is checked before showing the popup?

Thanks,
Morgan

Re: Disable the metadata-network-access popup at first launch (VLC 2.2.1)

Posted: 22 May 2015 18:32
by dfuhrmann
This dialog is only shown at the first run, with a newly installed VLC. This status is saved in org.videolan.vlc.plist, under the VLCFirstRun key. So if you want to bypass the dialog on fresh systems, you need to make sure that a valid org.videolan.vlc.plist exists.

Re: Disable the metadata-network-access popup at first launch (VLC 2.2.1)

Posted: 22 May 2015 23:44
by morgrowe
Thanks dfuhrmann. Do you know if that VLCFirstRun key can be read from /Library/Preferences/org.videolan.vlc.plist or would I need to set this key in ~/Library/Preferences/org.videolan.vlc.plist?

Re: Disable the metadata-network-access popup at first launch (VLC 2.2.1)

Posted: 23 May 2015 08:24
by dfuhrmann
Usually, the preference file for VLC is saved per user. But I am no expert in the osx prefs management, and if you can combine global and local settings.

Re: Disable the metadata-network-access popup at first launch (VLC 2.2.1)

Posted: 24 May 2015 15:40
by morgrowe
I've noticed that OS X will read some of VLC's preferences from /Library/Preferences/org.videolan.vlc.plist like the SUHasLaunchedBefore key for example. Hopefully VLCFirstRun will be one of those preferences as it makes customising VLC's experience for each user easier to manage, but it's not a big deal if it has to be read from ~/Library/Preferences/org.videolan.vlc.plist. I will take a look next week.

Thanks for your help, dfuhrmann.

Re: Disable the metadata-network-access popup at first launch (VLC 2.2.1)

Posted: 24 May 2015 15:57
by morgrowe
Just tested it and it works. Running this command in Terminal will bypass the "Check for album art and metadata?" popup for all users:

Code: Select all

defaults write /Library/Preferences/org.videolan.vlc.plist VLCFirstRun -date "2015-05-22T00:00:00Z"

Re: Disable the metadata-network-access popup at first launch (VLC 2.2.1)

Posted: 07 Jun 2018 17:08
by Ashark
I needed launching vlc with --ignore-config, so it was like it is starting first time always.
I have found solution here: https://forum.videolan.org/viewtopic.php?t=91863
--no-qt-privacy-ask did the trick for vlc 3.0.2 on Linux with KDE.