2014-07-21, 05:04
(2014-07-20, 13:28)trizt Wrote: Not a perfect solution, but got some of the new episodes to play, around row 315 in your default.py, keep in mind first row isn't properly indented.
PHP Code:elif (newlink.find("videobug") > -1):
link=urllib.unquote_plus(GetContent(newlink))
link=''.join(link.splitlines()).replace('\'','"')
media_url= ""
media_url = re.compile('playlist:\s*\[\s*\{\s*url:\s*"(.+?)",').findall(link)
if(len(media_url)==0):
media_url = re.compile('{file:\s*"(.+?)"').findall(link)
if(len(media_url)==0):
media_url = re.compile('file:\s*"(.+?)"').findall(link)
if(len(media_url)==0):
media_url = re.compile('dll:\s*"(.+?)"').findall(link)
if(len(media_url)==0):
media_url = re.compile('link:\s*"([^"]+?//[^"]+?/[^"]+?)"').findall(link)
if("http://" in Geturl(media_url[0])):
media_url[0] = Geturl(media_url[0])
vidlink = urllib.unquote(media_url[0].replace(' ', '+'))
It's the two last if(len(...) sections that I have added, keep in mind to use space when indenting the code in your default.py or else it will not work as python is picky when it comes to indentation of code. Please do not see this as a permanent solution.
(2014-07-20, 23:06)trizt Wrote: This will most likely be updated when Dknight has time to do so.
For editing (for those who run xbmc as their regular user):
sed 's/azdrama.se/icdrama.se/' -i ~/.xbmc/addons/plugin.video.azdrama/resources/settings.xml
sed 's/azdrama.se/icdrama.se/' -i ~/.xbmc/addons/plugin.video.azdrama/default.py
For those with none unix like OS, you will need to use a regular text editor and search replace azdrama.se with icdrama.se
I made all these changes and able to get the "Video Quality" display but it just didn't accept my selection after hitting "Enter". Any clue?