reformated code
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
@@ -269,8 +269,8 @@ def episodios(item):
|
|||||||
fanart=item.thumbnail, contentType="episode"))
|
fanart=item.thumbnail, contentType="episode"))
|
||||||
|
|
||||||
if config.get_videolibrary_support() and len(itemlist) > 0:
|
if config.get_videolibrary_support() and len(itemlist) > 0:
|
||||||
itemlist.append(Item(channel=item.channel, title="Añadir esta serie a la videoteca", url=item.url,
|
itemlist.append(Item(channel=item.channel, title="Añadir esta serie a la videoteca",
|
||||||
action="add_serie_to_library", extra="episodios", show=item.title ))
|
action="add_serie_to_library", extra="episodios"))
|
||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
@@ -321,10 +321,8 @@ def findvideos(item):
|
|||||||
video_urls=video_urls))
|
video_urls=video_urls))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if e.startswith("https://cldup.com") and cldup == False:
|
if e.startswith("https://cldup.com") and not cldup:
|
||||||
itemlist.append(item.clone(title="Enlace encontrado en Cldup",
|
itemlist.append(item.clone(title="Enlace encontrado en Cldup", action="play", url=e))
|
||||||
action="play",
|
|
||||||
url = e))
|
|
||||||
cldup = True
|
cldup = True
|
||||||
aux_url.append(e)
|
aux_url.append(e)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user