tis-vlc

0-1
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
22987 downloads
Download

  Description 

  • package : tis-vlc
  • version : 0-1
  • architecture : all
  • 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 : linux
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources : https://www.videolan.org/vlc/
  • installed_size :
  • impacted_process : vlc
  • 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-07-24T19:05:28.044165
  • Homepage : https://www.videolan.org/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform

uninstallkey = []
# Declaring specific app values (TO CHANGE)
package_name = 'vlc'


def install():
    # Installing the package
    if platform.linux_distribution()[0].lower() in ['debian','ubuntu','mint']:
        update_apt()
        print('Installing: %s' % package_name)
        install_apt(package_name)

    if platform.linux_distribution()[0].lower() in ['centos linux','centos','suse','fedora','redhat']:
        print('Installing: %s' % package_name)
        install_yum(package_name)


def uninstall():
    # Uninstalling the package
    if platform.linux_distribution()[0].lower() in ['debian','ubuntu','mint']:
        print('Uninstalling: %s' % package_name)
        uninstall_apt(package_name)

    if platform.linux_distribution()[0].lower() in ['centos linux','centos','suse','fedora','redhat']:
        print('Uninstalling: %s' % package_name)
        uninstall_yum(package_name)


def session_setup():
    print("Setting up default preferences for VLC")

    # Specific app values
    user_conf_dir = makepath(user_home_directory(),'.config','vlc')
    user_conf_file = makepath(user_conf_dir,'vlcrc')
    vlcrc_content="""[qt] # Qt interface
qt-notification=0
qt-privacy-ask=0
metadata-network-access=0
"""

    if not isfile(user_conf_file):
        if not isdir(user_conf_dir):
            mkdirs(user_conf_dir)
        fichier = open(user_conf_file, "w")
        fichier.write(vlcrc_content)
        fichier.close()
    else:
        fichier = open(user_conf_file,"r")
        data = fichier.read()
        fichier.close()

        if '#qt-notification=1' in data :
            data = data.replace('#qt-notification=1','qt-notification=0')
        if 'qt-notification=1' in data :
            data = data.replace('qt-notification=1','qt-notification=0')
        if '#qt-privacy-ask=1' in data :
            data = data.replace('#qt-privacy-ask=1','qt-privacy-ask=0')
        if 'qt-privacy-ask=1' in data :
            data = data.replace('qt-privacy-ask=1','qt-privacy-ask=0')
        if '#metadata-network-access=1' in data :
            data = data.replace('#metadata-network-access=1','metadata-network-access=0')
        if 'metadata-network-access=1' in data :
            data = data.replace('metadata-network-access=1','metadata-network-access=0')
            
        fichier = open(user_conf_file, "w")
        fichier.write(data)
        fichier.close()

def update_package():
    pass
										

  Changelog 


Changelog software url : https://www.videolan.org/developers/vlc-branch/NEWS

No changelog
  manifest.sha256 
[["setup.py","a681358b648ed63e5d1ceb4ba2e17e811939d9807fc07afd50080b887dc5ae1e"],["WAPT/icon.png","caaf9fa15a3794cc95bd0b2a6000c37ef1cc84c866a5cb15fe5d3bf9f29eb054"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","10f992805b95226495ef2f29e1ce92cf7d5a1385c8c3fa24e29e0e1249eeda28"]]