diff --git a/channels/filmigratis.json b/channels/filmigratis.json index b6f56db2..46290f5b 100644 --- a/channels/filmigratis.json +++ b/channels/filmigratis.json @@ -3,68 +3,34 @@ "name": "Filmi Gratis", "active": true, "adult": false, - "language": ["ita"], + "language": ["ita", "sub-ita"], "thumbnail": "filmigratis.png", "banner": "filmigratis.png", - "categories": ["movie","tvshow"], + "categories": ["movie","tvshow"], "settings": [ - { - "id": "include_in_global_search", - "type": "bool", - "label": "Includi ricerca globale", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "include_in_newest_peliculas", - "type": "bool", - "label": "Includi in Novità - Film", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "include_in_newest_series", - "type": "bool", - "label": "Includi in Novità - Serie TV", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "include_in_newest_italiano", - "type": "bool", - "label": "Includi in Novità - Italiano", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "checklinks", - "type": "bool", - "label": "Verifica se i link esistono", - "default": false, - "enabled": true, - "visible": true - }, - { - "id": "checklinks_number", - "type": "list", - "label": "Numero de link da verificare", - "default": 1, - "enabled": true, - "visible": "eq(-1,true)", - "lvalues": [ "1", "2", "5", "10" ] - }, - { - "id": "filter_languages", - "type": "list", - "label": "Mostra link in lingua...", - "default": 0, - "enabled": true, - "visible": true, - "lvalues": ["Non filtrare","IT"] - } + { + "id": "include_in_newest_peliculas", + "type": "bool", + "label": "@70727", + "default": false, + "enabled": false, + "visible": false + }, + { + "id": "include_in_newest_series", + "type": "bool", + "label": "@70727", + "default": false, + "enabled": false, + "visible": false + }, + { + "id": "include_in_newest_anime", + "type": "bool", + "label": "@70727", + "default": false, + "enabled": false, + "visible": false + } ] } diff --git a/channels/filmigratis.py b/channels/filmigratis.py index 53f3549e..a40c92aa 100644 --- a/channels/filmigratis.py +++ b/channels/filmigratis.py @@ -2,293 +2,156 @@ # ------------------------------------------------------------ # Canale per Filmi Gratis # ------------------------------------------------------------ +""" + La voce "Al cinema" si riferisce ai titoli che scorrono nella home page + + Problemi: + - Nessuno noto + + Novità, il canale, è presente in: + - FILM +""" import re -from core import scrapertools, servertools, httptools, tmdb, support +from core import servertools, httptools, support from core.item import Item -from platformcode import logger, config -from specials import autoplay +from platformcode import config __channel__ = 'filmigratis' host = config.get_channel_url(__channel__) -IDIOMAS = {'Italiano': 'IT'} -list_language = IDIOMAS.values() -list_servers = ['openload', 'streamango', 'vidoza', 'okru'] -list_quality = ['1080p', '720p', '480p', '360'] -checklinks = config.get_setting('checklinks', 'filmigratis') -checklinks_number = config.get_setting('checklinks_number', 'filmigratis') +list_servers = ['verystream', 'openload', 'streamango', 'vidoza', 'okru'] +list_quality = ['1080p', '720p', '480p', '360'] headers = [['Referer', host]] -#----------------------------------------------------------------------------------------------------------------------- + @support.menu def mainlist(item): film = [ - ('Al Cinema ', ['', 'carousel']), - ('Film alta definizione', ['', 'peliculas']), - ('Categorie', ['', 'categorias_film']), + ('Al Cinema ', ['', 'peliculas', 'cinema']), + ('Categorie', ['', 'genres', 'genres']), ] - tvshow = [ - ('Categorie', ['', 'categorias_serie']) + + tvshow = ['/serie/ALL', + ('Generi', ['', 'genres', 'genres']) ] + search = '' + return locals() + +@support.scrape +def peliculas(item): + support.log() + + if item.args == 'search': + action = '' + patron = r'