•   
  • 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 86
  •   
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)
Thanks for looking into this!

EDIT: Unfortunately still not working - have copied a snippet of the log from below showing a similar error message.

Code:
14:54:26 T:5412   DEBUG: Keyboard: scancode: 48, sym: 0111, unicode: 0000, modifier: 0
14:54:26 T:5412   DEBUG: CApplication::OnKey: up (f080) pressed, action is Up
14:54:26 T:9104    INFO: Scriptresult: Success
14:54:26 T:9104    INFO: Python script stopped
14:54:26 T:9104   DEBUG: Thread XBPyThread 9104 terminating
14:54:26 T:5412   DEBUG: waiting for python thread 50 (C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\download.py) to stop
14:54:26 T:5412   DEBUG: python thread 50 (C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\download.py) destructed
14:54:26 T:5412   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
14:54:26 T:5412   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
14:54:26 T:5412   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/?mode=playVideo&name=22%2f08%2f13%20-%20Hemlock%20Grove%3a%20Season%201%3a%20%22Birth%22&thumb=http%3a%2f%2fcdn6.nflximg.net%2fimages%2f2946%2f2222946.jpg&url=70259393)
14:54:26 T:5412   DEBUG:   ParentPath = [plugin://plugin.video.netflixbmc/?mode=listViewingActivity&thumb&url]
14:54:26 T:4504   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin NetfliXBMC('plugin://plugin.video.netflixbmc/','10','?mode=playVideo&name=22%2f08%2f13%20-%20Hemlock%20Grove%3a%20Season%201%3a%20%22Birth%22&thumb=http%3a%2f%2fcdn6.nflximg.net%2fimages%2f2946%2f2222946.jpg&url=70259393')
14:54:26 T:4504    INFO: initializing python engine.
14:54:26 T:4504   DEBUG: new python thread created. id=61
14:54:26 T:4504   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the NetfliXBMC (id=61) plugin...
14:54:26 T:1032  NOTICE: Thread XBPyThread start, auto delete: false
14:54:26 T:1032   DEBUG: Python thread: start processing
14:54:26 T:1032  NOTICE: -->Python Interpreter Initialized<--
14:54:26 T:1032   DEBUG: XBPyThread::Process - The source file to load is C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py
14:54:26 T:1032   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.t0mm0.common\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.myconnpy\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.urlresolver\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.metahandler\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
14:54:26 T:1032   DEBUG: XBPyThread::Process - Entering source directory C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc
14:54:26 T:1032   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.netflixbmc" dependent on version 2.1.0 of the xbmc.python api
14:54:26 T:5412   DEBUG: ------ Window Init (DialogBusy.xml) ------
14:54:26 T:1032   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.WindowsError'>
                                            Error Contents: [Error 193] %1 is not a valid Win32 application
                                            Traceback (most recent call last):
                                              File "C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 680, in <module>
                                                playVideo(url)
                                              File "C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 390, in playVideo
                                                subprocess.Popen(utilityPath, shell=False)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\subprocess.py", line 623, in __init__
                                                errread, errwrite)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\subprocess.py", line 833, in _execute_child
                                                startupinfo)
                                            WindowsError: [Error 193] %1 is not a valid Win32 application
                                            -->End of Python script error report<--
14:54:26 T:5412   DEBUG: XFILE::CPluginDirectory::RunScriptWithParams - calling plugin Chrome Launcher('plugin://plugin.program.chrome.launcher/','-1','?url=http%3A%2F%2Fmovies.netflix.com%2FWiPlayer%3Fmovieid%3D70259393&mode=showSite&kiosk=yes')
14:54:26 T:5412    INFO: initializing python engine.
14:54:26 T:5412   DEBUG: new python thread created. id=62
14:54:26 T:5412   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
14:54:26 T:100  NOTICE: Thread XBPyThread start, auto delete: false
Reply
Further update, I tested the NetfliXBMC_Utility.exe program and it's firing perfectly when I double click on it, hiding my cursor in the bottom corner of the screen. Just seems that the utility isn't being called properly by the plugin for some reason.
Reply
(2013-12-12, 16:39)mcs347 Wrote: EDIT: Unfortunately still not working - have copied a snippet of the log from below showing a similar error message.
Mmm. Because of the latest quick updates, are you sure that you are using v1.1.4?
Changing date of NetfliXBMC_Utitlity.exe should be a 15 minutes ago...

