Kodi Community Forum
[RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - 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] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC (/showthread.php?tid=87552)



no thumbnails plus no external players - douggoodwin - 2010-12-27

everything is working except i cant get thumbnails to display. Is there a settig in xbmc that i need to enable?
Also (unrelatted to plugin) other external players are not working since upgrading to dharma 10 yesterday

Heres what I have for playercorefactory and advancesettings


playercore:

<playercorefactory>
<players>
<player name="IE" type="ExternalPlayer">
<filename>C:\Program Files (x86)\Internet Explorer\iexplore.exe</filename>
<args>-k "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\K-Lite Codec Pack\Media Player Classic\mpc-hc.exe</filename>
<args>/fullscreen /close "{1}"</args>
<args>"{1}" /fullscreen /close</args>
<forceontop>true</forceontop>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="TMTPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 3\uDigital Theatre.exe</filename>
<args>"{1}" /fullscreen /close</args>
<forceontop>true</forceontop>
<hidexbmc>false</hidexbmc>
<hidecursor>false</hidecursor>
</player>
</players>
<rules action="prepend">
<rule name="html" filetypes="html" player="IE" />
<rule filetypes="m2ts|ts|mkv" player="MPC-HC" />
</rules>
<rules name="system rules">
<rule name="rtv" protocols="rtv" player="DVDPlayer" />
<rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" player="DVDPlayer" />
<rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />
<rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)" player="PAPlayer" />
<rule name="streams" internetstream="true">
<rule name="flv/aacp/sdp" mimetypes="video/x-flv|video-flv|audio/aacp|application/sdp" player="DVDPlayer" />
<rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
</rule>
<rule name="dvd" dvd="true" player="videodefaultdvdplayer" />
<rule name="dvdfile" dvdfile="true" player="videodefaultdvdplayer" />
<rule name="dvdimage" dvdimage="true" player="videodefaultdvdplayer" />
<rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />
<rule name="m2ts" filetypes="m2ts" player="TMTPlayer" />
<rule name="mkv" filetypes="mkv" player="dvdplayer (default)" />
</rules>
</playercorefactory>




advancesettings:
<advancedsettings>
<useddsfanart>true</useddsfanart>
<videoextensions>
<add>.html</add>
</videoextensions>
<video>
<defaultplayer>externalplayer</defaultplayer>
</video>
<externalplayer>
<filename>C:\Program Files (x86)\K-Lite Codec Pack\Media Player Classic\mpc-hc.exe</filename>
<args></args>
<forceontop>true</forceontop>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
</externalplayer>
</advancedsettings>


script errors - mgwofford - 2010-12-27

Hey Guys,

I am also having script error and IE is not launching, but I am fairly certain that the playercorefactory and advancedsettings are in the right place.

Here is the log file.

12:39:58 T:4324 M:1982377984 NOTICE: -----------------------------------------------------------------------
12:39:58 T:4324 M:1982357504 NOTICE: Starting XBMC, Platform: Windows Vista, 32-bit Service Pack 1 build 6001. Built on Dec 17 2010 (SVN:35647, compiler 1500)
12:39:58 T:4324 M:1982357504 NOTICE: AMD Athlon™ Dual Core Processor 4050e
12:39:58 T:4324 M:1982357504 NOTICE: Desktop Resolution: 1280x720 32Bit at 60Hz
12:39:58 T:4324 M:1982357504 NOTICE: Running with restricted rights
12:39:58 T:4324 M:1982357504 NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
12:39:58 T:4324 M:1982357504 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files\XBMC
12:39:58 T:4324 M:1982357504 NOTICE: special://masterprofile/ is mapped to: C:\Users\mark\AppData\Roaming\XBMC\userdata
12:39:58 T:4324 M:1982357504 NOTICE: special://home/ is mapped to: C:\Users\mark\AppData\Roaming\XBMC
12:39:58 T:4324 M:1982357504 NOTICE: special://temp/ is mapped to: C:\Users\mark\AppData\Roaming\XBMC\cache
12:39:58 T:4324 M:1982357504 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
12:39:58 T:4324 M:1982357504 NOTICE: Log File is located: C:\Users\mark\AppData\Roaming\XBMC\xbmc.log
12:39:58 T:4324 M:1982357504 NOTICE: -----------------------------------------------------------------------
12:39:58 T:4324 M:1982349312 NOTICE: Setup SDL
12:39:58 T:4324 M:1982001152 NOTICE: Found screen: Generic PnP Monitor on ATI Radeon HD 3200 Graphics, adapter 0.

