news on demand.

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
wacked Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #1
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
find quote
PatK Offline
Donor
Posts: 3,355
Joined: Mar 2010
Reputation: 75
Location: Canada
Post: #2
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...
find quote
wacked Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #3
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
find quote
wacked Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #4
anyone
?
find quote
wilson.joe Offline
Fan
Posts: 449
Joined: Nov 2010
Reputation: 6
Location: Salem, Or
Post: #5
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.

In a world without walls and fences who needs windows and gates, open source, opens minds, so open yours today.

[Image: widget]
(This post was last modified: 2012-07-25 10:42 by wilson.joe.)
find quote