(2013-12-12, 17:01)mcs347 Wrote: Further update, I tested the NetfliXBMC_Utility.exe program and it's firing perfectly when I double click on it, hiding my cursor in the bottom corner of the screen. Just seems that the utility isn't being called properly by the plugin for some reason.
Maybe you just received the update. Please try the addon again...
Reply
Hey,

Updated to 1.1.4 (was testing on 1.1.3) and unfortunately still getting the same error - both when trying to access the utility manager and when trying to play an episode.

Here's the log snippet:

Code:
15:09:20 T:8300   DEBUG: Keyboard: scancode: 50, sym: 0112, unicode: 0000, modifier: 0
15:09:20 T:8300   DEBUG: CApplication::OnKey: down (f081) pressed, action is Down
15:09:20 T:8300   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
15:09:20 T:8300   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
15:09:20 T:8300   DEBUG: XFILE::CPluginDirectory::RunScriptWithParams - calling plugin NetfliXBMC('plugin://plugin.video.netflixbmc/','-1','?mode=configureUtility')
15:09:20 T:8300    INFO: initializing python engine.
15:09:20 T:8300   DEBUG: new python thread created. id=4
15:09:20 T:8252  NOTICE: Thread XBPyThread start, auto delete: false
15:09:20 T:8252   DEBUG: Python thread: start processing
15:09:20 T:8252  NOTICE: -->Python Interpreter Initialized<--
15:09:20 T:8252   DEBUG: XBPyThread::Process - The source file to load is C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py
15:09:20 T:8252   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.t0mm0.common\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.myconnpy\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.urlresolver\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\script.module.metahandler\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
15:09:20 T:8252   DEBUG: XBPyThread::Process - Entering source directory C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc
15:09:20 T:8252   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.netflixbmc" dependent on version 2.1.0 of the xbmc.python api
15:09:20 T:8252   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.WindowsError'>
                                            Error Contents: [Error 193] %1 is not a valid Win32 application
                                            Traceback (most recent call last):
                                              File "C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 697, in <module>
                                                configureUtility()
                                              File "C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 396, in configureUtility
                                                subprocess.Popen(utilityPath+" yes", shell=False)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\subprocess.py", line 623, in __init__
                                                errread, errwrite)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\subprocess.py", line 833, in _execute_child
                                                startupinfo)
                                            WindowsError: [Error 193] %1 is not a valid Win32 application
                                            -->End of Python script error report<--
15:09:20 T:8252    INFO: Python script stopped
15:09:20 T:8252   DEBUG: Thread XBPyThread 8252 terminating
15:09:20 T:8300   DEBUG: waiting for python thread 4 (C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py) to stop
15:09:20 T:8300   DEBUG: python thread 4 (C:\Users\Michael Smith\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py) destructed
15:09:20 T:8300   DEBUG: ------ Window Init (DialogKaiToast.xml) ------

Sorry for being a pain!

EDIT: Oh forgot to mention whether my system was x86 or x64. My version of Windows 8.1 pro is the 64bit version.
Reply
You sir, are a genius. Just updated to 1.1.5 and it's working perfectly.

Thank you!
Reply
v1.1.5:
- Fixed launching of NetfliXBMC_Utility.exe when path contains spaces

(2013-12-11, 05:59)jawilljr Wrote: ...Netflix played the movie "Christmas Vacation" right away.
Amusing - i also used it for manual testing when i started writing the addon.
Watched it all the time. Best christmas movie EVER... Big Grin

(2013-12-12, 17:13)mcs347 Wrote: Hey,

Updated to 1.1.4 (was testing on 1.1.3) and unfortunately still getting the same error - both when trying to access the utility manager and when trying to play an episode.
Okay, next try! Wink Probably the space (your name) in the path caused the error...

(2013-12-12, 17:13)mcs347 Wrote: Sorry for being a pain!
I'm happy you do some testing for me. I'm too lazy to test different systems, so i just wait for bug reports... Wink

