[REQUEST] RSS reader
#16
rwparris2 Wrote: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]

I'm running the one from your google page - no modifications to it.
I'm runnning this on SVN versions 17143 & 17060 on 2 separate Ubuntu installs.
As I said before, it shows the accurate count of items being retrieved, but it never actually laods them.
Sad
Reply
#17
Aenima99x Wrote:It had been working great until recently, only the "Movies At Home" feed pulls now.

The one on my google page doesn't have "Movies At Home." It has "<<your personal queue>>" "netflix top 100" "new choices to watch instantly" and "new releases"

I tested in ubuntu 8.04 & everything worked there as well.
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/
Reply
#18
rwparris2 Wrote:The one on my google page doesn't have "Movies At Home." It has "<<your personal queue>>" "netflix top 100" "new choices to watch instantly" and "new releases"

I tested in ubuntu 8.04 & everything worked there as well.

Yes, I replaced the one I was using with the one from your page today.
I'm using Ubuntu 8.10
Reply
#19
I've made a little progress, but still don't know where the problem is.
I can get about 1/2 the feeds to actually work by going in the default.py and changing some of the feed settings in there.

What's working in the "Personal Feed" -
Code:
personalFeed='http://rss.netflix.com/TrackingRSS?id='
personalFeed='http://rss.netflix.com/AtHomeRSS?id='
personalFeed='http://rss.netflix.com/ReviewsRSS?id='
personalFeed='http://rss.netflix.com/RecommendationsRSS?id='

What's NOT working in the "Personal Feed" -
Code:
personalFeed='http://rss.netflix.com/QueueRSS?id='
personalFeed='http://rss.netflix.com/QueueEDRSS?id='

What's working in the "All Feeds" -
Code:
http://rss.netflix.com/Top25RSS

What's NOT working in the "All Feeds" -
Code:
http://rss.netflix.com/Top100RSS
http://rss.netflix.com/NewReleasesRSS
http://www.netflix.com/NewWatchInstantlyRSS


After doing some searching in refernce to the error below, I came across several articles/posts that stated there is some sort of issue with Unicode, the urllib.py library and urllib.quote/unquote?
Code:
12:21:57 T:2895088528 M: 97992704  NOTICE: u=sys.argv[0]+"?url="+urllib.quote_plus(url)+"&mode="+str(mode)+"&name="+urllib.quote_plus(name)
12:21:57 T:2895088528 M: 97476608  NOTICE:   File "/usr/local/share/xbmc/system/python/python24.zip/urllib.py", line 1123, in quote_plus
12:21:57 T:2895088528 M: 97476608  NOTICE:
12:21:57 T:2895088528 M: 97476608  NOTICE: s = quote(s, safe + ' ')
12:21:57 T:2895088528 M: 97476608  NOTICE:   File "/usr/local/share/xbmc/system/python/python24.zip/urllib.py", line 1117, in quote
12:21:57 T:2895088528 M: 97468416  NOTICE:
12:21:57 T:2895088528 M: 97468416  NOTICE: res = map(safe_map.__getitem__, s)
12:21:57 T:2895088528 M: 97468416  NOTICE: KeyError
12:21:57 T:2895088528 M: 97468416  NOTICE: :
12:21:57 T:2895088528 M: 97468416  NOTICE: u'\xe9'
12:21:57 T:2895088528 M: 97468416  NOTICE:
12:21:57 T:2895088528 M: 97468416   ERROR: Scriptresult: Error
Reply
#20
I just confirmed that it is definitely an issue with non-ascii characters showing up in the feeds that don't work.
I verified this by looking at my Queue - it contained this movie
As soon as I took the movie out of my Queue, I was immediately able to view it with the plugin.
So my question is, what can be done to fix the issue with the non-ascii characters bombing out the plugin?
Thanks!
Reply
#21
Items like that weren't in any of my lists... a fix is in the making.
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/
Reply
#22
THANKS! Cool
Reply
#23
hi

When you fixed it, can you explain the fix ? Cause I got the same error on one of my plugins.

Cheers
Reply
#24
I tried manually adding 'The Brøken' to the lists, but I still couldn't ever get it to break xbmc, so here are a few things to try.

In line 96 (or so?), append '.encode('latin-1', 'replace')' if that doesn't work, try utf8 instead of latin-1. if that still doesn't work just do 'ascii'

Code:
name=items[i].title.contents[0].encode('latin-1', 'replace')
or
Code:
name=items[i].title.contents[0].encode('ut8', 'replace')
or
Code:
name=items[i].title.contents[0].encode('ascii', 'replace')
That will simple substitute any characters it doesn't like with a '?' or something it does like. If you'd rather just leave it blank change 'replace' to 'ignore'

Please let me know how/if it works
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/
Reply
#25
Awesome, that's what I was looking for. It's working now....I used the Latin-1 encoding as that seemed to work the best. Thanks for the help, much appreciated!
Reply
#26
Out of curiosity, does it drop the 'ø' character?
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/
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] RSS reader0