tis-vlc
3.0.8-2
VLC media player (VLC) is a free and open-source portable cross-platform media player software and streaming media server developed by the VideoLAN project
26128 downloads

Description
- package : tis-vlc
- version : 3.0.8-2
- architecture : x86
- categories : Media
- maintainer : Tranquil IT,Kevin Guerineau,Jimmy PELÉ
- description : VLC media player (VLC) is a free and open-source portable cross-platform media player software and streaming media server developed by the VideoLAN project
- locale : all
- target_os : windows
- min_os_version : 5.1
- max_os_version :
- min_wapt_version : 1.5
- sources : https://store.wapt.fr/store/tis-vlc
- installed_size : 171683840
- impacted_process : vlc.exe
- description_fr : VLC media player (VLC) est un lecteur multimédia français libre issu du projet VideoLAN
- description_pl : VLC media player – odtwarzacz multimedialny rozwijany przez VideoLAN, rozpowszechniany na licencji GPL
- description_de : Der VLC media player ist eine freie Mediaplayer-Software
- description_es : VLC media player es un reproductor y framework multimedia, libre y de código abierto desarrollado por el proyecto VideoLAN
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor : VideoLAN
- licence : GPL-2.0
- signature_date : 2020-02-27T21:42:37.770863
- Homepage : https://www.videolan.org/
Setup.py
from setuphelpers import *
uninstallkey = []
# Declaring specific app values (TO CHANGE)
bin_name_string = 'vlc-%s-win32.exe'
silent_inst_arg = '/S'
uninstall_key = 'VLC media player'
vlcrc_save_path = makepath(programfiles,'VideoLAN','VLC','vlcrc')
def install():
print('installing %s' % control.asrequirement())
# Specific app values
package_version = control.version.split('-',1)[0]
# Getting the used storage on programfiles before installation (place it on the top)
get_disk_free_space_before = get_disk_free_space(programfiles)
install_exe_if_needed(bin_name_string % package_version
,silentflags=silent_inst_arg
,key=uninstall_key
,min_version=package_version)
filecopyto("vlcrc",vlcrc_save_path)
remove_desktop_shortcut('VLC media player')
# Return used storage of the installation. (place it on the bottom)
get_disk_free_space_after = get_disk_free_space(programfiles)
free_space_after_diff = get_disk_free_space_before - get_disk_free_space_after
print ("Storage used: " + str(free_space_after_diff))
def session_setup():
print("Setting default preferences for VLC")
# Specific app values
user_vlc_path = makepath(user_appdata,'vlc')
user_vlcrc_path = makepath(user_appdata,'vlc','vlcrc')
if not isfile(user_vlcrc_path):
mkdirs(user_vlc_path)
filecopyto(vlcrc_save_path,user_vlcrc_path)
else:
fichier = open(user_vlcrc_path,"r")
data = fichier.read()
fichier.close()
if '#qt-notification=1' in data :
data = data.replace('#qt-notification=1','qt-notification=0')
if '#qt-updates-notif=1' in data :
data = data.replace('#qt-updates-notif=1','qt-updates-notif=0')
if 'qt-privacy-ask=1' in data :
data = data.replace('qt-privacy-ask=1','qt-privacy-ask=0')
fichier = open(user_vlcrc_path, "w")
fichier.write(data)
fichier.close()
def update_package():
print('Update package content from upstream binary sources')
from waptpackage import PackageEntry
# Get Proxy informations from WAPT settings
proxies = {}
if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxies = {'http':proxywapt,'https':proxywapt}
htmlSource = wgets("http://www.videolan.org/vlc/download-windows.html",proxies=proxies).splitlines()
for line in htmlSource :
if 'downloadOS' in line :
realversion = line[line.find("") + 12 :line.find("</span>")]
latest_bin = bin_name_string % realversion
# Deleting outdated binaries
for actual_bin in glob.glob('*.exe') or glob.glob('*.msi'):
if actual_bin != latest_bin :
print(actual_bin + ' Deleted')
remove_file(actual_bin)
# Downloading latest binaires
if not isfile(latest_bin):
print('Download ' + latest_bin)
win_arch = control.architecture.replace('x','win')
if win_arch == 'win86':
win_arch = 'win32'
wget('https://get.videolan.org/vlc/'+ realversion +'/%s/' % win_arch + latest_bin, latest_bin,proxies=proxies)
print ('Write ' + realversion + '-0 in WAPT\\control')
pe = PackageEntry()
pe.load_control_from_wapt(os.getcwd())
pe.version = realversion +'-0'
pe.save_control_to_wapt(os.getcwd())
print('The update is complete, you can now test and then launch a build upload.')
if __name__ == '__main__':
update_sources()
[["WAPT/icon.png","caaf9fa15a3794cc95bd0b2a6000c37ef1cc84c866a5cb15fe5d3bf9f29eb054"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","fdd9db03cb28a75c9b2af4f5154e55cce7feaa098404f37d3fe5c6cdfb483729"],["vlc-3.0.8-win32.exe","f286e25d5c52bfe7f392fb3f4e28e711225d1773e3c43281cb901145ded34def"],["setup.py","d778dd047028726dc5da7cbf8bca759dbcd499d67b44f902b14dd30847620deb"],["vlcrc","cfa606189d8a7b44ae4478490c2c664698a0e41a3df1ac2daf4c2809ff675d09"],["WAPT/control","b3845185cabe73ad18c39e17399ea6c8572a053b1339ea6be8b75c49c8066bc4"],["WAPT/changelog.txt","19f50c0f42d1417eef50652bcd2bb5ba69f26a790ca0d3e9a8c683fb8a739a69"]]