[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) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - fr0sty - 2012-09-25 (2012-09-25, 19:46)patdavid Wrote:(2012-09-25, 19:42)fr0sty Wrote: running xbmcbuntu, downloaded the zip https://github.com/spudsdude/XBMC-Flicks/zipball/master I followed the instructions: 'You will need to unzip that file to your add-on directory and restart XBMC and the add-on should be available for you.' But still dont see anything.. Never had any problems installing plugins before. RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - mcithic - 2012-09-26 I'm having trouble that I can't seem to find a similar post for. I can successfully get authentication, but when I go to any content, there are always "0 items retrieved" and nothing displayed (e.g., in the instant queue, or any other place content might be posted). What can I do to fix this? Or debug the issue? I've tried re-installing XBMCFlicks, restarting XBMC, restarting the computer, clearing browsing data, deleting the XBMCFlicks add on folder and re-authenticating - all multiple times. I'm running the latest eden pvr version of xbmc, and windows 7. RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - dordar - 2012-09-26 (2012-09-26, 06:41)mcithic Wrote: I'm having trouble that I can't seem to find a similar post for. I can successfully get authentication, but when I go to any content, there are always "0 items retrieved" and nothing displayed (e.g., in the instant queue, or any other place content might be posted). What can I do to fix this? Or debug the issue? I've tried re-installing XBMCFlicks, restarting XBMC, restarting the computer, clearing browsing data, deleting the XBMCFlicks add on folder and re-authenticating - all multiple times. I'm running the latest eden pvr version of xbmc, and windows 7. If you go back a few forum posts (around page 100) then you will see that this issue has been adressed and partly solved. (2012-09-24, 20:49)patdavid Wrote: Okay, I've got it solved, but it cost me a bit of time searching and tracing... Thank you so much Patdavid! I will try it when I get back home, but reading other peoples feedback it seems plausible that it will work for me as well! RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - mantene - 2012-09-26 Patdavid, Thank you so much for all the work you have already put into this! RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - patdavid - 2012-09-26 Ok, just a quick update on where I am... I'm going to mostly abandon the way fekker approached a bunch of things, but still use a lot of what has already been assembled (because I'm lazy, and learning all this xbmc addon stuff is hard! ) I have refactored the entire section that parses data for movies only. Calls using the Netflix API were returning JSON objects, and I am just using those to fill out the movie data, and passing it back into the functions that are already there. Basically, instead of having to do this to get the movie/show Title: Code: matchTitle = re.search(r'[\'"]title[\'"]: {.*?[\'"]regular[\'"]: u{0,1}(\'|")(.*?)\1.*?},', curQueueItem, re.DOTALL | re.MULTILINE) I can instead just do this: Code: if 'title' in curQueueItem: Using the JSON object as it's intended (or a python <dict> type, apparently). This is WAY cleaner and easier to maintain going forward, I think. I can only assume that in the past the results returned from the Netflix API were nastier, necessitating the ugly regex that fekker previously used (and seriously, who wants to try to maintain that?) Now that I understand a little better what the underlying logic should be, I can move forward into TV shows next, then things like recently watched, recommended, new arrivals, search, etc... I won't be focusing on queue management at all, unless I'm feeling up for it later (instant or disc). I don't really manage my queue from my tv (phone and computer instead). Just FYI. I also have NO idea how to release the final results back into the wild at the moment (nor do I think it would be a good idea right now, anyway - too many things are broken). I may ask for some help later in how to go about doing that. Onward! RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - patdavid - 2012-09-26 Quick question for those of you who have previously used this add-on: When listing TV shows, did the seasons always auto-expand? (meaning - when entering a show directory, were the seasons ever shown as sub-directories, or were all the episodes always auto-expanded?) RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - mantene - 2012-09-27 Patdavid: For me, the TV shows always appeared on a single level. No subfolders or any real organization into seasons. Just: 1x01 1x02 1x03 1x04 . . . 2x01 2x02 2x03 and so on all in a single list (with the episode names as well as numbers) Mantene RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - fekker - 2012-09-27 (2012-09-26, 23:17)patdavid Wrote: Quick question for those of you who have previously used this add-on: When listing TV shows, did the seasons always auto-expand? (meaning - when entering a show directory, were the seasons ever shown as sub-directories, or were all the episodes always auto-expanded?)There's been a few different way's since the original release, it would generally change as Netflix changes there stuff. Glad to see someone helping out, I'm always busy these days. Side note, regex's are hard to read, but so powerful .. most where in place so i could just throw multiple sources at it as netflix api has always been a mixed bag of crazy when it returns it's results, that and I was using multiple api versions along with other sources. Wanna know the secret to regex's not making you pull your hair out? regex buddy, it rocks the house RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - patdavid - 2012-09-27 (2012-09-27, 06:42)fekker Wrote: as netflix api has always been a mixed bag of crazy when it returns it's results This pretty much answers the question about the regex's. I had pretty much figured that this was the case. I'm reasonably familiar with regex's in general, so that's not really the problem for me - I was just figuring that the Netflix.py already retrieved the items in JSON, so might as well use those objects as they are returned instead of munging the string representation of it. On a side note, using the objects directly in the <dict> fixes a lot of character encoding issues (took me a while to figure out that u'some string' = unicode object in python. Now instead of stripping quotes and other characters, you can decode to utf-8 directly with the object (which is nice). RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - elmerohueso - 2012-09-27 (2012-09-26, 23:17)patdavid Wrote: Quick question for those of you who have previously used this add-on: When listing TV shows, did the seasons always auto-expand? (meaning - when entering a show directory, were the seasons ever shown as sub-directories, or were all the episodes always auto-expanded?) Yes. I think I read something on the Netflix API blog about this being the norm. RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - TWoods - 2012-09-28 On September 15th Netflix changed the location of the catalogs for movies etc. If you read iqueue.py you will see multiple references to the catalog like so: Code: http://api.netflix.com/catalog/titles/movies/ The catalog URL was changed to 2 different URLs on September 15th. One for streaming and one for DVDs. Netflix also added a bit to the URL to show that it is the public api. The new URLs are as follows: Code: http://api-public.netflix.com/catalog/titles/streaming I suspect none of us are getting results because there is no catalog at the previous location. I am going to go thru and see what happens when these URLs are changed to their proper new addresses. EDIT: I should have also added that the location for the api has changed, so ANY links that reference the old netflix API locations will be broken. For example from my log file I get: Code: http://api.netflix.com/users/reallyreallyreallylongstringoflettersandnumbershere/queues/instant This needs to be changed to: Code: http://api-public.netflix.com/users/reallyreallyreallylongstringoflettersandnumbershere/queues/instant RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - patdavid - 2012-09-28 Just a small update, I've refactored how TV shows are listed now as well. The next bit is to fix getting the episode data, which I should be able to get to over the weekend I hope. And I've heard from fekker with an offer to help me understand better what might be going on (which is a huge help). I may have something ready to push out in a preliminary form next week. A bigger issue I'd like to address is that I am seeing 504 gateway timeout errors on my requests if I set the max instant items to retrieve high. I've only got 151 items in my instant queue, so it's not too bad for me, but for others with more items might see errors. I'm trying to determine the best way around this. At the moment I may break up requests into 50 or 75 request chunks, and just process them on my end. RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - schwarznavy - 2012-09-28 Greetings. Can anyone help me? I am running XBMC 11.0 with confluence vertical skin on a Win 8 64-bit box. I verified that I can browse in IE to Netflix and stream videos correctly. I cleared my silverlight cache, and cleared my browser cache (only have IE installed). I installed the latest version (spudsdude-XBMC-Flicks-xxxxx) from zip, exited XBMC, and renamed the folder to plugin.video.xbmcflicks. When I launched XBMC > XBMCFlicks and selecting Instant Queue, I get an "Error Scipt Failed." No browser was launched. My \AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\userinfo.txt is empty. My advancedsettings.xml and playercorefactory.xml are correct. Since I have xbmcflicks debugging on, this is what I see in my xbmc.log: Code: 10:37:14 T:744 NOTICE: -->Python Interpreter Initialized<-- Thank you. I really appreciate any assistance. RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - elmerohueso - 2012-09-28 (2012-09-28, 16:33)patdavid Wrote: At the moment I may break up requests into 50 or 75 request chunks.This sounds good. Perhaps include the option to choose how may results to display per page. RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - patdavid - 2012-09-28 (2012-09-28, 17:05)elmerohueso Wrote:(2012-09-28, 16:33)patdavid Wrote: At the moment I may break up requests into 50 or 75 request chunks.This sounds good. Perhaps include the option to choose how may results to display per page. I am probably going to do it transparently to the user - meaning I will grab multiple "pages" of data, but munge them together before you see the output in the gui. This way you'll just see a complete listing. |