[REQUEST] RSS reader

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Aenima99x Offline
Donor
Posts: 1,098
Joined: Aug 2007
Reputation: 7
Location: California
Post: #1
I'm hoping this can be done. I'd like to have a plugin/script that could read and display an RSS feed. What I'm ideally looking to do is be able to look at my Netflix Queue which is available at http://rss.netflix.com/QueueRSS?id=netflixidgoeshere. Appreciate any help.
find quote
Aenima99x Offline
Donor
Posts: 1,098
Joined: Aug 2007
Reputation: 7
Location: California
Post: #2
Anyone? It can't be that difficult.....I'm no good with scripting, just skinning.
find quote
realjobe Offline
Posting Freak
Posts: 986
Joined: Sep 2004
Reputation: 0
Post: #3
?? Edit the rss.xml under /UserData folder. When you boot the system, your RSS feed will scroll on homeScreen.
find quote
Aenima99x Offline
Donor
Posts: 1,098
Joined: Aug 2007
Reputation: 7
Location: California
Post: #4
I guess I should've been more clear, I'm not looking to use the default scrolling RSS feed. I'm looking to pull the data from RSS feeds and display it graphically - but with the look of something like the AMT or YouTube scripts. This is how the feed looks in a browser, I'd even be happy with this. [Image: Screenshot-NetflixMoviesAtHome-Mozi.png]
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,333
Joined: Jan 2008
Reputation: 2
Location: US
Post: #5
Can you give a full URL for the rss feed? Something publicly accessible so I can see how the xml is set up? I don't have netflix but if it is giving a valid rss feed this won't be hard.

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote
Aenima99x Offline
Donor
Posts: 1,098
Joined: Aug 2007
Reputation: 7
Location: California
Post: #6
Here's a couple of the public ones -
New Releases
Horror Top 25

EDIT - Here's the Netflix page with all the RSS info

Thanks! Cool
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,333
Joined: Jan 2008
Reputation: 2
Location: US
Post: #7
Avaliable from the link in my sig.

You have to manually insert your netflix id via the plugin settings (highlight plugin, context menu, settings) You're looking for this:
http://rss.netflix.com/AtHomeRSS?id=P0000000000000000000000000000000

Put the bolded part in there.

If you don't want to do it through the gui, you can open the plugin folder>resources>settings.xml and set your number to the default.

The thumbs are crappy, REALLY crappy, but thats what they gave me in the rss feed so thats all I could get without grabbing them from another site.

Enjoy and post here if you have any problems.

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote
Aenima99x Offline
Donor
Posts: 1,098
Joined: Aug 2007
Reputation: 7
Location: California
Post: #8
Cool thanks! It looks perfect, but just one issue. They all work except for the "New Releases". Here's the errors from the log, let me know if you need anything else.

