How to refresh RSS feeds?
#1
I'm using the XBMC SVN builds (using the Confluence skin) on my AppleTV, and I have some RSS feeds/video podcasts defined under video sources.

Can anyone tell me how I refresh these RSS feeds using the Apple Remote?

Currently the RSS feed's contents are loaded the first time I access it, but then it stays cached. I haven't found any way to refresh it without restarting XBMC and then accessing the RSS feed again...
Reply
#2
Look at RssFeeds.xml. You can change the update interval for each feed in minutes. The default is 30 minutes.

http://wiki.xbmc.org/index.php?title=RssFeeds.xml
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
Thanks kraqh3d - but my feeds are defined in sources.xml (under <video>), not rssfeeds.xml. Eg:

<source>
<name>podcast: LoadedHD</name>
<path pathversion="1">rss://feeds.feedburner.com/cnet/loadedhd/?format=xml</path>
</source>

I'm not sure if there's a way to specify a refresh interval here? (Couldn't find any details of this on the wiki)

I think RssFeeds.xml that you refer to is for scrolling text feeds, not video/audio podcasts.
Reply
#4
Yes there is no way to refresh built-in rss feed. You have to restart XBMC for refresh that folder. This feature need trac ticket I guess.
Reply
#5
Sorry but I'm wrong about refreshing built-in rss. I found the way. There is a Built In Function (RefreshRSS).
You can use it with http-api:
Code:
http://<ip>:<port>/xbmcCmds/xbmcHttp?command=execbuiltin&parameter=RefreshRSS
or from python:
Code:
xbmc.executebuiltin('XBMC.RefreshRSS')
Reply
#6
I'm sorry. I clearly didn't pay careful attention to your query. I didn't realize you meant an RSS feed as a podcast source.

You can use that same RefreshRSS action as a GUI button action or use keymap.xml to bind that action to a remote control button.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
Thanks for all your suggestions, but no luck as yet.

I've tried editing
Code:
/Users/frontrow/Library/Application Support/XBMC/userdata/Keymap.xml
but on the AppleTV this doesn't appear to have any effect. Then I found
Code:
/Applications/XBMC.app/Contents/Resources/XBMC/system/keymaps/joystick.AppleRemote.xml
which seems to be the right one.

Tried adding the following:
Code:
<MyVideoFiles>
    <joystick name="AppleRemote">
      ...
      <!-- hold menu  --> <button id="8">RefreshRSS</button>
      <!-- hold left  --> <button id="9">RefreshRSS</button>
      <!-- hold right --> <button id="10">RefreshRSS</button>
    </joystick>
  </MyVideoFiles>
but it doesn't seem to have any effect. I know my change is in the right place because it changed behavior (menu-hold used to bring up the context menu, now it does nothing).

I also tried hitting the URL
Code:
http://192.168.0.197:8080/xbmcCmds/xbmcHttp?command=execbuiltin&parameter=RefreshRSS
whilst the RSS feed listing was being displayed by XBMC but that didn't seem to have an effect either.

Don't see any errors in
Code:
/Library/Logs/Console/501/console.log

It seems the RefreshRSS might be broken in this SVN release?

Or - The wiki page http://wiki.xbmc.org/?title=List_of_Built_In_Functions refers to RefreshRSS as "Reload RSS feeds from RSSFeeds.xml" - so maybe it doesn't apply to RSS feeds defined in sources.xml?


There's no way to disable the caching of these RSS feeds? I'd rather it loaded them from the Internet every time than not be able to refresh them. (In an ideal world I suppose RefreshRSS would be an option from the Context Menu).
Reply
#8
Did you ever find resolution or a good work around with this? I have about 6 RSS feeds as a video source and would like to auto refresh without restarting xbmc. I would prefer it to refresh the feed every time I enter the listing.

z
Reply
#9
bump
Reply
#10
there's no solution yet - it's on our list.
Reply
#11
Thanks for your reply.

Also thanks for this great software! Nice to know it's on your to-do list

z
Reply

Logout Mark Read Team Forum Stats Members Help
How to refresh RSS feeds?0