Kodi Community Forum
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) (/showthread.php?tid=178693)



RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - AustinS - 2014-05-06

All -

Weird predicament. I'm trying to use the MCE plugin for my remote and I can't get it to map the the NetfliXBMC control utility. Hitting buttons do nothing on the remote. However, I know the mapping.. e.g., ctrl+p is pause and ctrl+shift+f is fast forward. How can I manually update these control utility settings without using the "utility"? I don't have a keyboard connected to the HTPC and have to do everything through my Mac over VNC. If I try a key combination it just updates 3 different options instead of one.


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - ResidentRetard - 2014-05-06

Edit the keyboard xml config file manually? (I don't recall the file's exact name, sorry)

*EDIT *

Sorry, MCERemote updates the registry, not the config file...


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - T0mat0 - 2014-05-07

I live outside the US so have to use a VPN to access Netflix. This works best when I connect before starting netflix and just disconnect after the movie started. Is there a way to achieve this automaticly? (I can enable/disable VPN by using the command line)


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - joeblack2k - 2014-05-07

(2014-05-07, 17:28)T0mat0 Wrote: I live outside the US so have to use a VPN to access Netflix. This works best when I connect before starting netflix and just disconnect after the movie started. Is there a way to achieve this automaticly? (I can enable/disable VPN by using the command line)

Dude welcome in 2014

AceVPN , OverPlay .. Google It Smile

SmartDNS is a wonderful new service which replicates many of the traditional VPN features, but without ANY loss of speed. It permits access to restricted websites in different Countries without even having to dial a VPN connection. You just browse as normal... but without the limits!


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - T0mat0 - 2014-05-08

SmartDNS might work, but my VPN works just fine (ExpressVPN). I already tried UnblockUS, but the Image Quality for Netflix dropped to the lowest value immediatly


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - ilomambo - 2014-05-08

The "TV Shows" shows an empty page with only "Next Page".

Also when browsing "Genres" and reached the (I assume) last page, pressing "Next Page" will repeat the last page. I would expect either a message saying there are no more items to show, or to loop back to page 1.

Also, in "Recently viewed" when selecting a TV show episode it plays the same episode again. I would expect either to open the TV show netflix page to choose another episode or to play the next episode after the watched one.

Otherwise excellent addon!


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - corner1509 - 2014-05-09

Hi

