
QMPlay2
Silent install package for QMPlay2
24.6.16-1
- package: tis-qmplay2
- name: QMPlay2
- version: 24.6.16-1
- maintainer: Amel FRADJ
- licence: LGPL-3.0 license
- target_os: windows
- impacted_process: QMPlay2
- architecture: x64
- signature_date:
- size: 23.52 Mo
- homepage : https://github.com/zaps166/QMPlay2
package : tis-qmplay2
version : 24.6.16-1
architecture : x64
section : base
priority : optional
name : QMPlay2
categories :
maintainer : Amel FRADJ
description : QMPlay2 is a video and audio player. It can play all formats supported by FFmpeg, libmodplug (including J2B and SFX). It also supports audio CDs, raw files, Rayman 2 music and chiptunes. It includes YouTube and the Prostopleer browser
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process : QMPlay2
description_fr : QMPlay2 est un lecteur vidéo et audio. Il peut lire tous les formats pris en charge par FFmpeg, libmodplug (y compris J2B et SFX). Il prend également en charge les CD audio, les fichiers bruts, la musique Rayman 2 et les chiptunes. Il contient YouTube et le navigateur Prostopleer
description_pl : QMPlay2 jest odtwarzaczem wideo i audio. Może odtwarzać wszystkie formaty obsługiwane przez FFmpeg, libmodplug (w tym J2B i SFX). Obsługuje również audio CD, pliki raw, muzykę Rayman 2 i chiptunes. Zawiera YouTube i przeglądarkę Prostopleer
description_de : QMPlay2 ist ein Video- und Audioplayer. Er kann alle von FFmpeg, libmodplug (einschließlich J2B und SFX) unterstützten Formate abspielen. Er unterstützt auch Audio-CDs, Raw-Dateien, Rayman 2-Musik und Chiptunes. Es enthält YouTube und den Prostopleer-Browser
description_es : QMPlay2 es un reproductor de vídeo y audio. Puede reproducir todos los formatos soportados por FFmpeg, libmodplug (incluyendo J2B y SFX). También soporta CDs de audio, archivos raw, música de Rayman 2 y chiptunes. Incluye YouTube y el navegador Prostopleer
description_pt : O QMPlay2 é um leitor de vídeo e áudio. Ele pode reproduzir todos os formatos suportados pelo FFmpeg, libmodplug (incluindo J2B e SFX). Ele também suporta CDs de áudio, arquivos raw, música do Rayman 2 e chiptunes. Ele inclui o YouTube e o navegador Prostopleer
description_it : QMPlay2 è un lettore video e audio. Può riprodurre tutti i formati supportati da FFmpeg e libmodplug (compresi J2B e SFX). Supporta anche CD audio, file raw, musica di Rayman 2 e chiptunes. Include YouTube e il browser Prostopleer
description_nl : QMPlay2 is een video- en audiospeler. Het kan alle formaten afspelen die worden ondersteund door FFmpeg, libmodplug (inclusief J2B en SFX). Het ondersteunt ook audio-CD's, raw-bestanden, Rayman 2-muziek en chiptunes. Het bevat YouTube en de Prostopleer browser
description_ru : QMPlay2 - это проигрыватель видео и аудио. Он может воспроизводить все форматы, поддерживаемые FFmpeg, libmodplug (включая J2B и SFX). Он также поддерживает аудио CD, необработанные файлы, музыку Rayman 2 и чиптюны. В плеере есть YouTube и браузер Prostopleer
audit_schedule :
editor :
keywords :
licence : LGPL-3.0 license
homepage : https://github.com/zaps166/QMPlay2
package_uuid : dacd97f0-8502-492b-a467-df6be91b6928
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 9156e513ea60654a4cc914bfa6019c750beba5951bbbc0af036bd338091fbef8
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-11-17T18:03:02.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : Jg9Z3w9bvatwmIGrxkjpEGMIySDZ2bSKjRWM1IcaMx2VMmLZtO0NdPa2LBip3gqBBpVhndNZOmopol2IZ1lp6/Z4dM8DzcvlUT5npjs+gVrpwYnNYbE2j/EvKNxcJ1jRE1Fc/OC5MxaaLh6B5ks2lV1iUJzzF9ASNqFSgigLWgy0LzKlS6J/lU9OPHgSklkq0xyXP1v2PYAJ9lTOgHtKA0WGLcMVLwDZd/jcuDf5Rins2WFqS0Aza3S6lPWQ9xUB/yHWnU6r3yTk4dfDivJ4TcF2IxnkouHtxLANEBewprHKfXmiSyrbtEOLxBT9DGoF9130LkuDk642qjBBpfJu5w==
# -*- coding: utf-8 -*-
from setuphelpers import *
import subprocess
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob('QMPlay2-*.exe')[0]
# Installing the software
subprocess.Popen(bin_name + " --Auto",creationflags=subprocess.CREATE_NEW_CONSOLE)
wait_process_finish(bin_name)
wait_uninstallkey_present(name="QMPlay2")
killalltasks(ensure_list(bin_name,"QMPlay2.exe"))
def uninstall():
# Uninstalling older versions of the software
for to_uninstall in installed_softwares(name="QMPlay2"):
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
if isdir(to_uninstall["install_location"]):
remove_tree(to_uninstall["install_location"])
def wait_process_finish(process_name, timeout=120):
current_time = 0
while find_processes(process_name):
current_time += 1
if current_time > timeout:
return
time.sleep(1)
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "zaps166/QMPlay2"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
target_pattern = re.compile(r"QMPlay2-Win64-\d{2}\.\d{2}\.\d{2}\.exe")
url_dl = None
filename = None
for download in json_load["assets"]:
if target_pattern.match(download["name"]):
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl, filename, proxies=proxies)
# nettoyer les fichiers temporaires
for f in glob.glob("*.zip"):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
6c6f429d44f4e0b9955f0473897d06ad90213fe36ecba5810fcb981f0ac5e942 : QMPlay2-Win64-24.06.16.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2a0fd6465c56d747841fee667626ef3fb97eda506ed0f676fa4908bc9956b3d8 : WAPT/control
9156e513ea60654a4cc914bfa6019c750beba5951bbbc0af036bd338091fbef8 : WAPT/icon.png
56859e77653d77f68c0bd227f24e2bf0fbd099cd32eee4246fee59f7f1fea30d : luti.json
4be7e4086faad488b972642c5144f97fbd82dd9b34218ecff28211ba216dec86 : setup.py
5f836c6f379cabf98809222aec2435058c154f21955ccc34b680fd5bd04c070e : update_package.py