2016-03-25, 09:52
Hi @learnngit, I was wondering if you have any thoughts on this?
(2016-03-25, 09:52)jmh2002 Wrote: Hi @learnngit, I was wondering if you have any thoughts on this?Sorry I missed your previous post. I seem to have missed a check of resolution setting on the GQ add-on. It may be a bit before I get around to putting in a fix for that because I want to do a general fix for setting speed on my add-ons. In the meantime:
def getAddonVideo(self,url):
url = uqp(url)
html = self.getRequest('http://video.gq.com/%s' % uqp(url)).replace('\\n','').replace('\\','')
url = re.compile('"contentURL" href="(.+?)"', re.DOTALL).search(html).group(1)
url = url.replace('low.mp4','high.mp4')
liz = xbmcgui.ListItem(path = url)
def getAddonVideo(self,url):
url = uqp(url)
html = self.getRequest('http://video.gq.com/%s' % uqp(url)).replace('\\n','').replace('\\','')
url = re.compile('"contentURL" href="(.+?)"', re.DOTALL).search(html).group(1)
# url = url.replace('low.mp4','high.mp4')
liz = xbmcgui.ListItem(path = url)
(2017-09-13, 15:56)jmh2002 Wrote: Hi @learnngit, looks like something has changed with the GQ site because things are messed up quite a bit.
I'm looking at the New videos, content still plays, but there are no Titles (only " src=) and limited videos per page.
Can you please take a look at it at some stage?
THANKS