inizio fix streamingaltadefinizione e modifiche varie
This commit is contained in:
@@ -1,19 +1,11 @@
|
||||
{
|
||||
"id": "streamingaltadefinizione",
|
||||
"name": "Streaming Altadefinizione",
|
||||
"name": "Popcorn Stream",
|
||||
"language": ["ita"],
|
||||
"active": true,
|
||||
"adult": false,
|
||||
"thumbnail": "https://www.streamingaltadefinizione.world/wp-content/uploads/2018/09/StreamingAltadefinizioneLogo.png",
|
||||
"thumbnail": "https://www.popcornstream.best/wp-content/uploads/2019/09/PopLogo40.png",
|
||||
"banner": "https://www.popcornstream.info/media/PopcornStream820x428.png",
|
||||
"categories": ["movie","tvshow","anime"],
|
||||
"settings": [
|
||||
{
|
||||
"id": "include_in_global_search",
|
||||
"type": "bool",
|
||||
"label": "Includi in Ricerca Globale",
|
||||
"default": true,
|
||||
"enabled": true,
|
||||
"visible": true
|
||||
}
|
||||
]
|
||||
"settings": []
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
from core import support
|
||||
from core.item import Item
|
||||
from specials import autoplay
|
||||
from platformcode import config
|
||||
|
||||
__channel__ = "streamingaltadefinizione"
|
||||
@@ -49,7 +48,8 @@ def generos(item):
|
||||
|
||||
|
||||
def peliculas(item):
|
||||
return support.dooplay_films(item)
|
||||
support.dbg()
|
||||
return support.dooplay_peliculas(item, True if "/genere/anime/" in item.url else False)
|
||||
|
||||
|
||||
def episodios(item):
|
||||
@@ -59,20 +59,16 @@ def episodios(item):
|
||||
def findvideos(item):
|
||||
itemlist = []
|
||||
for link in support.dooplay_get_links(item, host):
|
||||
server = link['server'][:link['server'].find(".")]
|
||||
itemlist.append(
|
||||
Item(channel=item.channel,
|
||||
action="play",
|
||||
title=server + " [COLOR blue][" + link['title'] + "][/COLOR]",
|
||||
url=link['url'],
|
||||
server=server,
|
||||
fulltitle=item.fulltitle,
|
||||
thumbnail=item.thumbnail,
|
||||
show=item.show,
|
||||
quality=link['title'],
|
||||
contentType=item.contentType,
|
||||
folder=False))
|
||||
if link['title'] != 'Guarda il trailer':
|
||||
itemlist.append(
|
||||
Item(channel=item.channel,
|
||||
action="play",
|
||||
url=link['url'],
|
||||
fulltitle=item.fulltitle,
|
||||
thumbnail=item.thumbnail,
|
||||
show=item.show,
|
||||
quality=link['title'],
|
||||
contentType=item.contentType,
|
||||
folder=False))
|
||||
|
||||
autoplay.start(itemlist, item)
|
||||
|
||||
return itemlist
|
||||
return support.server(item, itemlist=itemlist)
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ def search(item, text):
|
||||
|
||||
|
||||
def peliculas(item):
|
||||
return support.dooplay_films(item, blacklist)
|
||||
return support.dooplay_peliculas(item, blacklist)
|
||||
|
||||
|
||||
def findvideos(item):
|
||||
|
||||
Reference in New Issue
Block a user