Un add-on di Kodi per guardare contenuti ospitati su PeerTube. Riprodurre video (compresi i video in diretta) Sfoglia i video su un'istanza Cercare i video su un'istanza Selezionare l'istanza di PeerTube da utilizzare https://peertube.uno
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
800 B

# -*- coding: utf-8 -*-
"""
Entry point of the add-on
Copyright (C) 2018 Cyrille Bollu
Copyright (C) 2021 Thomas Bétous
SPDX-License-Identifier: GPL-3.0-only
See LICENSE.txt for more information.
"""
import sys
from resources.lib.addon import PeerTubeAddon
from resources.lib.kodi_utils import kodi
def main(argv):
"""First function called by the add-on
This function is created to be able to test the code in this module easily.
"""
# Update the kodi object with the system arguments of this call
kodi.update_call_info(argv)
# Initialize the main class of the add-on
addon = PeerTubeAddon()
# Call the router function to execute the requested action
addon.router(kodi.get_run_parameters())
if __name__ == "__main__":
main(sys.argv)