Kodi Community Forum

Full Version: [RELEASE] Fox News Video
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
Fox News.zip

Updated Fox News Plugin.





Only tested on xbox. Video quality is very high (.mp4). I'll admit that I know very little about python, all credit goes to Voinage for his tutorial.
tested on xbox myself, works well. Thank You!
tested on final camelot vista, works very well !

voinage is a good start, you'll discover a lot much after !
tested on 9.04 Ubuntu works.! Smile
does this work with dharma
check your add-on browser Wink
This plugin is broken. It's an easy fix, except I'm having trouble with the thumbnail.

n00b question: How to handle [ ] in a scrape.
example
Code:
<media:thumbnail><![CDATA[http://video.foxnews.com/thumbnails/092110/640/360/092110_ff_dream_FNC_092110_06-57.jpg]]></media:thumbnail>\n
just grab the CDATA block verbatim. it's only CDATA ("coded data"?) from a XML point of view. http://www.w3schools.com/xml/xml_cdata.asp
Sorry but you lost me thereHuh

Maybe a working example? This defaultpy works, minus the thumbnails. http://pastebin.com/uz3qFfz6
i don't write python unless i absolutely have to. in regexp you'd do

<media:thumbnail>(?:!\[CDATA\[)([^<]+)(?:\]\])</media:thumbnail>
And the correct answer is,
<media:thumbnail><!\[\CDATA\[(.+?)]\]\></media:thumbnail>\n

Digging that http://www.w3schools.com siteSmile
Is this addon working for everyone? I seem to get an empty playlist.
Looks like an easy fix but, I think I'm going to rewrite this add-on, even though the "fox news live" add-on rules. Maybe the two should be combined into one?

Give me a couple of days.
FWIW - Fox news live plugin does not appear to be working either (it appeared to stop working - the feed simply does not load - at the same time as the Fox News Plugin went down).
divingmule Wrote:Looks like an easy fix but, I think I'm going to rewrite this add-on, even though the "fox news live" add-on rules. Maybe the two should be combined into one?

Give me a couple of days.

While the "Fox News Live" addon is really great in the way it simulates live TV, the "Fox News" addon provides the ability to pick and choose the videos you want to watch. Both are a great addition to XBMC.

Thanks
Pages: 1 2 3 4 5 6 7 8 9 10 11 12