From 3fb9b068d91cbc9a003ffe38f7f997a0e8f0b3f8 Mon Sep 17 00:00:00 2001 From: mac12m99 Date: Sun, 30 Jun 2019 10:35:48 +0200 Subject: [PATCH] KoD 0.4 (#57) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix next page * testing new filmontv * Wstream quick fix, no resolution displayed :( * new filmontv * now regex is ok * fix .po files * +netlovers * working on filmontv * fix debriders * new updater * updater * fix crash * fix updater and re-add dev mode * new url eurostreaming * Delete netlovers.py * Delete netlovers.json * -net from menù * fix eurostreaming: numero stagione e newest (#50) * fix canale * fix newest * fix numero puntata * cleanup * cleanup 2 * fix updater crash on windows * Fix Animeworld * Nuovo Autorenumber * initial background downloader support * ops * Update channels.json * Update channels.json * fix openload * move json update to cohesist with updater * disable json url updates * fix typo * fix typo 2 * Add files via upload * Add files via upload * fix autoplay in community channels * fix toonitalia * Fix Toonitalia * workaround serietvsubita * Nuova Rinumerazione Automatica * Fix per Rinumerazione Automatica * workaround updater * Fix on air * ops * Personalizzazione sezione "Oggi in TV" * Aggiunto orario sezione Oggi in TV * aggiunto bit.ly (#56) * aggiunto bit.ly * Aggiunta personalizzazione homepage * Revert "initial background downloader support" This reverts commit f676ab0f * KoD 0.4 --- .directory | 6 - .gitignore | 2 + _config.yml | 1 - addon.xml | 2 +- channels.json | 10 +- channels/animeleggendari.json | 16 + channels/animeleggendari.py | 1 + channels/animesaturn.json | 16 + channels/animeworld.json | 18 +- channels/animeworld.py | 53 +-- channels/dreamsub.json | 16 + channels/dreamsub.py | 12 +- channels/eurostreaming.json | 2 +- channels/eurostreaming.py | 6 +- channels/filmigratis.py | 4 +- channels/mondolunatico2.py | 18 +- channels/serietvsubita.py | 40 +- channels/tantifilm.json | 18 +- channels/tantifilm.py | 3 +- channels/toonitalia.py | 26 +- channelselector.py | 49 ++- core/channeltools.py | 2 + core/downloadtools.py | 2 +- core/servertools.py | 5 + core/support.py | 3 +- custom_code.json | 3 - lib/githash.py | 167 ++++++++ platformcode/launcher.py | 7 +- platformcode/updater.py | 544 +++++++++++++------------- resources/language/English/strings.po | 40 +- resources/language/Italian/strings.po | 54 ++- resources/settings.xml | 15 +- servers/decrypters/zcrypt.py | 2 +- servers/openload.json | 2 +- servers/openload.py | 21 +- servers/wstream.json | 6 +- servers/wstream.py | 11 +- specials/autoplay.py | 5 +- specials/autorenumber.py | 368 ++++++++++++----- specials/community.py | 37 +- specials/filmontv.json | 83 +++- specials/filmontv.py | 231 +++++++---- specials/search.py | 2 - specials/setting.py | 11 +- specials/trailertools.py | 6 +- version.json | 9 - videolibrary_service.py | 49 ++- 47 files changed, 1340 insertions(+), 664 deletions(-) delete mode 100644 .directory delete mode 100644 _config.yml delete mode 100644 custom_code.json create mode 100644 lib/githash.py delete mode 100644 version.json diff --git a/.directory b/.directory deleted file mode 100644 index aa59dff2..00000000 --- a/.directory +++ /dev/null @@ -1,6 +0,0 @@ -[Dolphin] -Timestamp=2019,4,23,18,58,8 -Version=4 - -[Settings] -HiddenFilesShown=true diff --git a/.gitignore b/.gitignore index d9aeb552..0b3ccf09 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,6 @@ .DS_Store .idea/ .directory +custom_code.json +last_commit.txt __pycache__/ diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 18854876..00000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-midnight \ No newline at end of file diff --git a/addon.xml b/addon.xml index d5c417b8..338ddb6a 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/channels.json b/channels.json index 5572180b..10565ac7 100644 --- a/channels.json +++ b/channels.json @@ -16,18 +16,18 @@ "casacinema": "https://www.casacinema.site", "casacinemainfo": "https://www.casacinema.info", "cb01anime": "http://www.cineblog01.ink", - "cinemalibero": "https://cinemalibero.icu", + "cinemalibero": "https://cinemalibero.best", "cinemastreaming": "https://cinemastreaming.icu", "documentaristreamingda": "https://documentari-streaming-da.com", "dreamsub": "https://www.dreamsub.stream", - "eurostreaming": "https://eurostreaming.gratis", + "eurostreaming": "https://eurostreaming.pink", "eurostreaming_video": "https://www.eurostreaming.best", "fastsubita": "http://fastsubita.com", "ffilms":"https://ffilms.org", "filmigratis": "https://filmigratis.net", "filmgratis": "https://www.filmaltadefinizione.net", "filmontv": "https://www.comingsoon.it", - "filmpertutti": "https://www.filmpertutti.tube", + "filmpertutti": "https://www.filmpertutti.media", "filmsenzalimiti": "https://filmsenzalimiti.best", "filmsenzalimiticc": "https://www.filmsenzalimiti.host", "filmsenzalimiti_blue": "https://filmsenzalimiti.best", @@ -51,8 +51,8 @@ "mondolunatico": "http://mondolunatico.org", "mondolunatico2": "http://mondolunatico.org/stream/", "mondoserietv": "https://mondoserietv.com", - "piratestreaming": "https://www.piratestreaming.watch", - "seriehd": "https://www.seriehd.info", + "piratestreaming": "https://www.piratestreaming.media", + "seriehd": "https://www.seriehd.pink", "serietvonline": "https://serietvonline.xyz", "serietvsubita": "http://serietvsubita.xyz", "serietvu": "https://www.serietvu.club", diff --git a/channels/animeleggendari.json b/channels/animeleggendari.json index ac5a6b52..6371a381 100644 --- a/channels/animeleggendari.json +++ b/channels/animeleggendari.json @@ -57,6 +57,22 @@ "enabled": true, "visible": true, "lvalues": ["Non filtrare", "IT"] + }, + { + "id": "autorenumber", + "type": "bool", + "label": "@70712", + "default": false, + "enabled": true, + "visible": true + }, + { + "id": "autorenumber_mode", + "type": "bool", + "label": "@70688", + "default": false, + "enabled": true, + "visible": "eq(-1,true)" } ] } diff --git a/channels/animeleggendari.py b/channels/animeleggendari.py index dfc9371e..d5f4fe24 100644 --- a/channels/animeleggendari.py +++ b/channels/animeleggendari.py @@ -38,6 +38,7 @@ def mainlist(item): autoplay.init(item.channel, list_servers, list_quality) autoplay.show_option(item.channel, itemlist) + support.channel_config(item, itemlist) return itemlist diff --git a/channels/animesaturn.json b/channels/animesaturn.json index 3bd40f70..d07baf12 100644 --- a/channels/animesaturn.json +++ b/channels/animesaturn.json @@ -65,6 +65,22 @@ "enabled": true, "visible": true, "lvalues": ["Non filtrare","IT"] + }, + { + "id": "autorenumber", + "type": "bool", + "label": "@70712", + "default": false, + "enabled": true, + "visible": true + }, + { + "id": "autorenumber_mode", + "type": "bool", + "label": "@70688", + "default": false, + "enabled": true, + "visible": "eq(-1,true)" } ] } diff --git a/channels/animeworld.json b/channels/animeworld.json index 9ebf73f3..ac5f61d1 100644 --- a/channels/animeworld.json +++ b/channels/animeworld.json @@ -65,6 +65,22 @@ "enabled": true, "visible": true, "lvalues": ["No filtrar","Italiano"] - } + }, + { + "id": "autorenumber", + "type": "bool", + "label": "@70712", + "default": false, + "enabled": true, + "visible": true + }, + { + "id": "autorenumber_mode", + "type": "bool", + "label": "@70688", + "default": false, + "enabled": true, + "visible": "eq(-1,true)" + } ] } diff --git a/channels/animeworld.py b/channels/animeworld.py index 671ede36..5b0ac071 100644 --- a/channels/animeworld.py +++ b/channels/animeworld.py @@ -172,7 +172,7 @@ def video(item): log() itemlist = [] - matches, data = support.match(item, r']+>(.*?)<\/a>', headers=headers) + matches, data = support.match(item, r']+>(.*?)<\/a>', '
(.*?)