I've desperately been trying for some time now to get this add-on to work, but it just wont happen! And that really pisses me off cause i constantly read about how get this addon is. I've tried following the instructions from page 1 and this guide (http://serialexperiments.net/introducing-netflixbmc-an-xbmc-netflix-addon-for-linux/), but I'm not a 100% sure I've done it right, (May i suggest making a youtube step-by-step video)

I'm running Ubuntu 14.04, and my problem is when I open the addon to watch a show nothing shows up. It doesn't matter what category i open (i.e. TV shows, Genres or even Search) i can't see anything else but the return and next page option. I've tried waiting, thinking maybe it's a loading problem, but still nothing.

Screen dumb: https://www.dropbox.com/s/t6cex7n3xnohe1b/screenshot000.png

I then tried on my Windows PC and got a little further. Still nothing under TV Shows or Genres, but when i Search i get results, BUT i cant open the tv shows only movies.

Last but not least my router is setup with a Unblock-US DNS. I've read somewhere in this threat it doesn't matter, I just don't wanna leave anything out.

Please help, I so want this to work!

Regards


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - ricardosunnie - 2014-05-09

Hi Corner,

Did you make the changes suggested in post 608 of this list?


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - HTPCS - 2014-05-09

(2014-05-03, 18:29)urashimakt Wrote:
(2014-05-03, 15:26)ricardosunnie Wrote: That's not the case, I have only one Netflix profile and the problem is there. If this was the problem why would some list show up oke and others don't?

Because http://movies.netflix.com/WiHome requires a profile selection and the JSON extraction calls for latest and viewing history do not. I fiddled with the script to dump the "content" string it was receiving and found it to be the case. Cutting down to one profile predictably solved the problem. If you have only one profile and are still experiencing empty genres then you have an older problem that can be fixed by doing the following.

Open default.py and find the following under def listVideos:

Code:
...
            match1 = re.compile('<span id="dbs(.+?)_.+?alt=".+?" src="(.+?)"', re.DOTALL).findall(content)
            match2 = re.compile('<span class="title "><a id="b(.+?)_', re.DOTALL).findall(content)
...

Append this match3 below match1 and match2:

Code:
...
            match1 = re.compile('<span id="dbs(.+?)_.+?alt=".+?" src="(.+?)"', re.DOTALL).findall(content)
            match2 = re.compile('<span class="title "><a id="b(.+?)_', re.DOTALL).findall(content)
            match3 = re.compile('<img class="boxart" src="(.+?)" alt="(.+?)".+?/><a class="playHover" href=".+?WiPlayer\\?movieid=(.+?)&', re.DOTALL).findall(content)
...

Right below is an if/elif statement like so:

Code:
...
            if match1:
                for videoID, thumbUrl in match1:
                    listVideo(videoID, "", thumbUrl, False, False)
            elif match2:
                for videoID in match2:
                    listVideo(videoID, "", "", False, False)
...

Add the following elif to the end of it:

Code:
...
            if match1:
                for videoID, thumbUrl in match1:
                    listVideo(videoID, "", thumbUrl, False, False)
            elif match2:
                for videoID in match2:
                    listVideo(videoID, "", "", False, False)
            elif match3:
                for thumbUrl, vidTitle, videoID in match3:
                    listVideo(videoID, vidTitle, thumbUrl, False, False)
...

And that should correctly scrape a genre until Netflix decides to change their website again. It is still important to only have one Netflix profile (at least on Windows 7/Chrome) or these page requests will be answered with a "Who's watching now?" popup.


So i tried this script change, but get Script failed.

-------------------------------------------------------------------------------------------------------------------

Never mind. My issue was that i edited using Notepad ++. when i accessed the file again in simple notepad i noticed that the indent was a little off and aligned the code again and saved in basic notepad

Everything working now

Good Job on that fix


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - damonbrodie - 2014-05-10

(2014-05-08, 16:04)ilomambo Wrote: The "TV Shows" shows an empty page with only "Next Page".

Also when browsing "Genres" and reached the (I assume) last page, pressing "Next Page" will repeat the last page. I would expect either a message saying there are no more items to show, or to loop back to page 1.

Also, in "Recently viewed" when selecting a TV show episode it plays the same episode again. I would expect either to open the TV show netflix page to choose another episode or to play the next episode after the watched one.

Otherwise excellent addon!

I get this consistently. Some items work fine "Latest" HD only" for example work great. Others open immediately into an empty list. I've tried deleting cache and cookies but that doesn't fix it. I'm in Canada - could that affect things?

I'll start debugging this locally too.

I'm running xbmc on Windows 8.1


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - damonbrodie - 2014-05-10

I'm new to Netflix. From my quick research it appears that "My List" is empty if you have a "kid friendly profile", which I do. I dislike having entries in a list that will always be empty, and it is confusing for others in my family that want to use it.

I've created a patch:

in default.py add showMyList under viewIdActivity:
PHP Code:
viewIdActivity addon.getSetting("viewIdActivity")
showMyList addon.getSetting("showMyList"

and change def index() from:
PHP Code:
def index():
    if 
login():
        
addDir(translation(30002), urlMain+"/MyList?leid=595&link=seeall"'listVideos'""

to:

PHP Code:
def index():
    if 
login():
        if (
showMyList == "true"):
            
addDir(translation(30002), urlMain+"/MyList?leid=595&link=seeall"'listVideos'""

Add to settings.xml - showMyList below viewIdActivity:
PHP Code:
<setting id="viewIdActivity" type="number" label="30130" enable="eq(-3,true)" default="51"/>
        <
setting type="sep"/>
        <
setting label="30139" type="lsep"/>
        <
setting id="showMyList" type="bool" label="30138" default="true"/> 

and add this to strings.xml:
PHP Code:
<string id="30138">Display My List</string>
<
string id="30139">"My List" is empty for kid friendly profiles</string

While where here, fix the typos:
PHP Code:
<string id="30107">Windows: Use Control Utility</string>
<
string id="30116">Configure Control Utility</string

It seems to require a restart of xbmc to hide the My List (I'm new to video plugins) but otherwise seems to work. Hopefully this is a useful addition to this excellent addon!


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - damonbrodie - 2014-05-11

Hi there,

Another quick patch. HTML escaped characters are getting into the titles of videos: This is a quick fix:

in default.py change:
PHP Code:
listVideo(videoIDvidTitlethumbUrlFalseFalse
to:
PHP Code:
listVideo(videoIDvidTitle.replace('&amp#39;',"'"), thumbUrlFalseFalse

This is an incomplete fix - should probably get <>& etc as well. Apostrophes were what caught my eye the most though. I can code up a more complete patch to this if that is desirable.


Re: RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - fgarcor - 2014-05-11

(2014-05-09, 23:23)HTPCS Wrote:
(2014-05-03, 18:29)urashimakt Wrote:
(2014-05-03, 15:26)ricardosunnie Wrote: That's not the case, I have only one Netflix profile and the problem is there. If this was the problem why would some list show up oke and others don't?

Because http://movies.netflix.com/WiHome requires a profile selection and the JSON extraction calls for latest and viewing history do not. I fiddled with the script to dump the "content" string it was receiving and found it to be the case. Cutting down to one profile predictably solved the problem. If you have only one profile and are still experiencing empty genres then you have an older problem that can be fixed by doing the following.

Open default.py and find the following under def listVideos:

Code:
...
            match1 = re.compile('<span id="dbs(.+?)_.+?alt=".+?" src="(.+?)"', re.DOTALL).findall(content)
            match2 = re.compile('<span class="title "><a id="b(.+?)_', re.DOTALL).findall(content)
...

Append this match3 below match1 and match2:

Code:
...
            match1 = re.compile('<span id="dbs(.+?)_.+?alt=".+?" src="(.+?)"', re.DOTALL).findall(content)
            match2 = re.compile('<span class="title "><a id="b(.+?)_', re.DOTALL).findall(content)
            match3 = re.compile('<img class="boxart" src="(.+?)" alt="(.+?)".+?/><a class="playHover" href=".+?WiPlayer\\?movieid=(.+?)&', re.DOTALL).findall(content)
...

Right below is an if/elif statement like so:

Code:
...
            if match1:
                for videoID, thumbUrl in match1:
                    listVideo(videoID, "", thumbUrl, False, False)
            elif match2:
                for videoID in match2:
                    listVideo(videoID, "", "", False, False)
...

Add the following elif to the end of it:

Code:
...
            if match1:
                for videoID, thumbUrl in match1:
                    listVideo(videoID, "", thumbUrl, False, False)
            elif match2:
                for videoID in match2:
                    listVideo(videoID, "", "", False, False)
            elif match3:
                for thumbUrl, vidTitle, videoID in match3:
                    listVideo(videoID, vidTitle, thumbUrl, False, False)
...

And that should correctly scrape a genre until Netflix decides to change their website again. It is still important to only have one Netflix profile (at least on Windows 7/Chrome) or these page requests will be answered with a "Who's watching now?" popup.


So i tried this script change, but get Script failed.

-------------------------------------------------------------------------------------------------------------------

Never mind. My issue was that i edited using Notepad ++. when i accessed the file again in simple notepad i noticed that the indent was a little off and aligned the code again and saved in basic notepad

Everything working now

Good Job on that fix

Thanks HTPCS, that was exactly my issue, that notepad++ added the wrong alignment. Corrected and together with adding the source code you commented it works very well.

No problem with empty shows or anything else. I have to note I am in Windows 8.1 and I have just 1 account on Netflix.


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - jdw26 - 2014-05-12

All,

I love this plugin, everything is working great, but have a repeatable problem everytime I switch back the 2nd time from the Netflix chrome browser window to XBMC. Then XBMC seems to have shutdown or crashed.

You can find the log file in http://xbmclogs.com/show.php?id=200080

I start playing a netflix movie around 21:05:09.

The first time, Chrome browser starts up and the video starts playing. Then I close the browser/switch to XBMC via pressing the configured remote key "F10" (configured that via advanced settings). This brings back XBMC as expected.

Then I select a video again, Chrome starts up again and the video starts playing. This time pressing "F10" results in a quick flash on the screen and the Chrome browser window stays on top. At this time XBMC is already dead and gone.

Restarting XBMC does not work, I get the error message:

Error: Unable to create application. Exiting.

I have to restart my PC to get XBMC working again.

Note that I have Windows 7 64 bit and I am using the latest XBMC 13.

Hope somebody can help.

Cheers!


RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - rimorob - 2014-05-12

Hello! I have just installed XBMCBuntu 13 (Gotham) and NetfliXBMC on top of that. I've installed pipelight as well. When I start a netflix movie, the Chrome browser opens a window with two tabs (netflix is always in the second tab); I can't hear audio, and I can't even grab focus on that window (there's probably a keybinding that I don't know). Kiosk mode being on or off in the plugin configuration doesn't affect whether Chrome starts as a single visible window (kiosk mode). Any advice?