Merge pull request #193 from Alfa-beto/Fixes
pelisgratis+cambios post festividades
@@ -10,7 +10,7 @@
|
||||
<extension point="xbmc.addon.metadata">
|
||||
<summary lang="es">Navega con Kodi por páginas web.</summary>
|
||||
<assets>
|
||||
<icon>icon1.png</icon>
|
||||
<icon>icon.png</icon>
|
||||
<fanart>fanart.jpg</fanart>
|
||||
<screenshot>resources/media/themes/ss/1.jpg</screenshot>
|
||||
<screenshot>resources/media/themes/ss/2.jpg</screenshot>
|
||||
|
||||
@@ -136,18 +136,17 @@ def lista(item):
|
||||
itemlist = []
|
||||
data = get_source(item.url)
|
||||
patron = 'class=(?:MvTbImg|TPostMv).*?href=(.*?)\/(?:>| class).*?src=(.*?) class=attachment.*?'
|
||||
patron += '(?:strong|class=Title)>(.*?)<.*?(?:<td|class=Year)>(.*?)<.*?class=Qlty>(.*?)<.*?'
|
||||
patron += '(?:strong|class=Title)>(.*?)<.*?(?:<td|class=Year)>(.*?)<.*?'
|
||||
patron += '(?:<td|class=Description)>(.*?)<(?:\/td|\/p)>'
|
||||
|
||||
matches = re.compile(patron, re.DOTALL).findall(data)
|
||||
|
||||
for scrapedurl, scrapedthumbnail, scrapedtitle, scrapedyear, scrapedquality, scrapedplot in matches:
|
||||
for scrapedurl, scrapedthumbnail, scrapedtitle, scrapedyear, scrapedplot in matches:
|
||||
url = scrapedurl
|
||||
thumbnail = scrapedthumbnail
|
||||
plot = scrapedplot
|
||||
quality = scrapedquality
|
||||
quality = ''
|
||||
contentTitle = scrapedtitle
|
||||
title = contentTitle + ' (%s)' % quality
|
||||
title = contentTitle
|
||||
year = scrapedyear
|
||||
|
||||
itemlist.append(item.clone(action='findvideos',
|
||||
|
||||
@@ -98,7 +98,7 @@ class Main(xbmcgui.WindowXMLDialog):
|
||||
posy= 145
|
||||
space = 30
|
||||
|
||||
selected = 'selected.png'
|
||||
selected = 'selected0.png'
|
||||
width = 260
|
||||
height = 30
|
||||
textcolor = "0xffffd700"
|
||||
|
||||
|
Before Width: | Height: | Size: 177 KiB |
BIN
plugin.video.alfa/icon.png
Normal file
|
After Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 153 KiB |
@@ -142,7 +142,7 @@ def render_items(itemlist, parent_item):
|
||||
if item.fanart:
|
||||
fanart = item.fanart
|
||||
else:
|
||||
fanart = os.path.join(config.get_runtime_path(), "fanart-xmas.jpg")
|
||||
fanart = os.path.join(config.get_runtime_path(), "fanart.jpg")
|
||||
|
||||
# Creamos el listitem
|
||||
listitem = xbmcgui.ListItem(item.title)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<top>0</top>
|
||||
<width>260</width>
|
||||
<height>725</height>
|
||||
<texture border="2">side_menu/bg.png</texture>
|
||||
<texture border="2">side_menu/bg0.png</texture>
|
||||
</control>
|
||||
<control type="image">
|
||||
<left>25</left>
|
||||
|
||||
|
Before Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 351 B |
|
After Width: | Height: | Size: 375 B |