tis-lavfilters icon

LAVFilters

Silent install package for LAVFilters

0.79.2-0
Media
Extensions
Media
Extensions

  • package: tis-lavfilters
  • name: LAVFilters
  • version: 0.79.2-0
  • categories: Media,Extensions
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • locale: all
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 15.65 Mo
  • installed_size: 83.15 Mo

package           : tis-lavfilters
version           : 0.79.2-0
architecture      : all
section           : base
priority          : optional
name              : LAVFilters
categories        : Media,Extensions
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : LAVFilters
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 83153235
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      : 5e84233d-4e90-44ca-8641-88420b7c792a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 0bfc6603709986681b8a5fc4dbbe0a5827931ff3e01bf8c08803c9336bd2a288
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : X31NUcYSxcep4WBxbeeUnolBMF8Tz7BhDG8tWROUbXPcM42+in3kNCKB2LCcjK4QSUwwS5GWR14M2Zja43pLqFfm96/QG3Z0bePD8CDHI8Y/7sHwgWyGHxPs5wwjIig2fgvCBCinHky1rdm/Bkc4Md0lH1TdwD2VJ6LdLEWFMqeCWrxg2fT06jjVItTEBh4msac5RuiuLfoWRhgcbvmH5z+bCrjfDZndiD1u5aBKZ6nizYOH6BpkQsCjognnyE3tZjMpv7Fw6+/lqYjly/qRqVaLw3xUsDIETtsggSSxwzlKIfZcQn/wB3QtwSEe4lOI8lQcxHDiH7UzI2ANaT+Q0g==
signature_date    : 2024-05-15T16:00:09.178090
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

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


def install():
    bin_name = glob.glob("LAVFilters*-Installer.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT",
        key="lavfilters_is1",
        min_version=control.get_software_version(),
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/Nevcairiel/LAVFilters/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if "-Installer.exe" in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            latest_bin = download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin).split("-")[0]
    # if not version_from_file.startswith(version) and version_from_file != '':
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary")
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return package_updated

f015461a6b551bc85d6c826b21e10e61b3bef2a9699508b757651f25a88e11a4 : setup.py
b8c938782e50037797cba5f1e88e218bae31cb9bf9afa4d02794a4ee5ad5a10f : update_package.py
99c6e095f25e9a3211862d2ccb8efd8063ef8cac54b36031a4203bdbcb949029 : LAVFilters-0.79.2-Installer.exe
0bfc6603709986681b8a5fc4dbbe0a5827931ff3e01bf8c08803c9336bd2a288 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
27d2ecb8d43f29cc6e6b3035fd0553abded761c1acde83dc832b55058d131bde : luti.json
eda1d13de4ccab3c55728e8968cf7fd5e5b7a521cf4b69459800583df533f71d : WAPT/control