deleted some lines here about display adaptor

12:39:58 T:4324 M:1981841408 NOTICE: Additional mode: 1920x1080 @ 60.00 - Full Screen
12:39:58 T:4324 M:1981968384 NOTICE: load settings...
12:39:58 T:4324 M:1981853696 NOTICE: special://profile/ is mapped to: special://masterprofile/
12:39:58 T:4324 M:1981841408 NOTICE: loading special://masterprofile/guisettings.xml
12:39:58 T:4324 M:1981620224 NOTICE: Getting hardware information now...
12:39:58 T:4324 M:1981620224 NOTICE: Checking resolution 12
12:39:58 T:4324 M:1981607936 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
12:39:58 T:4324 M:1981599744 NOTICE: Loaded playercorefactory configuration
12:39:58 T:4324 M:1981587456 NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
12:39:58 T:4324 M:1981571072 NOTICE: Loaded playercorefactory configuration
12:39:58 T:4324 M:1981562880 NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
12:39:58 T:4324 M:1981562880 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<videoextensions>
<add>.html</add>
</videoextensions>
</advancedsettings>
12:39:58 T:4324 M:1981554688 NOTICE: Getting hardware information now...
12:39:58 T:4324 M:1981554688 NOTICE: Checking resolution 12
12:39:58 T:4324 M:1981554688 NOTICE: Default DVD Player: dvdplayer
12:39:58 T:4324 M:1981554688 NOTICE: Default Video Player: dvdplayer
12:39:58 T:4324 M:1981554688 NOTICE: Default Audio Player: paplayer
12:39:58 T:4324 M:1981554688 NOTICE: Loading media sources from special://masterprofile/sources.xml
12:39:59 T:4324 M:1961443328 NOTICE: initializing playlistplayer
12:39:59 T:4324 M:1961385984 NOTICE: DONE initializing playlistplayer
12:39:59 T:4324 M:1952178176 NOTICE: initialize done
12:39:59 T:4324 M:1952178176 NOTICE: Running the application...
12:39:59 T:4324 M:1952165888 NOTICE: Webserver: Starting...
12:39:59 T:4324 M:1951801344 NOTICE: WebServer: Started the webserver
12:39:59 T:4324 M:1951789056 NOTICE: starting upnp server
12:39:59 T:4324 M:1951240192 NOTICE: starting upnp renderer
12:39:59 T:4324 M:1950687232 NOTICE: ES: Starting event server
12:39:59 T:4680 M:1950646272 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
12:39:59 T:4680 M:1950584832 NOTICE: UDP: Listening on port 9777
12:40:08 T:4324 M:1934553088 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 0
12:40:10 T:4696 M:1933139968 NOTICE: -->Python Interpreter Initialized<--
12:40:10 T:4696 M:1929277440 NOTICE: ##########################################################
12:40:10 T:4696 M:1929277440 NOTICE: Mode: 0
12:40:10 T:4696 M:1929277440 NOTICE: Arg1: 0
12:40:10 T:4696 M:1929277440 NOTICE: Arg2:
12:40:10 T:4696 M:1929277440 NOTICE: ##########################################################
12:40:10 T:4324 M:1929269248 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
12:40:12 T:5748 M:1930252288 NOTICE: -->Python Interpreter Initialized<--
12:40:12 T:5748 M:1929584640 NOTICE: ##########################################################
12:40:12 T:5748 M:1929584640 NOTICE: Mode: 10
12:40:12 T:5748 M:1929584640 NOTICE: Arg1: 0
12:40:12 T:5748 M:1929584640 NOTICE: Arg2: ?mode=10
12:40:12 T:5748 M:1929584640 NOTICE: ##########################################################
12:40:12 T:5748 M:1929568256 NOTICE: root folder: special://home/addons/plugin.video.xbmcflicks/
12:40:12 T:5748 M:1929568256 NOTICE: working folder: special://profile/addon_data/plugin.video.xbmcflicks/
12:40:12 T:5748 M:1929568256 NOTICE: real link path: C:\Users\mark\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\links\
12:40:12 T:5748 M:1929568256 NOTICE: image folder: special://home/addons/plugin.video.xbmcflicks/resources/
12:40:12 T:5748 M:1929568256 NOTICE: userinfo folder: special://profile/addon_data/plugin.video.xbmcflicks/
12:40:12 T:5748 M:1929555968 NOTICE: USER INFO FILE LOC: special://profile/addon_data/plugin.video.xbmcflicks/userinfo.txt
12:40:12 T:5748 M:1929551872 NOTICE: couldn't load user information from userinfo.properties file
12:40:12 T:5748 M:1929551872 NOTICE: .. getAuth called ..
12:40:12 T:5748 M:1929551872 NOTICE: OSX Setting is set to: False
12:40:12 T:5748 M:1929551872 NOTICE: .. user configured ..
12:40:13 T:5748 M:1929146368 ERROR: Error Type: exceptions.KeyError
12:40:13 T:5748 M:1929146368 ERROR: Error Contents: oauth_token
12:40:13 T:5748 M:1928970240 ERROR: Traceback (most recent call last):
File "C:\Users\mark\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\default.py", line 26, in ?
import resources.lib.menu as menu
File "C:\Users\mark\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\menu.py", line 217, in ?
getInstantQueue()
File "C:\Users\mark\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue.py", line 762, in getInstantQueue
initApp()
File "C:\Users\mark\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue.py", line 757, in initApp
user = getAuth(netflixClient,VERBOSE_USER_LOG)
File "C:\Users\mark\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue.py", line 60, in getAuth
(tok, url) = netflix.user.getRequestToken()
File "C:\Users\mark\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\Netflix.py", line 47, in getRequestToken
requestToken = oauth.OAuthToken.from_string(response.read())
File "C:\Users\mark\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\oauth.py", line 142, in from_string
key = params['oauth_token'][0]
KeyError: oauth_token
12:40:13 T:4324 M:1929007104 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=10
12:40:13 T:4324 M:1929007104 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=10) failed
12:40:13 T:5320 M:1928921088 NOTICE: -->Python Interpreter Initialized<--
12:40:13 T:5320 M:1928228864 NOTICE: ##########################################################
12:40:13 T:5320 M:1928228864 NOTICE: Mode: 0
12:40:13 T:5320 M:1928228864 NOTICE: Arg1: 0
12:40:13 T:5320 M:1928228864 NOTICE: Arg2:
12:40:13 T:5320 M:1928228864 NOTICE: ##########################################################
12:40:13 T:4324 M:1928253440 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
12:40:21 T:4324 M:1928192000 NOTICE: Storing total System Uptime
12:40:21 T:4324 M:1928290304 NOTICE: Saving settings
12:40:21 T:4324 M:1928257536 NOTICE: stop all
deleted shut down lines here


