tis-lavfilters icon

LAVFilters

Silent install package for LAVFilters

0.80-0

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

package           : tis-lavfilters
version           : 0.80-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      : c67e4a1d-91a2-443e-93c8-2545b70e9cea
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 0bfc6603709986681b8a5fc4dbbe0a5827931ff3e01bf8c08803c9336bd2a288
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-25T15:03:57.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         : PXZGyeL05d8yH4tNnUXj9lsuR1bXwW4eCz5ZPYMQ5vIqJInZCu9rzuuVHcrW1JNkEKBindXEWfTKd0xpW4Ds/+ELm6z5e79U7WcnvGU2U3jx6Q59rp/dkpfvhBdsosw9f21G4RAe2GWAylzSYMVP147xrh7tet+sqQR0QCL14iNXdYUT+lQDod2Ol/BT0etMqIWiG3TfOE9uasIbcx7SdTCTPFaf6wBb27N5UMq5xzwR1ZI8aIMhSWNcwzbFnM+N9CwV4AtvnkR8C6X0tojKi/mdVHFgoYFW/CRO5Ux/rUYe/r7c5tQ6IW6AEXVXNxrZJObmQeXQRKd6zRDHCqBd0w==

# -*- 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

497ee31a926d55bc3112e20a282894cf182b3ffb0a36190be708a650a665a9bf : LAVFilters-0.80-Installer.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
391a4d0279b342a90f5f9548f086c6fd674a6bd8df4bdfcaddf54c5da71be3b6 : WAPT/control
0bfc6603709986681b8a5fc4dbbe0a5827931ff3e01bf8c08803c9336bd2a288 : WAPT/icon.png
8ef2c887624d383093836263a232e30a9ac694d96918fdf9e89650ed0c6b2900 : luti.json
f015461a6b551bc85d6c826b21e10e61b3bef2a9699508b757651f25a88e11a4 : setup.py
b8c938782e50037797cba5f1e88e218bae31cb9bf9afa4d02794a4ee5ad5a10f : update_package.py