[RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux)

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
AddonScriptorDE Offline
Skilled Python Coder
Posts: 707
Joined: May 2012
Reputation: 56
Location: Germany
Post: #1
Hi,
this is an add-on for browsing Netflix content via XBMC. Video playback is done via a WebBrowser because of Silverlight DRM.
It works under Windows, OSX and Linux. Linux users need to install Pipelight for video playback. Linux/Pipelight/UserAgent instructions...

Per default, video playback is done via Chrome Launcher. Anything related to Chrome should be asked there...

Windows:
I added a Control Utility for better usability. It hides the mouse cursor and focuses the Silverlight player, so you can control it via keyboard/remote.
Default Netflix Player controls and useful commands like closing the browser can be mapped to any key (via addon settings).
The cursor can also be controlled via keyboard/remote. Default keys.

OSX:
If you have cliclick installed, the mouse gets hidden and the silverlight player focused so you can control everything via remote/keyboard.
Close the browser via CMD+Q or map it to any remote key via an external tool.

Linux:
If you have xdotool installed, the mouse gets hidden and the silverlight player focused so you can control everything via remote/keyboard.
Close the browser via ALT+F4 or map it to any remote key via an external tool.

For now, i only added support for Chrome, Safari (OSX) and IExplorer (Win). Firefox has some problems with fullscreen on playback. Have not tested any others.
If you want integration for some other webbrowser, let me know.

General Netflix playback controls:
Seek: Left/Right
Volume +-: Up/Down
Pause/Play: Space or Enter

Add to library function:
You can add movies and tvshows (full shows & single seasons) to your library via context menu.
Add this source to your library: "Home folder"->userdata->addon_data->plugin.video.netflixbmc->library->Movies/TV

Profiles:
The addon supports Netflix profiles. If you only have one profile configured on netflix you should activate the appropriate setting.
Video listing and playback start is faster with Single-User accounts.

Metadata/thumbs:
It's not possible to request new api keys at the moment, so the addon needs to use the Netflix website.
I added requesting extra information. Of course it's a bit slower, but it's cached. This is also needed for some features.
Covers & fanart images can (optional) be received from themoviedb. The images are loaded in the background.

Notes:
- If you have problems with login and/or video listing and/or profile selection on first start, try to delete your cookies via Settings->Advanced and restart the addon.
- You may (sometimes) see a xbmc message on video playback, even though everything works fine.

Having problems? Getting a script error: Upload your debug log. Any other problem: Give me as much info as possible:
What exactly is not working? What have you done so far? What OS?

FAQ:
- Your repo is empty. What to do?
- Does this addon work on the RPi?
- Does this addon work under OpenElec?
- How do I setup the UserAgent under Linux?
- XBMCbuntu: Chrome does not start in fullscreen. What to do?
- Windows: Some mapped keys are not always working... Why?

Context menu entries:
- Switch profile (Main-menu)
- Play trailer
- Add to library
- Add / Remove to / from my list
- Continue watching / Show seasons (TV-Shows)

Main menu structure:
- My List
- Viewing Activity
- Latest
- HD only
- TV Shows
- Genres
- Documentaries
- Just for Kids
- Search

Settings (Account):
- eMail
- Password
- Single-User account (faster)
- Show profile selection on each start

Settings (General):
- Get covers & fanart images from themoviedb
- Update library after adding media
- Browse tv shows instead of autoplaying
- Hide movies in Viewing Activity
- Show all episodes in Viewing Activity

Settings (Views):
- Force View
- ViewID (Videos)
- ViewID (Episodes)
- ViewID (Viewing Activity)

Settings (Advanced):
- Delete cache
- Delete cookies
- Use Control Utility (Windows)
- Configure Control Utility
- Chrome: Don't use kiosk mode
- Win Browser
- OSX Browser


Install from my testing-repo!
Any feedback is welcome...

Have fun, Smile
asde

https://github.com/AddonScriptorDE
Categories | Chrome Launcher | Commands | SimplePlaylists | SubCentral | Video Screensavers | XBMC WebBrowser
BestOfYoutube | CBSnews | DailyMotion | Discovery Networks | EuroNews | IGN | LoveFilm | NetfliXBMC | RedBull | Reddit | TheOnion | TIME | VEVO TV | VICE | WIRED | YouTube Billboard/Channels
German Add-ons
(This post was last modified: 2014-01-05 03:39 by AddonScriptorDE.)
find quote
TerrorKeed Offline
Member
Posts: 73
Joined: Jan 2013
Reputation: 0
Location: Lancashire, UK
Post: #2
+1 Bro You are the best. I like the way all your threads are always detailed Smile Gracias Amigo!!
find quote
AddonScriptorDE Offline
Skilled Python Coder
Posts: 707
Joined: May 2012
Reputation: 56
Location: Germany
Post: #3
(2013-11-23 09:41)TerrorKeed Wrote:  +1 Bro You are the best. I like the way all your threads are always detailed Smile Gracias Amigo!!
Thanks! Big Grin
Specific addons need some info. More details = less questions Wink

