[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2
(2015-07-02, 15:40)rjwilkins Wrote: I've been using XBMC/Kodi for a while now. I use this plugin a lot and I noticed that the 'My List' functionality no longer seems to work (it is always empty). Worse then that seems to be the fact that if you have added something to 'My List' it seems to be removed from other lists as viewed through the plugin (so if you add 'Daredevil' to 'My List' it no longer appears under any of the TV lists).

I have been using Python recently for work - so I thought I would try and fix the default.py code. I have added a new line of code which allows it to correctly parse the results from Netflix when it queries their servers. The change is contained below as the output from diff. Hopefully someone reading this can add the line to the currently maintained code - as I have no idea how to go about this?

Code:
*** default.py.orig    2015-07-02 14:20:51.259014589 +0100
--- default.py    2015-07-02 14:25:44.598187723 +0100
***************
*** 264,269 ****
--- 264,270 ----
              #if not match: match = re.compile('<a class="playHover" href=".+?WiPlayer\?movieid=(.+?)&', re.DOTALL).findall(content)
              if not match: match = re.compile('"boxart":".+?","titleId":(.+?),', re.DOTALL).findall(content)
              if not match: match = re.compile('WiPlayer\?movieid=([0-9]+?)&', re.DOTALL).findall(content)
+             if not match: match = re.compile('"boxarts":.*?"id":([0-9]+)', re.DOTALL).findall(content)
              i = 1
              for videoID in match:
                  pDialog.update(i*100/len(match), translation(30142)+"...")

Nice work, well done Big Grin
Reply


Messages In This Thread
Who's Watching is empty? - by RiverBend - 2015-01-08, 18:55
Full-screen mode - by oakertood - 2015-03-29, 01:08
RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - by im85288 - 2015-07-02, 23:05
25% - by Mattlock - 2015-07-06, 03:56
Additional/Original Browser Option? - by durv - 2015-09-07, 05:07
[RELEASE] NetfliXBMC - EMPTY LISTS - by Nibar - 2015-12-08, 03:38
Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 217