latest version

This commit is contained in:
2025-01-16 00:40:16 +01:00
parent 84a6d7ec93
commit bde83602d6
1241 changed files with 445 additions and 515 deletions
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+3 -3
View File
@@ -44,7 +44,7 @@ import time
from threading import Thread, Lock
from core import filetools, jsontools
from core import filetools, jsontools, httptools
from platformcode import logger, config
@@ -214,11 +214,11 @@ class Downloader(object):
self._state = self.states.stopped
self._download_lock = Lock()
self._headers = {"User-Agent": "Kodi/15.2 (Windows NT 10.0; WOW64) App_Bitness/32 Version/15.2-Git:20151019-02e7013"}
self._headers = httptools.default_headers #{"User-Agent": "Kodi/15.2 (Windows NT 10.0; WOW64) App_Bitness/32 Version/15.2-Git:20151019-02e7013"}
self._speed = 0
self._buffer = {}
self._seekable = True
self._threads = [Thread(target=self.__start_part__, name="Downloader %s/%s" % (x + 1, self._max_connections)) for x in range(self._max_connections)]
self._speed_thread = Thread(target=self.__speed_metter__, name="Speed Meter")
self._save_thread = Thread(target=self.__save_file__, name="File Writer")
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+5 -2
View File
@@ -31,6 +31,7 @@ channels_order = {'Rai 1': 1,
'Canale 5': 5,
'Italia 1': 6,
'La7': 7,
'TV8': 8,
'NOVE': 9,
'20': 20,
'Rai 4': 21,
@@ -38,6 +39,7 @@ channels_order = {'Rai 1': 1,
'Rai 5': 23,
'Rai Movie': 24,
'Rai Premium': 25,
'Cielo': 26,
'Paramount': 27,
'La7d': 29,
'La 5': 30,
@@ -57,6 +59,7 @@ channels_order = {'Rai 1': 1,
'Super': 46,
'Rai News 24': 48,
'Spike': 49,
'Sky TG24': 50,
'TGCom': 51,
'DMAX': 52,
'Rai Storia': 54,
@@ -1527,7 +1530,7 @@ def thumb(item_itemlist_string=None, genre=False, live=False):
return item_itemlist_string
icon_dict = {'movie':['film', 'movie', 'saghe'],
'tvshow':['serie','tv','episodi','episodio','fiction', 'show'],
'tvshow':['serie','tv','episodi','episodio','fiction', 'show', 'talent', 'reality'],
'documentary':['documentari','documentario', 'documentary', 'documentaristico'],
'teenager':['ragazzi','teenager', 'giovani', 'teen'],
'learning':['learning', 'school', 'scuola'],
@@ -1565,7 +1568,7 @@ def thumb(item_itemlist_string=None, genre=False, live=False):
'az':['lettera','lista','alfabetico','a-z', 'alphabetical'],
'year':['anno', 'anni', 'year'],
'update':['replay', 'update'],
'videolibrary':['teche'],
'videolibrary':['teche', 'archivio'],
'info':['info','information','informazioni'],
'star':['star', 'personaggi', 'interpreti', 'stars', 'characters', 'performers', 'staff', 'actors', 'attori'],
'winter':['inverno', 'winter'],
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File