https://github.com/AddonScriptorDE
Categories | Chrome Launcher | Commands | SimplePlaylists | SubCentral | Video Screensavers | XBMC WebBrowser
BestOfYoutube | CBSnews | DailyMotion | Discovery Networks | EuroNews | IGN | LoveFilm | NetfliXBMC | RedBull | Reddit | TheOnion | TIME | VEVO TV | VICE | WIRED | YouTube Billboard/Channels
German Add-ons
find quote
bzellinger Offline
Junior Member
Posts: 10
Joined: Jul 2013
Reputation: 0
Post: #4
Is there a way to go back to the previous screen? I have to use alt+f4 in order to leave the video. Thanks for the addon.
(This post was last modified: 2013-11-23 22:14 by bzellinger.)
find quote
creche Offline
Junior Member
Posts: 16
Joined: Oct 2013
Reputation: 0
Post: #5
On OSX 10.9, XBMC 12.3 it seems to have an issue finding a file called 'profile'. How do I create this file?

Code:
21:54:14 T:2967842816   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: (2, 'No such file or directory', '/Users/xbmc/Library/Application Support/XBMC/userdata/addon_data/plugin.video.netflixbmc/profile')
                                            Traceback (most recent call last):
                                              File "/Users/xbmc/Library/Application Support/XBMC/addons/plugin.video.netflixbmc/default.py", line 302, in <module>
                                                playVideo(url)
                                              File "/Users/xbmc/Library/Application Support/XBMC/addons/plugin.video.netflixbmc/default.py", line 154, in playVideo
                                                fh = open(profileFile, 'r')
                                            IOError: (2, 'No such file or directory', '/Users/xbmc/Library/Application Support/XBMC/userdata/addon_data/plugin.video.netflixbmc/profile')
                                            -->End of Python script error report<--
21:54:14 T:2690675112   ERROR: GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=playVideo&url=70177057
21:54:14 T:2690675112   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=playVideo&url=70177057) failed
find quote
AddonScriptorDE Offline
Skilled Python Coder
Posts: 707
Joined: May 2012
Reputation: 56
Location: Germany
Post: #6
v1.0.1:
- Removed XBMC WebBrowser integration
- Added Control Utility for Windows
v1.0.2:
- Small bugfix on profile management

I added a very useful Control Utility for Windows (with functions from the XBMC WebBrowser).
See updated first post for more...

(2013-11-23 22:06)bzellinger Wrote:  Is there a way to go back to the previous screen? I have to use alt+f4 in order to leave the video. Thanks for the addon.
Depends on the operating system and browser you are using. Under Linux/OSX you have to currently close Chrome via Ctrl+W or ALT+F4 (Linux) | Cmd+W or Cmd+Q (OSX).
But there are tools available to map keyboard keys to your remote. On Windows, you can now nicely do everything via remote.

(2013-11-24 05:00)creche Wrote:  On OSX 10.9, XBMC 12.3 it seems to have an issue finding a file called 'profile'. How do I create this file?
Should be fixed now with v1.0.1. Did you configured the addon and set the single profile option before launching it?

https://github.com/AddonScriptorDE
Categories | Chrome Launcher | Commands | SimplePlaylists | SubCentral | Video Screensavers | XBMC WebBrowser
BestOfYoutube | CBSnews | DailyMotion | Discovery Networks | EuroNews | IGN | LoveFilm | NetfliXBMC | RedBull | Reddit | TheOnion | TIME | VEVO TV | VICE | WIRED | YouTube Billboard/Channels
German Add-ons
(This post was last modified: 2013-11-24 16:14 by AddonScriptorDE.)
find quote
creche Offline
Junior Member
Posts: 16
Joined: Oct 2013
Reputation: 0
Post: #7
(2013-11-24 05:00)AddonScriptorDE Wrote:  Should be fixed now with v1.0.1. Did you configured the addon and set the single profile option before launching it?
Updating to 1.0.2 stopped that error playing. Chrome Launcher is having a issue, however. It fails to launch.

