tis-tautulli-portable icon

tautulli

Silent install package for tautulli

2.14.6-1

  • package: tis-tautulli-portable
  • name: tautulli
  • version: 2.14.6-1
  • maintainer: Amel FRADJ
  • licence: GPL-3.0 license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 35.36 Mo
  • homepage : tautulli.com

package           : tis-tautulli-portable
version           : 2.14.6-1
architecture      : x64
section           : base
priority          : optional
name              : tautulli
categories        : 
maintainer        : Amel FRADJ
description       : About A Python based monitoring and tracking tool for Plex Media Server
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : A propos d'un outil de surveillance et de suivi basé sur Python pour Plex Media Server
description_pl    : Informacje o opartym na języku Python narzędziu do monitorowania i śledzenia dla Plex Media Server
description_de    : Über ein Python-basiertes Überwachungs- und Tracking-Tool für Plex Media Server
description_es    : Acerca de Una herramienta de monitorización y seguimiento basada en Python para Plex Media Server
description_pt    : Sobre uma ferramenta de monitorização e rastreio baseada em Python para o Plex Media Server
description_it    : Informazioni su Uno strumento di monitoraggio e tracciamento basato su Python per Plex Media Server
description_nl    : Over een op Python gebaseerd controle- en volgprogramma voor Plex Media Server
description_ru    : Об инструменте мониторинга и отслеживания Plex Media Server на основе Python
audit_schedule    : 
editor            : 
keywords          : 
licence           : GPL-3.0 license
homepage          : tautulli.com
package_uuid      : 28f6c577-ca7a-401c-9f31-917181994112
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : f3aec76eb507b7494a9a6dbe6f9bb05c70025904d09632848de954d312049579
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-10-18T01:00:49.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         : MrujRr6X74qAhWwz0sSnkSagRf1oa2/FeF+NwJmWD0omz172r5Gd9cn1Dt0aXhKw0kctNA3mo82VUxu6kAS7l3KCrFv3W6g7xTi2qMnfL/qCA+OaoZtziS4N+TsVF/VUnD63kHxMrz81nHwg/j0Dyv+ipzZNGsVRaxA+jQAbfmN3w+2ZYlb3UZfG87FTNEgLLI2CCpXjI3fgB3Y8lnpp0SpS2ybthpkMIiBkZ6n0zj1dCRCwx7MZGdn8hzu+7jyGH+z6gpiG18Edj+N0cXevfvNxxA8Se83BDW8dsnXJeACpnsvu0E2advjIyaUhuLFZJdZ3Cf3udpJDGSGVJxfN0w==

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

app_name = "Tautulli"

app_dir = makepath(programfiles, app_name)



def install():
    bin_name = glob.glob('*.exe')[0]
    app_path = makepath(app_dir, bin_name)
    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    filecopyto(bin_name, app_path)

    # Creating shortcuts
    create_desktop_shortcut(app_name, target=app_path)
    create_programs_menu_shortcut(app_name, target=app_path)


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    for uninstall in installed_softwares('Tautulli'):
        uninstall_string = uninstall.get("uninstall_string", "")
        print(f"Uninstalling Tautulli: {uninstall_string}")
        run(f"{uninstall_string} --uninstall --uninstall -s")
        wait_uninstallkey_absent(uninstall['key'],max_loop=600)
    if isdir(app_dir):
        remove_tree(app_dir)

    # Removing shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)

# -*- 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 = "Tautulli/Tautulli"
    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))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(".exe") :
            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('*.exe'):
        if f != filename:
            remove_file(f)
    
    control.set_software_version(version)
    control.save_control_to_wapt()

1aa1a7fc97120e67080c7e67a89c6718b7640a688ed4e19542fa134bb1cbcebb : Tautulli-windows-v2.14.6-x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bce5d6ba998460ef2104741cd9111da9c5d1fe6b23410d5a183854a502b14d51 : WAPT/control
f3aec76eb507b7494a9a6dbe6f9bb05c70025904d09632848de954d312049579 : WAPT/icon.png
fbc84196e00de405262024e03f100ec70472c0eaf54d2b8d4e0b2a6e3985afac : luti.json
9dac45fb5b4bf02234ffa79e2b72bca1ff06e7e2dfc510a9489d18529abb9269 : setup.py
64c8d02b856c90c95916c56054bdac2e24791c3434ce5043f05b459021974c28 : update_package.py