(2013-12-12, 17:51)mcs347 Wrote: You sir, are a genius. Just updated to 1.1.5 and it's working perfectly.

Thank you!
Great! Big Grin
Reply
Mines working pretty well, now- figured out that I needed to press numpad 0 on a physical keyboard to quit, for some reason mapping the key on my remote wasn't effective (it would close, then open again?!).

Thanks for this addon and all the time you've spent helping people!
Reply
(2013-12-13, 07:14)HardRom Wrote: ...for some reason mapping the key on my remote wasn't effective (it would close, then open again?!).
Could you reproduce that? When pressing the button, the browser & ControlUtility itself gets closed. Strange how it's then being opened again...
You could try to map some other key to close the browser - i'm using the back button on my mce remote.
Reply
The new control options are great, thank you for implementing them. I think you are only missing 2 buttons:
1) Play and pause should be able to be assigned to different keys. I know they they use the same keyboard shortcuts, but I have different buttons on my remote and I'd like to be able to assign play and pause separately.
2) The only thing I see missing that could be useful is "Mute"

Other than that this addon works great
Reply
I started having issues with loading of the SilverLight plug-in in Chrome over the last few days.

When Chrome opens it displays the 'Failed to load SilverLight plug-in' message. I found this in xbmc.log:

07:34:35 T:140735181511008 ERROR: GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=playVideo&url=70187610
07:34:35 T:140735181511008 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=playVideo&url=70187610) failed
07:34:35 T:4477947904 NOTICE: Thread XBPyThread start, auto delete: false
07:34:35 T:4477947904 NOTICE: -->Python Interpreter Initialized<--
07:34:37 T:4532256768 NOTICE: Thread Background Loader start, auto delete: false

I've tried toggling kiosk mode as well as 'Use own user profile' in Chrome Launcher without success.

Everything works fine if I launch Chrome manually via OSX - so it appears to be related to NetfliXBMC or Chrome Launcher somehow.

Any ideas?
Reply
(2013-12-14, 07:52)jcass Wrote: I started having issues with loading of the SilverLight plug-in in Chrome over the last few days.

When Chrome opens it displays the 'Failed to load SilverLight plug-in' message. I found this in xbmc.log:

07:34:35 T:140735181511008 ERROR: GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=playVideo&url=70187610
07:34:35 T:140735181511008 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=playVideo&url=70187610) failed
07:34:35 T:4477947904 NOTICE: Thread XBPyThread start, auto delete: false
07:34:35 T:4477947904 NOTICE: -->Python Interpreter Initialized<--
07:34:37 T:4532256768 NOTICE: Thread Background Loader start, auto delete: false

I've tried toggling kiosk mode as well as 'Use own user profile' in Chrome Launcher without success.

Everything works fine if I launch Chrome manually via OSX - so it appears to be related to NetfliXBMC or Chrome Launcher somehow.

Any ideas?

My fix to this (OSX Mavericks, Froto 12.2 and Chrome) was to initially load up Netflix with Chrome through OSX and log into Netflix and use as normal web browsing viewing. After I went to http://whatsmyuseragent.com and replaced the result in bold in the default.py file in the "useragent" line (located in /Users/(Your OSX User Folder)/Library/Application Support/XBMC/addons/plugins.videos.netflixbmc).

This loads up Chrome perfectly and starts playing the videos. This also works in Kiosk mode.

Just have to find a way to map my Apple remote for play, pause, seek and stop controls and this becomes the best Netflix plugin for XBMC out there!!
Reply
(2013-12-15, 06:14)BrennanD Wrote:
(2013-12-14, 07:52)jcass Wrote: I started having issues with loading of the SilverLight plug-in in Chrome over the last few days.

When Chrome opens it displays the 'Failed to load SilverLight plug-in' message. I found this in xbmc.log:

07:34:35 T:140735181511008 ERROR: GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=playVideo&url=70187610
07:34:35 T:140735181511008 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=playVideo&url=70187610) failed
07:34:35 T:4477947904 NOTICE: Thread XBPyThread start, auto delete: false
07:34:35 T:4477947904 NOTICE: -->Python Interpreter Initialized<--
07:34:37 T:4532256768 NOTICE: Thread Background Loader start, auto delete: false

