PDA

View Full Version : Local RSS Feed


Dav.
2008-08-30, 01:14
Hi All,

It's possible to use Local Rss Feed (local network) ?
Used Search to find something in "XBMC For Windows" without success.

Thx,
Dav.

blittan
2008-08-30, 02:29
http://xbmc.org/wiki/?title=RSS_feed_Control

Dav.
2008-08-30, 11:58
Thanks for your reply, blittan.

Fisrt question :
So, if I understand you, I can use local adresse like this ?


<rssfeeds>
<set id="1">
<feed updateinterval="30">http://192.168.1.102/Feeds/rss.htm</feed>
</set>
</rssfeeds>


But Rss must be a xml file, not a htm file, no ?
And how to give the right folder on another Hard Drive (ex: "e:/XBMC_Feed/") ?



Second Question :
All my files Music, Video, etc ... are on my server : 192.168.1.100
Files are located on my hard drive "G:/Music", "G:/Video", ...
I would like to place my RSS file on the same place "G:/Feed".
I'm Running XBMC (for windows) from 192.168.1.102 and XBMC (for Xbox)from 192.168.1.75
How to read the same feed from two different location & system ?
How to

Dav.
2008-08-30, 16:38
Me again !

What I have inside my XML file (Just to make a test)


<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
<channel>
<title>New movies arrived</title>
<link>http://www.thisisatest.com</link>
<description>The Mummy</description>

<link>http://www.thisisatest.com</link>
<description>The Mummy Returns</description>

<link>http://www.thisisatest.com</link>
<description>The Mummy 3</description>

<link>http://www.thisisatest.com</link>
<description>Daredevil</description>
</channel>
</rss>



Test N°1 - Not Working

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rssfeeds>
<set id="1">
<feed updateinterval="30">\\GUARDIAN-ANGEL\Music\Rss.xml</feed>
</set>
</rssfeeds>


Test N°2 - Not Working + Crash when closing XBMC

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rssfeeds>
<set id="1">
<feed updateinterval="30">http://192.168.1.100/Music/Rss.xml</feed>
</set>
</rssfeeds>

XBMC Crash Log

INFO: Get URL: http://192.168.1.100/Music/Rss.xml
NOTICE: stop python
NOTICE: stopped
NOTICE: destroy
NOTICE: unload sections
NOTICE: application stopped...
ERROR: Recv failed: 10054
DEBUG: CThread::staticThread, deleting thread graphic context
FATAL: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at 0x00716511


Test N°3 - Work

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rssfeeds>
<set id="1">
<feed updateinterval="30">http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss091.xml
</feed>
</set>
</rssfeeds>


Any idea why or where is the problem ?

jmarshall
2008-08-31, 00:53
The crash will happen regardless I think you'll find (it depends on which point the RSS reader is at when it occurs), and was fixed post Alpha4.

If a local file is supported (which I don't know if it is or not) then it'll be using the standard URL format:

smb://hostname/share/path_to_file

Cheers,
Jonathan

Dav.
2008-08-31, 16:44
Jonathan,

Thanks for your reply.
In Alpha 4 SMB is not supported (yet) ?
Anyway, I found a solution with XMBS :;):

My Solution to create a local RSS Feed (on a local network) :
1) Create a folder (for me "RSS") & place your "Rss.xml" inside this folder
2) Using CCxGui & add the folder to share
3) Open "RssFeed.xml" (on vista : C:\Users\"NameOFYourComputer"\AppData\Roaming\XBMC\UserData)
4) Give the root of your XML (my media are located on 192.168.1.100)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rssfeeds>
<set id="1">
<feed updateinterval="30">xbms://192.168.1.100:1400/RSS/Movie_Rss.xml</feed>
<feed updateinterval="30">xbms://192.168.1.100:1400/RSS/Music_Rss.xml</feed>
</set>
</rssfeeds>

5) Start XBMC

Note : this method is ONLY used to announce new media arrived.
This is a exemple of my Movie_Rss.xml

<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
<channel>
<title>New</title>

<item><title>Movie N°1</title></item>
<item><title>Movie N°2</title></item>
<item><title>Movie N°3</title></item>
</channel>
</rss>



Why ? :
I have 5 kids & I'm using XBMC on :
- My Xbox
- My Bedroom
- My Computer
All Media are located on my local server & this feed is to annouce what new media is arrived.
There is no link to link or something else ;-)

Enjoy !
Dav.

jmarshall
2008-08-31, 23:48
If xbms works, then there's no reason that smb wouldn't work as well.

Cheers,
Jonathan

Dav.
2008-09-01, 00:19
Are you sure Jonathan ?

See this caps (in FR sorry) :
http://img512.imageshack.us/img512/3107/xbmcsmb1nl0.th.jpg (http://img512.imageshack.us/my.php?image=xbmcsmb1nl0.jpg)

http://img155.imageshack.us/img155/3673/xbmcsmbkh7.th.jpg (http://img155.imageshack.us/my.php?image=xbmcsmbkh7.jpg)

Translation for the second caps :

Error
Error-1073741772: Share not available


Anyway it work for me with XBMS (its better than SMB) :cool:

Cheers,
Dav.

jmarshall
2008-09-01, 00:21
All that doesn't work is browse (for some users - not all). Not really sure as yet why this is.

Typing in the server name and then browsing works.

Dav.
2008-09-01, 00:30
Nope it's not working for me.
As I said, it's working under XMBS.
For me it's better than SMB & I don't have to share another folder under Vista
Just need to share it with CCxGui -> is more secure because no one on the
network can access the folder, except me ^^.

jmarshall
2008-09-01, 00:42
Search the forum for vista + smb - there's some workarounds you need to do. Ofcourse, if you don't care about smb sharing, then don't bother! :)

Cheers,
Jonathan

joebrady
2009-10-06, 19:53
Would this work?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rssfeeds>
<set id="1">
<feed updateinterval="30">http://192.168.1.100/Music/$INFO[MusicPlayer.Artist]/Rss.xml</feed>
</set>
</rssfeeds>

spiff
2009-10-06, 19:54
no.

joebrady
2009-10-06, 20:05
:sad: Any ideas on how to make something like that work?

spiff
2009-10-06, 20:10
why would you want to do something like that? load the rss xml for the artist you are playing every 30th minute. does not compute

joebrady
2009-10-06, 20:14
ah, disregared the update interval, I was just throwing out an example.

http://xbmc.org/forum/showthread.php?t=52377&highlight=music+trivia

spiff
2009-10-06, 20:17
in that case i say what i said initially; this is a job for a .py, not a job for a rss feed

joebrady
2009-10-06, 20:28
Roger that. Thanks for the reply, saved me some experimenting time.