I have loaded and run on my laptop and it at least got to the authenticiation with Netflix, so it just seems to be this computer (my HTPC).

It is running vista ultimate (laptop was running XP).

any thoughts would be greatly appreciated.


- fekker - 2010-12-27

douggoodwin Wrote:everything is working except i cant get thumbnails to display. Is there a settig in xbmc that i need to enable?
Also (unrelatted to plugin) other external players are not working since upgrading to dharma 10 yesterday

Heres what I have for playercorefactory and advancesettings


playercore:

<playercorefactory>
<players>
<player name="IE" type="ExternalPlayer">
<filename>C:\Program Files (x86)\Internet Explorer\iexplore.exe</filename>
<args>-k "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\K-Lite Codec Pack\Media Player Classic\mpc-hc.exe</filename>
<args>/fullscreen /close "{1}"</args>
<args>"{1}" /fullscreen /close</args>
<forceontop>true</forceontop>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="TMTPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 3\uDigital Theatre.exe</filename>
<args>"{1}" /fullscreen /close</args>
<forceontop>true</forceontop>
<hidexbmc>false</hidexbmc>
<hidecursor>false</hidecursor>
</player>
</players>
<rules action="prepend">
<rule name="html" filetypes="html" player="IE" />
<rule filetypes="m2ts|ts|mkv" player="MPC-HC" />
</rules>
<rules name="system rules">
<rule name="rtv" protocols="rtv" player="DVDPlayer" />
<rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" player="DVDPlayer" />
<rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />
<rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)" player="PAPlayer" />
<rule name="streams" internetstream="true">
<rule name="flv/aacp/sdp" mimetypes="video/x-flv|video-flv|audio/aacp|application/sdp" player="DVDPlayer" />
<rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
</rule>
<rule name="dvd" dvd="true" player="videodefaultdvdplayer" />
<rule name="dvdfile" dvdfile="true" player="videodefaultdvdplayer" />
<rule name="dvdimage" dvdimage="true" player="videodefaultdvdplayer" />
<rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />
<rule name="m2ts" filetypes="m2ts" player="TMTPlayer" />
<rule name="mkv" filetypes="mkv" player="dvdplayer (default)" />
</rules>
</playercorefactory>




advancesettings:
<advancedsettings>
<useddsfanart>true</useddsfanart>
<videoextensions>
<add>.html</add>
</videoextensions>
<video>
<defaultplayer>externalplayer</defaultplayer>
</video>
<externalplayer>
<filename>C:\Program Files (x86)\K-Lite Codec Pack\Media Player Classic\mpc-hc.exe</filename>
<args></args>
<forceontop>true</forceontop>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
</externalplayer>
</advancedsettings>

go into the addon settings and change the thumbnail quality, for some reason it doesn't pick up on the default quality level, after you pick it once it works correctly.

not sure about the external player not working, does the ie one work, or none?


Quote:mgwofford
delete this file.. addon_data/plugin.video.xbmcflicks/userinfo.txt
exit xbmc and then try again, it should link out to the browser for auth, it appears that part didn't work correctly when it was run


- douggoodwin - 2010-12-27

fekker Wrote:go into the addon settings and change the thumbnail quality, for some reason it doesn't pick up on the default quality level, after you pick it once it works correctly.

If I understand you correctly, I went to Settings/Addons, went to the netflix plugin, configure, general, Poster quality changed from HD to Medium.

Still no thumbnails
EDIT:
changed to small then back to HD - works good now
thanks!


- mgwofford - 2010-12-27

fekker Wrote:delete this file.. addon_data/plugin.video.xbmcflicks/userinfo.txt
exit xbmc and then try again, it should link out to the browser for auth, it appears that part didn't work correctly when it was run


Yes, I have tried deleting that file several times. Same error and it creates the file, but with nothing in it.

could it be a firewall issue?


- fekker - 2010-12-27

mgwofford Wrote:Yes, I have tried deleting that file several times. Same error and it creates the file, but with nothing in it.

could it be a firewall issue?

I don't think it would matter (the firewall) as you should still see a browser window open up.

Does the browser window open up, asking you to link it to netflix?
Do you get the prompt in XBMC to click OK after linking it in the browser?

You may want to try turning on debug and verbose user information. Note: with that on, you don't want to post the log until you clear out any user strings, long strings of numbers/letters.


- mgwofford - 2010-12-27

fekker Wrote:I don't think it would matter (the firewall) as you should still see a browser window open up.

Does the browser window open up, asking you to link it to netflix?
Do you get the prompt in XBMC to click OK after linking it in the browser?

You may want to try turning on debug and verbose user information. Note: with that on, you don't want to post the log until you clear out any user strings, long strings of numbers/letters.

No, the browser window does not open asking to link it. I only get the error message in the lower right corner.

I did turn on debug and verbose in the addon settings. I posted that log file above. Is there a different logging that I should be looking for?


- isamu.dragon - 2010-12-27

Just Saying, Those that are posting logs, Please use pastebin.
If your posting your config use the
Code:
[ CODE] [/ CODE] function (without the space next to the bracket/forward slash
Its easier to read, and people can narrow down the problem slightly faster.


- mgwofford - 2010-12-27

fekker Wrote:You may want to try turning on debug and verbose user information. Note: with that on, you don't want to post the log until you clear out any user strings, long strings of numbers/letters.

I also do not see the user strings in the log file. I am missing that somehow.


- dtviewer - 2010-12-27

thehankstar Wrote:I feel like a complete moron, but I just simply can't find the plugin in XBMC... I'm using 10.0 and have checked Program Add-ons, Video Add-ons (actually checked all of the add on sections).

Anyone have an idea as to what's going on?

Same here.

I see you mention you deleted the profile folder to fix this.
Any pointers as to where that folder is under XBMC Winows version?


- hught78 - 2010-12-28

Anyone have any luck yet on the AppleTV? I'm still getting the script error when opening my instant queue. Also, when do I enter my Netflix credentials? Huh


- divajess - 2010-12-28

I am also having Apple TV issues. I changed the path for the browser to where my Firefox install under NitoTV lives, but it won't launch the browser and allow me to connect the add-on with my account. Any help would be great! Thanks.


- fekker - 2010-12-29

I'm working on the next rev, if anyone wants to test it out, it's adding support for the Disc queue items, it will also generate the .xml's as needed for the OS

I can't test with OSX, apple tv and Vista so any feedback on those would be good as well as all other OS's.

For OSX users, be sure that the first thing you do after install is open the add-on settings and select the OSX option.

You can grab the zip from here
https://github.com/spudsdude/XBMC-Flicks/zipball/master

When you first choose the items (like Instant Queue) it should open a web page that will prompt you to login/approve the app to netflix. In xbmc you'll see a dialog that says to click "ok" after that step is done.. that associates it with your netflix account.


- Quackmeister - 2010-12-30

First of all, great work. This plugin eliminated my one reason for keeping boxee around.

However, I have been trying to make this work for the better part of an hour and have had no luck with a persistent problem. It is probably just a rookie mistake but here goes:

1. I added the code you provided to the two xml files. There is a lot of other stuff in my <rules> and <players> sections in the playercore file, but I just ignore them and add your code at the top. The two xmls are attached at the bottom of this post.

2. I installed the plugin from the XBMC.org repo.

3. I launch the plugin and click on "Instant Queue"

4. An IE window pops up, asking for the username and password of my netflix account so xbmcflix can be authorized

5. Netflix successfully authorizes my account and asks if Id like to go to netflix.com home

6. I say yes, then close the browser window.

7. I return to xbmc and there is a pop up window saying "loading directory" with a progress bar at the bottom

8. The progress bar hangs at 0 items, and xbmc crashes if I hit cancel.

I have reinstalled the plugin multiple times, and believe that the problem is in the xml files. Can you help me out here? also, sorry for the long post but I wanted to give as much info as possible.

ANyway, here are the xml files:

playercorefactory.xml

<playercorefactory>
<players>
<player name="IE" type="ExternalPlayer"> <filename>c:\Program Files\Internet Explorer\iexplore.exe</filename> <args>-k "{1}"</args> <hidexbmc>false</hidexbmc> <hideconsole>false</hideconsole> <warpcursor>none</warpcursor> </player>

<!-- These are compiled-in as re-ordering them would break scripts
The following aliases may also be used:
audiodefaultplayer, videodefaultplayer, videodefaultdvdplayer
<player name="DVDPlayer" audio="true" video="true" />
<player name="DVDPlayer" /> placeholder for MPlayer
<player name="PAPlayer" audio="true" />
-->
</players>

<rules name="system rules" action="prepend">
<rule name="html" filetypes="html" player="IE" />
<rule name="rtv" protocols="rtv" player="DVDPlayer" />
<rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" player="DVDPlayer" />
<rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />

<!-- dvdplayer can play standard rtsp streams -->
<rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)" player="PAPlayer" />

<!-- Internet streams -->
<rule name="streams" internetstream="true">
<rule name="flv/aacp/sdp" mimetypes="video/x-flv|video-flv|audio/aacp|application/sdp" player="DVDPlayer" />
<rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
</rule>

<!-- DVDs -->
<rule name="dvd" dvd="true" player="videodefaultdvdplayer" />
<rule name="dvdfile" dvdfile="true" player="videodefaultdvdplayer" />
<rule name="dvdimage" dvdimage="true" player="videodefaultdvdplayer" />

<!-- Only dvdplayer can handle these normally -->
<rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />

<!-- Pass these to dvdplayer as we do not know if they are audio or video -->
<rule name="nsv" filetypes="nsv" player="DVDPlayer" />
</rules>
</playercorefactory>