New Releases Error
Code:
19:37:44 T:2830285712 M:261197824    INFO: NETFLIX RSS READER: showItems: [url]http://rss.netflix.com/NewReleasesRSS[/url]
19:37:44 T:2830285712 M:261197824    INFO:
19:37:44 T:3067311968 M:261197824    INFO: Loading skin file: DialogProgress.xml
19:37:44 T:3067311968 M:261197824   DEBUG: Load DialogProgress.xml: 1.23ms
19:37:44 T:3067311968 M:261197824   DEBUG: DialogProgress::StartModal called
19:37:44 T:3067311968 M:261197824   DEBUG:
19:37:44 T:3067311968 M:261197824   DEBUG: ------------------- GUI_MSG_WINDOW_INIT
19:37:44 T:3067311968 M:261197824   DEBUG: Progress dialog
19:37:44 T:3067311968 M:261197824   DEBUG: -------------------
19:37:45 T:2830285712 M:260292608    INFO:
19:37:45 T:2830285712 M:260292608    INFO: res = map(safe_map.__getitem__, s)
19:37:45 T:2830285712 M:260292608    INFO: KeyError
19:37:45 T:2830285712 M:260292608    INFO: :
19:37:45 T:2830285712 M:260292608    INFO: u'\xf1'
19:37:45 T:2830285712 M:260292608    INFO:
19:37:45 T:2830285712 M:260292608   ERROR: Scriptresult: Error
19:37:46 T:3067311968 M:260292608   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
19:37:46 T:3067311968 M:260292608   DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
19:37:46 T:3067311968 M:260292608   DEBUG: Progress dialog
19:37:46 T:3067311968 M:260292608   DEBUG: -------------------
19:37:46 T:3067311968 M:260292608   ERROR: CGUIMediaWindow::GetDirectory(plugin://video/NetFlix RSS Reader/?url=http%3A%2F%2Frss.netflix.com%2FNewReleasesRSS&mode=1&name=New+Releases)
(This post was last modified: 2008-09-20 05:08 by Aenima99x.)
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,333
Joined: Jan 2008
Reputation: 2
Location: US
Post: #9
That's strange, its working for me here using Beta1 for XP. Confused I'll test on xbox when I get home later.

What platform are you using? Are you perhaps in another country where it would be grabbing from a different set of new releases (< grabbing at straws with that one)

Does it ever try to grab the items (as in the Dialog says retrieved 118 items or does it just sit at zero?)

It uses the exact same code as the other 2 public feeds so I'm really at a loss.

But while we're on the subject... The only reason I didn't add all of the feeds was out of laziness. Do you want anymore of them? They all use the same code so for each one its just one line of code.

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote
Aenima99x Offline
Donor
Posts: 1,098
Joined: Aug 2007
Reputation: 7
Location: California
Post: #10
rwparris2 Wrote:What platform are you using? Are you perhaps in another country where it would be grabbing from a different set of new releases (< grabbing at straws with that one)
Running on Linux with the latest release from PPA. I'm in the US.

rwparris2 Wrote:Does it ever try to grab the items (as in the Dialog says retrieved 118 items or does it just sit at zero?)
Yes, it retrieves 124 items, then the dialog closes and goes back to the menu.

rwparris2 Wrote:But while we're on the subject... The only reason I didn't add all of the feeds was out of laziness. Do you want anymore of them? They all use the same code so for each one its just one line of code.

Big Grin I've already gone in added the other feeds.....I can't do any scripting from scratch, but I have no problem going in and modifying it most of the time.
find quote
Aenima99x Offline
Donor
Posts: 1,098
Joined: Aug 2007
Reputation: 7
Location: California
Post: #11
Just an update, the New Releases feed started working for me. Not sure what the deal was, but it's good now. Thanks a ton rw!
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,333
Joined: Jan 2008
Reputation: 2
Location: US
Post: #12
Glad it started working!

I was trying to get kubuntu running on my laptop at home so I could test this and other plugins but I'm having TONS of problems (but thats for another thread in another forum) so I wouldn't have been able to get to it for a while anyways.

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote
Aenima99x Offline
Donor
Posts: 1,098
Joined: Aug 2007
Reputation: 7
Location: California
Post: #13
Hey Rwparris2 - You made a plugin for Netflix for me before that pulled the RSS from them so I could look at my Queue, Movies At home, New Releases, etc.
Old thread here. If you could help me out, I'd really appreciate it.

It had been working great until recently, only the "Movies At Home" feed pulls now. The others start to load and show the dialog with the items being retrieved, but the never load.
Full log here
Here's some of the pertinent info from the log -
Code:
08:50:13 T:2962561936 M:315613184  NOTICE: NETFLIX RSS READER: showItems: http://rss.netflix.com/NewReleasesRSS
08:50:13 T:2962561936 M:315613184  NOTICE:
08:50:14 T:3066877744 M:314597376    INFO: Loading skin file: DialogProgress.xml
08:50:14 T:3066877744 M:314597376   DEBUG: Load DialogProgress.xml: 2.46ms
08:50:14 T:3066877744 M:314597376   DEBUG: DialogProgress::StartModal called
08:50:14 T:3066877744 M:314597376   DEBUG:
08:50:14 T:3066877744 M:314597376   DEBUG: ------------------- GUI_MSG_WINDOW_INIT
08:50:14 T:3066877744 M:314597376   DEBUG: Progress dialog
08:50:14 T:3066877744 M:314597376   DEBUG: -------------------

Code:
08:50:14 T:2962561936 M:313970688  NOTICE: Traceback (most recent call last):
08:50:14 T:2962561936 M:313970688  NOTICE:   File "/home/jreeves/.xbmc/plugins/video/NetFlix/default.py", line 113, in ?
08:50:14 T:3066877744 M:313970688   DEBUG: Load ThumbShadow2.png: 0.5ms (bundled)
08:50:14 T:3066877744 M:313970688   DEBUG: Load ThumbShadow2.png: 0.4ms (bundled)
08:50:14 T:2962561936 M:313970688  NOTICE:
08:50:14 T:2962561936 M:313970688  NOTICE: showItems(url)
08:50:14 T:2962561936 M:313970688  NOTICE:   File "/home/jreeves/.xbmc/plugins/video/NetFlix/default.py", line 75, in showItems
08:50:14 T:2962561936 M:313970688  NOTICE:
08:50:14 T:2962561936 M:313970688  NOTICE: addFullDir(name,'',0,plot,img)
08:50:14 T:2962561936 M:313970688  NOTICE:   File "/home/jreeves/.xbmc/plugins/video/NetFlix/default.py", line 24, in addFullDir
08:50:14 T:2962561936 M:313970688  NOTICE:
08:50:14 T:2962561936 M:313970688  NOTICE: u=sys.argv[0]+"?url="+urllib.quote_plus(url)+"&mode="+str(mode)+"&name="+urllib.quote_plus(name)
08:50:14 T:2962561936 M:313970688  NOTICE:   File "/usr/local/share/xbmc/system/python/python24.zip/urllib.py", line 1123, in quote_plus

Code:
08:50:14 T:2962561936 M:313970688  NOTICE:
08:50:14 T:2962561936 M:313970688  NOTICE: s = quote(s, safe + ' ')
08:50:14 T:2962561936 M:313970688  NOTICE:   File "/usr/local/share/xbmc/system/python/python24.zip/urllib.py", line 1117, in quote
8:50:14 T:2962561936 M:313942016  NOTICE:
08:50:14 T:2962561936 M:313942016  NOTICE: res = map(safe_map.__getitem__, s)
08:50:14 T:2962561936 M:313942016  NOTICE: KeyError
08:50:14 T:2962561936 M:313942016  NOTICE: :
08:50:14 T:2962561936 M:313942016  NOTICE: u'\xf1'
08:50:14 T:2962561936 M:313942016  NOTICE:
08:50:14 T:2962561936 M:313942016   ERROR: Scriptresult: Error
08:50:15 T:2962561936 M:313831424    INFO: Python script stopped
08:50:15 T:2962561936 M:313831424   DEBUG: staticThread, deleting thread graphic context
08:50:15 T:2962561936 M:313831424   DEBUG: Thread 2962561936 terminating
08:50:15 T:3066877744 M:313831424   DEBUG: python thread 3 destructed
08:50:15 T:3066877744 M:313831424    INFO: Python, unloading python24.dll because no scripts are running anymore
08:50:15 T:3066877744 M:313831424   DEBUG: UnloadExtensionLibs, clearing python extension libraries
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/strop.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/_socket.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/_ssl.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/time.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/struct.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/binascii.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/math.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/_random.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/fcntl.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/cStringIO.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/md5.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/sha.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/_bisect.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/collections.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: Z:/datetime.so
08:50:15 T:3066877744 M:313831424   DEBUG: Unloading: python24-i486-linux.so
08:50:15 T:3066877744 M:313942016   DEBUG: Load ThumbShadow2.png: 0.5ms (bundled)
08:50:15 T:3066877744 M:313942016   DEBUG: Load ThumbShadow2.png: 1.4ms (bundled)
08:50:15 T:3066877744 M:313942016   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
08:50:15 T:3066877744 M:313942016   DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
08:50:15 T:3066877744 M:313942016   DEBUG: Progress dialog
08:50:15 T:3066877744 M:313942016   DEBUG: -------------------
08:50:15 T:3066877744 M:313942016   ERROR: CGUIMediaWindow::GetDirectory(plugin://video/NetFlix?url=http%3A%2F%2Frss.netflix.com%2FNewReleasesRSS&mode=1&name=New+Releases) failed
08:50:15 T:3066877744 M:313942016   DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/NetFlix)
08:50:15 T:3066877744 M:313942016   DEBUG:   ParentPath = [plugin://video/NetFlix/]
08:50:15 T:3066877744 M:313942016   DEBUG: Loading fileitems [plugin://video/NetFlix]
08:50:15 T:3066877744 M:313942016   DEBUG:   -- items: 3, directory: plugin://video/NetFlix sort method: 0, ascending: false
find quote
Aenima99x Offline
Donor
Posts: 1,098
Joined: Aug 2007
Reputation: 7
Location: California
Post: #14
bump
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,333
Joined: Jan 2008
Reputation: 2
Location: US
Post: #15
The one on my googlepage seems to be working fine w/ r17141. Don't really want to reboot right now but there's no reason it wouldn't work just as well on *whatever.

First try updating then:

If I remember correctly you modified the script a bit.
Please zip and send me the version you have on your computer.
Also I'll need your netflix id if that part is broken as well.

[rwparris2] aaat [gmail dot com]

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
(This post was last modified: 2009-01-19 03:45 by rwparris2.)
find quote
Post Reply