From 0fc75a5305ac61396c3971659c4dc2a25def07af Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 16 Jan 2018 09:19:58 -0300 Subject: [PATCH] pelisgratis+cambios post festividades --- plugin.video.alfa/channels/pelisgratis.py | 9 ++++----- plugin.video.alfa/channels/side_menu.py | 2 +- .../resources/skins/Default/720p/side_menu.xml | 2 +- .../skins/Default/media/side_menu/bg0.png | Bin 0 -> 2471 bytes .../skins/Default/media/side_menu/selected0.png | Bin 0 -> 375 bytes 5 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 plugin.video.alfa/resources/skins/Default/media/side_menu/bg0.png create mode 100644 plugin.video.alfa/resources/skins/Default/media/side_menu/selected0.png diff --git a/plugin.video.alfa/channels/pelisgratis.py b/plugin.video.alfa/channels/pelisgratis.py index 1b348dc9..4426a861 100755 --- a/plugin.video.alfa/channels/pelisgratis.py +++ b/plugin.video.alfa/channels/pelisgratis.py @@ -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)>(.*?)<.*?(?:(.*?)<.*?class=Qlty>(.*?)<.*?' + patron += '(?:strong|class=Title)>(.*?)<.*?(?:(.*?)<.*?' patron += '(?:(.*?)<(?:\/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', diff --git a/plugin.video.alfa/channels/side_menu.py b/plugin.video.alfa/channels/side_menu.py index cdba529e..f748416a 100644 --- a/plugin.video.alfa/channels/side_menu.py +++ b/plugin.video.alfa/channels/side_menu.py @@ -98,7 +98,7 @@ class Main(xbmcgui.WindowXMLDialog): posy= 145 space = 30 - selected = 'selected.png' + selected = 'selected0.png' width = 260 height = 30 textcolor = "0xffffd700" diff --git a/plugin.video.alfa/resources/skins/Default/720p/side_menu.xml b/plugin.video.alfa/resources/skins/Default/720p/side_menu.xml index 3b3803f5..f3e5a4a8 100644 --- a/plugin.video.alfa/resources/skins/Default/720p/side_menu.xml +++ b/plugin.video.alfa/resources/skins/Default/720p/side_menu.xml @@ -14,7 +14,7 @@ 0 260 725 - side_menu/bg.png + side_menu/bg0.png 25 diff --git a/plugin.video.alfa/resources/skins/Default/media/side_menu/bg0.png b/plugin.video.alfa/resources/skins/Default/media/side_menu/bg0.png new file mode 100644 index 0000000000000000000000000000000000000000..04a0d87a355ee4254966b23f176262fa6ecee52c GIT binary patch literal 2471 zcmeAS@N?(olHy`uVBq!ia0vp^-xwH}esiz^S?7c+?12YeUM*S97@L#QfcU>0Cv9 z^&R#JM(01@`OB7InCN^#CizVr^M)DSypD(37Ff3MT7Lc_EnVbO$YFF;@q|dbLa zhU>0>|GNFR;DM;e7Jc*Y_A^|wDz|5d@Q1ktGuk+AmTPn((vyoSpxz`pwY z_{UwKs4mE9zz{{U4B7Le!k7tSG)zXr1f_%+O%S6AVl+XZ)_54z=zwREFZ>%Uukfa2 TcRvRt literal 0 HcmV?d00001 diff --git a/plugin.video.alfa/resources/skins/Default/media/side_menu/selected0.png b/plugin.video.alfa/resources/skins/Default/media/side_menu/selected0.png new file mode 100644 index 0000000000000000000000000000000000000000..d181b63a89daae3b2249f5319b51735acbcff6f3 GIT binary patch literal 375 zcmeAS@N?(olHy`uVBq!ia0vp^F+eQO!3HF=lvm9HQY^(zo*^7SP{WbZ0pxQQctjQh z)&B=!#xGr)I)Q?cC9V-A!TD(=<%vb94CUqJdYO6I#mR{Use1WE>9gP2NC6dn@pN$v z$!L6g;dEiMfrRTr=8Y3Jczg4{)c6|pr|p5xk|R>$1>xUkCw@sQT(;hSUvbkO2hRy& z8j_#bpIkZ?q@Wt{d+wesrJn1pcka3OoF%n!PTCCPGv+hGX8hk5Ex+C%_I8Ejx8MpUXO@geCwY C(~j@} literal 0 HcmV?d00001