tis-xiboplayer

3.301.1-1
Xibo Open Source Digital Signage (Xibo Signage Ltd)
6018 downloads
Download
tis-xiboplayer icon

  Description 

  • package : tis-xiboplayer
  • version : 3.301.1-1
  • architecture : all
  • categories : Media, Messaging
  • maintainer : Simon Fonteneau, Jimmy PELÉ, Tranquil IT
  • description : Xibo Open Source Digital Signage (Xibo Signage Ltd)
  • locale :
  • target_os : windows
  • min_wapt_version :
  • sources :
  • installed_size : 14745600
  • impacted_process : XiboClient.exe,XiboClientWatchdog.exe
  • description_fr : Xibo est un logiciel d'affichage dynamique libre sous licence GNU Affero General Public License
  • description_pl : Xibo jest bezpłatnym oprogramowaniem do cyfrowego oznakowania na podstawie Powszechnej Licencji Publicznej GNU Affero
  • description_de : Xibo ist eine kostenlose Digital Signage Software unter der GNU Affero General Public License
  • description_es : Xibo es un software libre de señalización digital bajo la Licencia Pública General Affero de GNU
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Xibo Signage Ltd
  • licence : GNU Affero General Public License
  • signature_date : 2021-09-23T10:31:17.116047
  • Homepage : https://xibo.org.uk/

  Setup.py 

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

uninstallkey = []


def install():
    print('installing %s' % control.asrequirement())

    # Specific app values
    #package_version = control.get_software_version() # Do not use for now
    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)

    for msi in glob.glob('*.msi'):
        install_msi_if_needed(msi,killbefore=['XiboClient.exe'],min_version=get_msi_properties(msi)['ProductVersion'])
        break

    #if not isrunning('waptexit.exe'):
    #   print('Reboot Dans 1 Minutes !')
    #   run('shutdown -r -t 60')

	# 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 update_package():
    print('Update package content from upstream binary sources')

    # Get Proxy informations from WAPT settings
    proxies = {}
    if isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}
            
    last_vers = '0'
    for p in json.loads(wgets('https://api.github.com/repos/xibosignage/xibo-dotnetclient/releases/latest',proxies=proxies))['assets'] :
        if 'x86.msi' in p['name']:
            filename = p['name']
            if Version(p['name'].split('-')[3].strip('R')) > last_vers:
                dstmsi = p['browser_download_url']

    for msi in glob.glob('*.msi'):
        if msi != filename :
            remove_file(msi)

    if not isfile(filename):
        print('Downloading %s from %s'%(filename,dstmsi))
        wget(dstmsi,filename,proxies=proxies)
    else:
        print('Already up to date, skipped')


    os.chdir(os.path.dirname(__file__))

    from waptpackage import PackageEntry
    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())

    pe.version = get_msi_properties(filename)['ProductVersion'] + '-0'
    pe.save_control_to_wapt(os.getcwd())

if __name__ == '__main__':
    update_sources()
										

  Changelog 



https://blog.xibo.org.uk/tag/release/
									
  manifest.sha256