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

macOS specific usage questions
morgrowe
New Cone
New Cone
Posts: 4
Joined: 22 May 2015 13:51

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

Postby morgrowe » 22 May 2015 14:07

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
Last edited by morgrowe on 22 May 2015 23:45, edited 1 time in total.

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

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

Postby dfuhrmann » 22 May 2015 18:32

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.

morgrowe
New Cone
New Cone
Posts: 4
Joined: 22 May 2015 13:51

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

Postby morgrowe » 22 May 2015 23:44

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?

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

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

Postby dfuhrmann » 23 May 2015 08:24

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.

morgrowe
New Cone
New Cone
Posts: 4
Joined: 22 May 2015 13:51

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

Postby morgrowe » 24 May 2015 15:40

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.

morgrowe
New Cone
New Cone
Posts: 4
Joined: 22 May 2015 13:51

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

Postby morgrowe » 24 May 2015 15:57

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"

Ashark
New Cone
New Cone
Posts: 3
Joined: 25 Aug 2017 13:13

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

Postby Ashark » 07 Jun 2018 17:08

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.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests