Kodi Community Forum
[RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC (/showthread.php?tid=87552)



- mike909 - 2011-01-24 02:40

fekker Wrote:fixed in 1.0.15

to manually fix
find the line in iqueue.py
curXe.Directors = curX
change it to
curXe.Directors = curX.Directors
.
Yep, working again. Thanks.

I still think you should give this plugin some sort of project page. It's an awesome plugin.
Looking forward to the day xbmc can render netflix video internally (probably about the same time netflix drops lame Silverlight)


- ottodawg - 2011-01-24 05:43

Does the "expand tv episodes automatically" function work? I turned it on but when I go to all new arrivals: tv -> reno 911 season 6, it just plays the first episode. I do get a "more episodes" button in silverlight, but can't figure out a keyboard command to expand it.

Any advise?

Thanks


- eblade - 2011-01-24 07:59

ottodawg:

When "expand tv episodes automatically" is on, my Instant Queue shows some 380 things that my gf has tagged. When off, I see a much more manageable 20 or so.


- Chimera2345 - 2011-01-24 13:12

As of 1.0.13 TV shows should now be "folders" so that when you click a season, it expands to show all episodes in that season. Works for me so I don't need to do "expand tv episodes automatically" anymore which was showing just hundreds of things...


- ottodawg - 2011-01-24 16:47

eblade Wrote:ottodawg:

When "expand tv episodes automatically" is on, my Instant Queue shows some 380 things that my gf has tagged. When off, I see a much more manageable 20 or so.

Oh I see, it only works in your instant queue. I was in the new arrivals section and it won't expand the episodes there.

Thanks.


Suggestion and Issues - qumip - 2011-01-24 19:53

fekker:

Many thanks for this excellent plugin.

Have a suggestion, and some issues:

In Canada Netflix does not offer DVD service so the Rental History -> Shipped and Rental History -> Returned
menu selections are of no use.

A simple change in the root menu function would reduce the number of key strokes:

Code:
--- ./resources/lib/menu.py.orig    2011-01-21 19:49:58.000000000 -0500
+++ ./resources/lib/menu.py 2011-01-21 20:03:37.000000000 -0500
@@ -260,7 +260,9 @@ def show_root_menu():
    addDirectoryItem(name=SUBMENU0iw, parameters={ PARAMETER_KEY_MODE:MODE0iw }, isFolder=True, thumbnail=os.path.join(resourcePath, 'instant_watch_main.png'))
    if(not IN_CANADA):
       addDirectoryItem(name=SUBMENU0d, parameters={ PARAMETER_KEY_MODE:MODE0d }, isFolder=True, thumbnail=os.path.join(resourcePath, 'disc_by_mail.png'))
-   addDirectoryItem(name=SUBMENUR, parameters={ PARAMETER_KEY_MODE:MODER }, isFolder=True, thumbnail=os.path.join(resourcePath, 'rental_history.png'))
+      addDirectoryItem(name=SUBMENUR, parameters={ PARAMETER_KEY_MODE:MODER }, isFolder=True, thumbnail=os.path.join(resourcePath, 'rental_history.png'))
+   else:
+      addDirectoryItem(name=SUBMENUR3, parameters={ PARAMETER_KEY_MODE:MODER3 }, isFolder=True, thumbnail="special://home/addons/plugin.video.xbmcflicks/resources/rental_history_watched.png")
There are some issues:

1. Browse by Genre: Sometimes, even after waiting 30 - 60 seconds after selecting a genere, the item count in the
Loading Directory window remains at 0. Pressing the Cancel button has no effect. XBMC locks up and the Windows Task
manager must be used to recover control.

2. Recommended, Top 25 New Arrivals, or All New Arrivals: The movie detail shows a Runtime of 0 minutes.

3. Top 25 New Arrivals: TV or All New Arrivals: TV the episodes are not shown, only a single listing.

The log file for a session is available at http://dl.dropbox.com/u/2000894/xbmc-20110124-0940.log.zip

Again, thanks for all your effort. It is very much appreciated.

qumip


Netflix in Canada? - ssss25 - 2011-01-24 20:06

Hi,

Using the Netflix plugin in Canada. It partially works. It cannot find everything and when viewing by Genre, it shows the US listing becaause when I click on something it says not available. It may even be showing everything from the US because when I search for sometthing that I know is int he Canadian one, it doesn't work.

Just thoughts on any fixes to support the Canadian Netflix

Thanks,


- down.easter - 2011-01-25 02:35

Hi I have been trying to get the Netflicks plug-in to work on my first generation Apple TV and have had no success so far. I have installed Firefox and silverlight but have had no success getting the browser to come to the front so I can get the activation code. Even then I wonder how to manage to key in the info as the ATv has no keyboard and I can't find how to load the drivers for one (it does have a USB port).
Any help would be appreciated.


- down.easter - 2011-01-25 03:07

Hi I am in Canada (using OSX and Firefox as my browser by the way) and that may be part of my problem. I can get Netflix.com to authorize e plug-in for my account . But when I get to the next step which will take me to the netflicks.com home page I get a "site error" message and the plug-in fails. Is there an easy fix for this I have missed?

Thanks in advance for your help.

PS manually going to the netflix.ca site doesn't help - cannot access the American site at all from Canada


- down.easter - 2011-01-25 19:50

Quote:13:35:34 T:2958221312 M:620666880 NOTICE: OSX Setting is set to: True
13:35:34 T:2958221312 M:620666880 NOTICE: .. user configured ..
13:35:34 T:2958221312 M:622325760 NOTICE: Token did not contain any errors
13:35:34 T:2958221312 M:622325760 NOTICE: Authorize user access here: https://api-user.netflix.com/oauth/login?application_name=xbmcflix&oauth_consumer_key=xxxxxxxx&oauth_token=xxxxxxxxxx
13:35:34 T:2958221312 M:622325760 NOTICE: and then put this key / secret in MY_USER.request:
'key': 'xxxxxxxxxxxx',
'secret': 'xxxxxxxxxxx'
13:35:34 T:2958221312 M:622325760 NOTICE: and run again.
13:35:34 T:2958221312 M:622325760 NOTICE: open -n http://www.netflix.com
13:39:15 T:2958221312 M:585273344 NOTICE: The dialog was displayed, hopefully you read the text and waited until you authorized it before clicking ok.
13:39:15 T:2958221312 M:585273344 NOTICE: user key set to: xxxxxxxxxx
13:39:15 T:2958221312 M:585273344 NOTICE: user secret set to: xxxxxxxxxxx
13:39:15 T:2958221312 M:585273344 ERROR: Error Type: httplib.BadStatusLine
13:39:15 T:2958221312 M:585273344 ERROR: Error Contents:
13:39:15 T:2958221312 M:585273344 ERROR: Traceback (most recent call last):
File "/Users/xxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/default.py", line 26, in ?
import resources.lib.menu as menu
File "/Users/xxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/menu.py", line 524, in ?
getNewToWatchInstantCATopX("0")
File "/Users/xxxxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/iqueue.py", line 1360, in getNewToWatchInstantCATopX
initApp()
File "/Users/xxxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/iqueue.py", line 1314, in initApp
user = getAuth(netflixClient,VERBOSE_USER_LOG)
File "/Users/xxxxxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/iqueue.py", line 85, in getAuth
tok = netflix.user.getAccessToken( MY_USER['request'] )
File "/Users/xxxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/Netflix.py", line 74, in getAccessToken
response = client.connection.getresponse()
File "../Python/Lib/httplib.py", line 866, in getresponse
response.begin()
File "../Python/Lib/httplib.py", line 336, in begin
version, status, reason = self._read_status()
File "../Python/Lib/httplib.py", line 300, in _read_status
raise BadStatusLine(line)
BadStatusLine

This is from my log file. Should I change the line
"open -n http://www.netflix.com"
to "open -n http://www.netflix.ca" ?


- fekker - 2011-01-25 20:14

down.easter Wrote:This is from my log file. Should I change the line
"open -n http://www.netflix.com"
to "open -n http://www.netflix.ca" ?

give it a try, i'm not sure on that one.

let us know either way, maybe another osx user can chime in with what was required


- down.easter - 2011-01-25 22:41

Quote:16:35:10 T:2958753792 M:859000832 NOTICE: open -n http://www.netflix.ca
16:36:50 T:2958753792 M:629198848 NOTICE: The dialog was displayed, hopefully you read the text and waited until you authorized it before clicking ok.
16:36:50 T:2958753792 M:629198848 NOTICE: user key set to: xxxxxxxxxx
16:36:50 T:2958753792 M:629198848 NOTICE: user secret set to: xxxxxxxxx
16:36:50 T:2958753792 M:629211136 NOTICE: Token result was: <?xml version="1.0" standalone="yes"?>

<status>
<status_code>401</status_code>
<message>Invalid user</message>
</status>
16:36:50 T:2958753792 M:629211136 NOTICE: If the timestamp shows invalid, your computers date/time is off, sync it to an NTP server or fix it by setting the correct values
16:36:50 T:2958753792 M:629211136 ERROR: Error Type: exceptions.KeyError
16:36:50 T:2958753792 M:629211136 ERROR: Error Contents: oauth_token
16:36:50 T:2957156352 M:629166080 NOTICE: -->Python Interpreter Initialized<--
16:36:50 T:2957156352 M:628797440 NOTICE: {'limit': '4'}
16:36:51 T:2958753792 M:627748864 ERROR: Traceback (most recent call last):
File "/Users/xxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/default.py", line 26, in ?
import resources.lib.menu as menu
File "/Users/xxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/menu.py", line 524, in ?
getNewToWatchInstantCATopX("0")
File "/Users/xxxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/iqueue.py", line 1360, in getNewToWatchInstantCATopX
initApp()
File "/Users/xxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/iqueue.py", line 1314, in initApp
user = getAuth(netflixClient,VERBOSE_USER_LOG)
File "/Users/xxxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/iqueue.py", line 85, in getAuth
tok = netflix.user.getAccessToken( MY_USER['request'] )
File "/Users/xxxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/Netflix.py", line 75, in getAccessToken
accessToken = oauth.OAuthToken.from_string(response.read())
File "/Users/xxxxxxxx/Library/Application Support/XBMC/addons/plugin.video.xbmcflicks/resources/lib/oauth.py", line 148, in from_string
key = params['oauth_token'][0]
KeyError: oauth_token
16:36:51 T:2687632704 M:627621888 ERROR: GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=50
16:36:51 T:2687632704 M:627621888 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=50) failed
16:36:51 T:2957156352 M:627556352 NOTICE: -->Python Interpreter Initialized<--

This is the log entry when I replaced "netflix.ca" in "open -n http://www.netflix.com"

Any ideas where to go from here?


- fekker - 2011-01-26 02:57

down.easter Wrote:This is the log entry when I replaced "netflix.ca" in "open -n http://www.netflix.com"

Any ideas where to go from here?

it doesn't like your user account info
.com should work from reading over how others have it setup, it won't open the page, but should output the user info into the log that you can then copy into the iqueue.py file.

if anyone wants to create a wiki article on the plugin, i'm all for it, I just don't have the time to work on that at the moment

thank's for the other notes on issues that have been reported, i'll look into those and get things sorted out. Most of the issues relate on where the data comes from. The Rss feeds don't give the full information about the tvshow / movie, the odata can't be filtered correctly and doesn't have any info on if it's available on netflix.ca.. the netflix.ca api calls have 0 documentation, so it's all a guess as to what needs to be called to get those to work correctly, apple tv doesn't ever display the link page, the same with some xp installs and require that you manualy add the information into the iqueue.py file after turnning verbose user information in the addon settings.

fun fun Big Grin overall it's working pretty good for me, no idea how many are using it, as when it works folks don't usually post when things work as they should


- clinty76 - 2011-01-26 03:28

Chimera2345 Wrote:Is there any way to get XBMCFlicks to launch in library mode from a favorite (or home menu item)? I can get library mode (Media Info 2 view) to work if I go through Videos, then video add-ons, then XBMCFlicks but if I go directly to the favorite it launches out of library mode and if I put it back in I get dumped back to my movie library and have to go up two levels to get back to add-ons. Any ideas?

Thanks for the great plugin, 1.0.13 with the new TV episode view is awesome!

I would love a way to put xbmcflicks on my home screen. Is there a way to do this??


- fekker - 2011-01-26 03:52

clinty76 Wrote:I would love a way to put xbmcflicks on my home screen. Is there a way to do this??

if your using confluence yes, you can add it just like any other menu item buy using the addon that lets you put favorites on the main window. I do this with my queue's (main menu items) and add favorites to the genre's i browse.

the plugin is script.favourites
http://forum.xbmc.org/showthread.php?tid=76529&highlight=script.favourites