XBMC Community Forum
news on demand. - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+--- Thread: news on demand. (/showthread.php?tid=134511)



news on demand. - wacked - 2012-06-22 03:07

Hey guys

any way this site:

http://www.cfjctv.com/newsOnDemand.php


could be put onto xbmc?

If so im need a wee but of explainin on how

thank you very much


RE: news on demand. - PatK - 2012-06-22 06:17

If you throw http://www.cfjctv.com/eveningnews/JUN_21_THU_2012.m4v into your browser you'll get the video feed. Note the date, so if you make a link for this one.. when the date changes the feed changes. Looks like a bit of Javascript behind this...


RE: news on demand. - wacked - 2012-06-23 01:16

Hi

Thanks PatK for this.


You wouldnt know how to auto change the date would you?
I dont know programming ,maybe i just make a big list of future dates , i dunno

would i make a play list of some sort or rss?


http://www.cfjctv.com/eveningnews/JUN_21_THU_2012.m4v
http://www.cfjctv.com/eveningnews/JUN_22_FRI_2012.m4v
http://www.cfjctv.com/eveningnews/JUN_23_SAT_2012.m4v

seems this would take a while



Wes


RE: news on demand. - wacked - 2012-06-24 08:06

anyone
?


RE: news on demand. - wilson.joe - 2012-07-25 10:10

create a bash script say call it cdjctv.sh

Code:
addie='http://www.cfjctv.com/eveningnews/'
thedate=`date +"%b_%d_%a_%Y.m4v"`
rm cdjctv.txt > /dev/null
echo $addie$thedate | tr '[:lower:]' '[:upper:]' >> cdjctv
echo $addie$thedate >> cdjctv
wget -i cdjctv

and add it to a cron job if your using linux.. or you could add it to run in your
menu depending on what skin you are using. The thing about running it as
a cron you need to know when todays video is added to site or it wont get it.