Merge pull request #193 from Alfa-beto/Fixes

pelisgratis+cambios post festividades
This commit is contained in:
Alfa
2018-01-16 08:17:05 -05:00
committed by GitHub
12 changed files with 8 additions and 9 deletions

View File

@@ -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>

View File

@@ -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',

View File

@@ -98,7 +98,7 @@ class Main(xbmcgui.WindowXMLDialog):
posy= 145
space = 30
selected = 'selected.png'
selected = 'selected0.png'
width = 260
height = 30
textcolor = "0xffffd700"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

BIN
plugin.video.alfa/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

View File

@@ -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)

View File

@@ -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>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B