Disable autoupdate vlc media player in Mac

Aquiba
New Contributor

Hello folks ,

Can any one help me, how to disable the autoupdate of VLC media player using shell script.

1 REPLY 1

Cornoir
Contributor II

Suppress automatic updates

Creating the plist in /Library/Preferences

defaults write /Library/Preferences/org.videolan.vlc SUEnableAutomaticChecks 0
chown -R root:wheel /Library/Preferences/org.videolan.vlc.plist
chmod -R 644 /Library/Preferences/org.videolan.vlc.plist

defaults write /Library/Preferences/org.videolan.vlc SUSendProfileInfo 0
chown -R root:wheel /Library/Preferences/org.videolan.vlc.plist
chmod -R 644 /Library/Preferences/org.videolan.vlc.plist

also helpful:

Disable "Check for album art and metadata?" prompt, and auto updates for all users

/usr/bin/defaults write /Library/Preferences/org.videolan.vlc VLCFirstRun -date "2015-05-22T00:00:00Z" 2>/dev/null
/usr/bin/defaults write /Library/Preferences/org.videolan.vlc SUEnableAutomaticChecks -bool "false" 2>/dev/null
/usr/bin/killall cfprefsd 2>/dev/null

Disable metadata-network-access in User Template

/bin/mkdir -p /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc/ 2>/dev/null
/bin/echo "# Allow metadata network access (boolean)" > /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc/vlcrc 2>/dev/null
/bin/echo "#metadata-network-access=0" >> /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc/vlcrc 2>/dev/null
/usr/sbin/chown -R root:wheel /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc 2>/dev/null
/bin/chmod -R 700 /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc 2>/dev/null