Kodi Community Forum
news on demand. - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: news on demand. (/showthread.php?tid=134511)



news on demand. - wacked - 2012-06-22

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

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

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

anyone
?


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

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.