and the advancedsettings.xml, which is in XBMC\userdata (I had to create this file)

<advancedsettings>
<videoextensions>
<add>.html</add>
</videoextensions>
</advancedsettings>

Oh and I am running Dharma final on winXP 32 bit and the above problem happens with every option, not just "my queue - ALL" Also, a browser pops up every time I retry, asking me to authorize xbmcflix with my netflix account.


- fekker - 2010-12-30

Code:
First of all, great work. This plugin eliminated my one reason for keeping boxee around.

However, I have been trying to make this work for the better part of an hour and have had no luck with a persistent problem. It is probably just a rookie mistake but here goes:

1. I added the code you provided to the two xml files. There is a lot of other stuff in my <rules> and <players> sections in the playercore file, but I just ignore them and add your code at the top. The two xmls are attached at the bottom of this post.

2. I installed the plugin from the XBMC.org repo.

3. I launch the plugin and click on "Instant Queue"

4. An IE window pops up, asking for the username and password of my netflix account so xbmcflix can be authorized

5. Netflix successfully authorizes my account and asks if Id like to go to netflix.com home

6. I say yes, then close the browser window.

7. I return to xbmc and there is a pop up window saying "loading directory" with a progress bar at the bottom

8. The progress bar hangs at 0 items, and xbmc crashes if I hit cancel.

I have reinstalled the plugin multiple times, and believe that the problem is in the xml files. Can you help me out here? also, sorry for the long post but I wanted to give as much info as possible.

ANyway, here are the xml files:

playercorefactory.xml

<playercorefactory>
  <players>
    <player name="IE" type="ExternalPlayer"> <filename>c:\Program Files\Internet Explorer\iexplore.exe</filename> <args>-k "{1}"</args> <hidexbmc>false</hidexbmc> <hideconsole>false</hideconsole> <warpcursor>none</warpcursor> </player>

    <!-- These are compiled-in as re-ordering them would break scripts
    The following aliases may also be used:
      audiodefaultplayer, videodefaultplayer, videodefaultdvdplayer
    <player name="DVDPlayer" audio="true" video="true" />
    <player name="DVDPlayer" /> placeholder for MPlayer
    <player name="PAPlayer" audio="true" />
    -->
  </players>

  <rules name="system rules" action="prepend">
    <rule name="html" filetypes="html" player="IE" />
    <rule name="rtv" protocols="rtv" player="DVDPlayer" />
    <rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" player="DVDPlayer" />
    <rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />

    <!-- dvdplayer can play standard rtsp streams -->
    <rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)"  player="PAPlayer" />

    <!-- Internet streams -->
    <rule name="streams" internetstream="true">
      <rule name="flv/aacp/sdp" mimetypes="video/x-flv|video-flv|audio/aacp|application/sdp" player="DVDPlayer" />
      <rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
    </rule>

    <!-- DVDs -->
    <rule name="dvd" dvd="true" player="videodefaultdvdplayer" />
    <rule name="dvdfile" dvdfile="true" player="videodefaultdvdplayer" />
    <rule name="dvdimage" dvdimage="true" player="videodefaultdvdplayer" />

    <!-- Only dvdplayer can handle these normally -->
    <rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />

    <!-- Pass these to dvdplayer as we do not know if they are audio or video -->
    <rule name="nsv" filetypes="nsv" player="DVDPlayer" />
  </rules>
</playercorefactory>

and the advancedsettings.xml, which is in XBMC\userdata (I had to create this file)

<advancedsettings>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
</advancedsettings>

Oh and I am running Dharma final on winXP 32 bit and the above problem happens with every option, not just "my queue - ALL" Also, a browser pops up every time I retry, asking me to authorize xbmcflix with my netflix account.
7. I return to xbmc and there is a pop up window saying "loading directory" with a progress bar at the bottom

At this point there should be a dialog that tells you to restart the plugin (in 1.0.8) or restart xbmc (in the dev branch code)

what it's doing is writing that information to the userinfo.txt file
make sure you have read/write permissions to that folder and that the file is not read only
You should be able to delete that file and it'll recreate it (starting with 1.0.7 version)

here's what I recommend
delete the userinfo.txt file
create a new empty file there
try it again

put the plugin into debug mode if it still fails and pastebin the log for inspection

- fekker