I've tried toggling kiosk mode as well as 'Use own user profile' in Chrome Launcher without success.

Everything works fine if I launch Chrome manually via OSX - so it appears to be related to NetfliXBMC or Chrome Launcher somehow.

Any ideas?

My fix to this (OSX Mavericks, Froto 12.2 and Chrome) was to initially load up Netflix with Chrome through OSX and log into Netflix and use as normal web browsing viewing. After I went to http://whatsmyuseragent.com and replaced the result in bold in the default.py file in the "useragent" line (located in /Users/(Your OSX User Folder)/Library/Application Support/XBMC/addons/plugins.videos.netflixbmc).

This loads up Chrome perfectly and starts playing the videos. This also works in Kiosk mode.

Just have to find a way to map my Apple remote for play, pause, seek and stop controls and this becomes the best Netflix plugin for XBMC out there!!

Thank you BrennandD, setting the user agent as per your suggestion makes the SilverLight plug-in load as expected!
Reply
I'm getting list index out of range error messages when accessing the 'My List' and 'Viewing Activity' menu options.

From the logs it appears that this happens when the default.py script fails to retrieve the year or duration for a given video in the user's Netflix list.

I managed to work around this by adding exception handling for year = match[0] and duration = match[0] statements in the listVideo method.

Is this perhaps something that can be patched in a future release of NetfliXBMC?
Reply
(2013-12-15, 06:14)BrennanD Wrote: Just have to find a way to map my Apple remote for play, pause, seek and stop controls and this becomes the best Netflix plugin for XBMC out there!!

Have you tried Rowmote? (http://regularrateandrhythm.com/apps/rowmote-pro/)

The standard Rowmote controls are non-functioning in Chrome. But you can gain easy access to the arrow and spacebar keys by using Rowmote's built-in keyboard with the 'fn' toggle enabled. This will show the up/down, left/right and other useful keys on an enlarged button interface which works quite well with Netflix in Chrome.
Reply
v1.1.6:
- Reverted UserAgent changes on OSX / Chrome
- Control Utitlity (Windows): Added some keymappings
- Fixed video listing for items with missing metadata

(2013-12-14, 02:36)Devo7v Wrote: The new control options are great, thank you for implementing them. I think you are only missing 2 buttons:
1) Play and pause should be able to be assigned to different keys. I know they they use the same keyboard shortcuts, but I have different buttons on my remote and I'd like to be able to assign play and pause separately.
2) The only thing I see missing that could be useful is "Mute"

Other than that this addon works great
Added.

(2013-12-14, 07:52)jcass Wrote: I started having issues with loading of the SilverLight plug-in in Chrome over the last few days.
(2013-12-15, 06:14)BrennanD Wrote: My fix to this (OSX Mavericks, Froto 12.2 and Chrome) was to initially load up Netflix with Chrome through OSX and log into Netflix and use as normal web browsing viewing. After I went to http://whatsmyuseragent.com and replaced the result in bold in the default.py file in the "useragent" line (located in /Users/(Your OSX User Folder)/Library/Application Support/XBMC/addons/plugins.videos.netflixbmc).
I also added the custom UserAgent to OSX/Chrome because of some reported problems without. But i got no further feedback from the user, so i now reverted the changes.
Is v1.1.6 now working again for you (without modifying the UA)? If not, i'll add a solution for using a custom UA, which is permanently stored in the addons userdata dir...

(2013-12-15, 08:18)jcass Wrote: I'm getting list index out of range error messages when accessing the 'My List' and 'Viewing Activity' menu options.

From the logs it appears that this happens when the default.py script fails to retrieve the year or duration for a given video in the user's Netflix list.

I managed to work around this by adding exception handling for year = match[0] and duration = match[0] statements in the listVideo method.

Is this perhaps something that can be patched in a future release of NetfliXBMC?
Fixed.
Reply
  •   
  • 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 86
  •   



Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)7
This forum uses Lukasz Tkacz MyBB addons.