[REQUEST] RSS Reader Script Addon for Dharma? - 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: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [REQUEST] RSS Reader Script Addon for Dharma? (/showthread.php?tid=81720) |
- NordishByNature - 2010-11-30 grajen3 Wrote:ok, https://github.com/pieh/script.rssclient Really? For me I get just "wrong handle given to SetResolvedUrl() and player doesn't start... Did you test this against youtube trunk? - pieh - 2010-11-30 NordishByNature Wrote:Really? For me I get just "wrong handle given to SetResolvedUrl() and player doesn't start... Did you test this against youtube trunk?Hmmm, I tested it again and it work for me: http://pastebin.com/kBiAU4UB Code: xbmc.executebuiltin("XBMC.PlayMedia(plugin://plugin.video.youtube/?action=play_video&videoid=%s)" % ( id) ) - pieh - 2010-11-30 smuto Wrote:can u take a look for yahoo pipes supportThanks for the report - fixed now. https://github.com/pieh/script.rssclient - NordishByNature - 2010-11-30 Hello! Great work with this.. But is this threading stuff really needed? I would like to rewrite the parsing part. There is a very efficent lib called UniversalParser. I just fetched your changes from git and will put up a version without threading tonight. I know you forked the code also, maybe we could clean the whole thing up and make it really great. I have still problems with gui lockups btw. I'm struggling with this onSelect stuff. Seems not very stable for me... Another skin issue: In 16:9 we should not use the full width for because of readabilty. I made a small mockup, what do you think? - pieh - 2010-11-30 NordishByNature Wrote:Hello!I was starting with forking, but eventually I rewrote whole code myself, due to some roadblocks in code I was modding (multirss). I surely appreciate help with it, as I'm rather new to Python (I have experience with Java, c++, c#, php, SQL) and don't know anything about available libs. About threading: Main target was to not lock GUI while reading RSS feeds. Deamon thread is created to read,parse rss from cache and read,cache,parse rss from internet and update GUI after parsing. NordishByNature Wrote:I have still problems with gui lockups btw. I'm struggling with this onSelect stuff. Seems not very stable for me...I'm aware of it. But currently I don't have time to play with it. I'm always open for suggestions NordishByNature Wrote:Another skin issue:It looks really good. I said earlier that I'm not skinner and didn't want to make fancy looking GUI - just the GUI that works. If people are able to do it, I will gladly add it. For now, I will just not waste my time on doing/coding/designing/maintaining GUI while I still do massive changes to code side. - pieh - 2010-12-05 some preview: http://www.youtube.com/watch?v=72k7dPRE2Ww - youtube videos - bolish - 2010-12-06 Waoooo!!! Class! Great Job - pieh - 2010-12-06 Ok, got some time to document some stuff from the script: Attaching RSS to window (Like Home Window) Here's some preview - http://www.youtube.com/watch?v=i90MSaG93Qs Running script is similiar to running Recently Added script: Code: <control type="button" id="8999"> I think parameters are pretty self-explanatory:
Ok, script is reading feeds - now we need a way to show them, so let's create list for them (I won't write about using list - info is available in skinning manual) with static content: Code: <control type="list" id="XXX"> Explanation of <onclick>Control.SetFocus(30002)</onclick>: To display item's I've used Group Control: Code: <control type="group"> And of course way to display item: Code: $INFO[Container(XXX).ListItem(0).Label] - displaying current's item header - ronie - 2010-12-07 thanx for the guiless implementation and the documentation grajen3! did a bit of skinning with it tonight and it's definitely working like a charm. very, very cool script. cheers mate! - smuto - 2010-12-07 Quote:Playing media (just youtube now): maybe u find time to add more playable staff i create more pipes to have playable rss xbmc source u can take a look http://trac.xbmc.org/browser/trunk/xbmc/FileSystem/RSSDirectory.cpp and my pipes - LechTV http://pipes.yahoo.com/pipes/pipe.run?_id=7acceee6ebe06dcf6182991b3e5fc9dc&_render=rss - sport.pl http://pipes.yahoo.com/pipes/pipe.run?_id=1ff7ce21b92e513b834fd90fb52c8e6a&_render=rss - Onet Muzyka http://pipes.yahoo.com/pipes/pipe.run?_id=413d8e16c498ffa60e05ce0a3e9d0dbe&_render=rss - 990px - random 3 albums - i use it as slideshow screensaver http://pipes.yahoo.com/pipes/pipe.run?_id=658c65eac05da916cff8929d5f9d8703&_render=rss smuto - pieh - 2010-12-07 smuto Wrote:maybe u find time to add more playable staffThanks for feedback, I modified parsing part to get more medias - you can download it from https://github.com/pieh/script.rssclient Tested and working Sport.pl, onet muzyka, 990px random images. Unfortunately there is nothing I can do about LechTV, because RSS doesn't provide any URL for video: (a szkoda, bo fajnie by było jakby filmiki z Lecha działały ) Code: <item> - CrashX - 2010-12-07 I thought XBMC has a built in RSS reader ? Doesn't it handle video ? Wouldn't it be better if RSS was treated as addon plugin, hence all meta information required for xbmc plugin will be provided by RSS ? Are you planning on adding private rss feeds support ? I take it all of this features in Boxee RSS feed is supported .. http://developer.boxee.tv/RSS_Specification .. - pieh - 2010-12-07 CrashX Wrote:I thought XBMC has a built in RSS reader ? Doesn't it handle video ? Wouldn't it be better if RSS was treated as addon plugin, hence all meta information required for xbmc plugin will be provided by RSS ?Yes, but builtin RSS reader is more like source of video, music feeds. My script is more about displaying text (with possibility of playing video and displaying images). Sure, propably RSS reader could be moved out of XBMC core. But this isn't up to me CrashX Wrote:Are you planning on adding private rss feeds support ?If time and 'internet knowledge' allow me, then yes CrashX Wrote:I take it all of this features in Boxee RSS feed is supported .. http://developer.boxee.tv/RSS_Specification ..I think it's some custom boxee format to add content to boxee's library. It's supported by XBMC, but it suits more for builtin RSS video source than for my script. - smuto - 2010-12-09 2 questions - can u add 'media:thumbnail'? - maybe something like this PHP Code: item.image = itemXML.getElementsByTagName('media:thumbnail')[0].attributes['url'].nodeValue - if i wanted more than one channel to window (Like Home Window), can u set Property? & one extra for set id Quote:feed=http://pipes.yahoo.com/pipes/pipe.run?_id=9c377c68a206d6ae8f2889db97f10084&_ren der=rss - specify source of RSS items (if not used, default feeds from rssfeeds.xml are used)- is possible to give id instead of specify source, something like this XBMC.RunScript(script.rssclient,guiless,feed=id="1",limit=15) smuto ps. it's definitely working like a charm my edits of confluence skin Home.xml IncludesHomeRecentlyAdded.xml/ - fillidill - 2010-12-10 Hi grajen, you've made great progress since my last visit! I've been playing around with the help of your documentation and everything works as it should for me except for the image thumb. I can't seem to get it to work, nothing shows at all. I use Dharma RC1 if that is a problem. Could you please help me figure out what I'm doing wrong? |