Edit: Working now. I guess Chrome can't open when using Chrome Launcher.
(This post was last modified: 2013-11-24 06:36 by creche.)
find quote
AddonScriptorDE Offline
Skilled Python Coder
Posts: 707
Joined: May 2012
Reputation: 56
Location: Germany
Post: #8
v1.0.3:
- Added category: Just for Kids
- Added season/episode listing for tv-shows
- Added setting to show profile selection on each start

https://github.com/AddonScriptorDE
Categories | Chrome Launcher | Commands | SimplePlaylists | SubCentral | Video Screensavers | XBMC WebBrowser
BestOfYoutube | CBSnews | DailyMotion | Discovery Networks | EuroNews | IGN | LoveFilm | NetfliXBMC | RedBull | Reddit | TheOnion | TIME | VEVO TV | VICE | WIRED | YouTube Billboard/Channels
German Add-ons
find quote
canuckinator Offline
Junior Member
Posts: 2
Joined: Nov 2013
Reputation: 0
Post: #9
Hi,

I am excited to try this, but when I add your repository in XBMC (Frodo) I don't see anything to add. I am running Kbuntu 12.4.

Cheers
find quote
AddonScriptorDE Offline
Skilled Python Coder
Posts: 707
Joined: May 2012
Reputation: 56
Location: Germany
Post: #10
(2013-11-26 04:45)canuckinator Wrote:  Hi,

I am excited to try this, but when I add your repository in XBMC (Frodo) I don't see anything to add. I am running Kbuntu 12.4.

Cheers
Try a "Force refresh" via the context menu (key 'c')...

https://github.com/AddonScriptorDE
Categories | Chrome Launcher | Commands | SimplePlaylists | SubCentral | Video Screensavers | XBMC WebBrowser
BestOfYoutube | CBSnews | DailyMotion | Discovery Networks | EuroNews | IGN | LoveFilm | NetfliXBMC | RedBull | Reddit | TheOnion | TIME | VEVO TV | VICE | WIRED | YouTube Billboard/Channels
German Add-ons
find quote
AddonScriptorDE Offline
Skilled Python Coder
Posts: 707
Joined: May 2012
Reputation: 56
Location: Germany
Post: #11
v1.0.4:
- Added "Add to library" function
- Added setting to browse tv shows instead of autoplaying
- Loading extra info is not optional anymore because adding to library and browsing tv-shows depend on it

https://github.com/AddonScriptorDE
Categories | Chrome Launcher | Commands | SimplePlaylists | SubCentral | Video Screensavers | XBMC WebBrowser
BestOfYoutube | CBSnews | DailyMotion | Discovery Networks | EuroNews | IGN | LoveFilm | NetfliXBMC | RedBull | Reddit | TheOnion | TIME | VEVO TV | VICE | WIRED | YouTube Billboard/Channels
German Add-ons
find quote
tigger86 Offline
Junior Member
Posts: 3
Joined: Nov 2013
Reputation: 0
Post: #12
this is awesome!!! Big Grin waiting for a working netflix addon a long time!
im using win7 64bit and xmbc 12.2 with your control tool and its working perfectly. pausing, seeking and closing the netflix app by remote is working fine.
controlling the mouse for language and sub selection is also cool because i need it sometimes. Smile

direct playback via xbmc would be even better but it sounds like it wont be possible in the near future.
i read something about html5. when its done this way, would it be possible to directly play the videos via xbmc instead of a browser?

thanks so much for your work!

(2013-11-23 09:26)AddonScriptorDE Wrote:  You may have problems on the first start with login and/or profile selection (empty "Who's watching?" dialog). Just try again.
Please give me some feedback for the different operating systems! Did it worked on the first time for you?
had no problems with it.
find quote
tigger86 Offline
Junior Member
Posts: 3
Joined: Nov 2013
Reputation: 0
Post: #13
(2013-11-27 01:09)AddonScriptorDE Wrote:  v1.0.4:
- Added "Add to library" function
- Added setting to browse tv shows instead of autoplaying
- Loading extra info is not optional anymore because adding to library and browsing tv-shows depend on it
just tested the new library feature and its working great! Smile
find quote
tigger86 Offline
Junior Member
Posts: 3
Joined: Nov 2013
Reputation: 0
Post: #14
when playing via the library a message appears: couldnt find next entry or something like that. but playback is working fine!
find quote
sting2010 Offline
Junior Member
Posts: 30
Joined: Sep 2010
Reputation: 0
Post: #15
excellent add-on - many thanks - can you add support for safari?
find quote
Post Reply