From 428968a04e734054dc4eb2ed59cbd15307a95bdc Mon Sep 17 00:00:00 2001 From: mac12m99 <10120390+mac12m99@users.noreply.github.com> Date: Sat, 18 Sep 2021 18:59:00 +0200 Subject: [PATCH] KoD 1.7.1 --- .github/workflows/updateDomainsStable.yml | 32 + addon.xml | 8 +- channels/altadefinizioneclick.py | 3 +- channels/discoveryplus.py | 4 +- channels/filmpertutti.py | 2 +- channels/la7.py | 5 +- channels/mediasetplay.json | 21 +- channels/mediasetplay.py | 545 ++++++++-------- channels/mediasetplay.py.old | 369 +++++++++++ channels/raiplay.py | 580 +++++++----------- core/autoplay.py | 192 +----- core/servertools.py | 135 ++-- core/support.py | 65 +- core/tmdb.py | 6 + lib/unshortenit.py | 2 +- platformcode/autorenumber.py | 11 +- platformcode/backup.py | 22 +- platformcode/keymaptools.py | 13 +- platformcode/launcher.py | 26 +- platformcode/platformtools.py | 75 +-- platformcode/xbmc_videolibrary.py | 1 - .../resource.language.en_gb/strings.po | 4 +- .../resource.language.it_it/strings.po | 8 +- resources/settings.xml | 4 +- resources/skins/Default/720p/ShortCutMenu.xml | 93 +-- resources/skins/Default/media/dd.png | Bin 0 -> 2526 bytes resources/skins/Default/media/uu.png | Bin 0 -> 2487 bytes servers/evoload.json | 25 + servers/evoload.py | 48 ++ specials/community.py | 359 ++++++----- specials/filmontv.py | 1 + specials/news.py | 9 +- specials/search.py | 12 +- specials/setting.py | 54 +- specials/tvmoviedb.py | 1 + 35 files changed, 1563 insertions(+), 1172 deletions(-) create mode 100644 .github/workflows/updateDomainsStable.yml create mode 100644 channels/mediasetplay.py.old create mode 100644 resources/skins/Default/media/dd.png create mode 100644 resources/skins/Default/media/uu.png create mode 100644 servers/evoload.json create mode 100644 servers/evoload.py diff --git a/.github/workflows/updateDomainsStable.yml b/.github/workflows/updateDomainsStable.yml new file mode 100644 index 00000000..5ab4d44a --- /dev/null +++ b/.github/workflows/updateDomainsStable.yml @@ -0,0 +1,32 @@ +name: Update channel domains +on: + workflow_dispatch: + schedule: + - cron: '30 17 * * *' + +jobs: + update: + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + with: + ref: stable + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: 3.7 + + - name: Install dependencies + run: pip install requests + + - name: Update domains + run: python tools/updateDomains.py + + - name: Commit & Push changes + uses: actions-js/push@master + with: + message: "Aggiornamento domini" + branch: "stable" + github_token: ${{ secrets.API_TOKEN_GITHUB }} \ No newline at end of file diff --git a/addon.xml b/addon.xml index 78137397..dda75cf4 100644 --- a/addon.xml +++ b/addon.xml @@ -1,4 +1,4 @@ - + @@ -27,9 +27,9 @@ resources/media/screenshot-2.png resources/media/screenshot-3.png - - Aggiunto menu globale "opzioni di KoD" -- Aggiunto canale tapmovie e server annessi -- Notifica quando il tipo di vista viene salvata (con indicazione del tipo di contenuto) + - aggiunta opzione "vai a pagina" nel menu contestuale dell'item "successivo>" +- riscritti canali mediaset e raiplay +- migliorie varie, in particolare nell'ordinamento dei server Naviga velocemente sul web e guarda i contenuti presenti [COLOR red]The owners and submitters to this addon do not host or distribute any of the content displayed by these addons nor do they have any affiliation with the content providers.[/COLOR] diff --git a/channels/altadefinizioneclick.py b/channels/altadefinizioneclick.py index 6115f687..a0aaced3 100644 --- a/channels/altadefinizioneclick.py +++ b/channels/altadefinizioneclick.py @@ -138,6 +138,7 @@ def newest(categoria): def check(item): + item.contentType = 'tvshow' def get_season(pageData, seas_url, season): data = '' episodes = support.match(pageData if pageData else seas_url, patronBlock=patron_episode, patron=patron_option).matches @@ -155,7 +156,7 @@ def check(item): url = support.match(item, patron=r'