Hi,
Tried to reply to this and the message got eaten by the list due to
attachment size. You have to make your own custom thing to post to a
website. I have a wordpress plugin and a standalone bit of php/MySQL.
I'm copying the message I sent back in April for further info:
Hi,
I made a wordpress plugin that shows just the now playing, theres also
a standalone version that could be adapted. Behind the scenes this is
one db table with the following info:
time - Time the event started
artist
title
length - How long the song was
endtime - calculated end time (based on the time + length)
A little php for the table would do what you want. But first you need
now playing from Rivendell. I made an RLM module that spits output to a
php page (this page then puts it in the database).
General setup is as follows:
./create_table.sql: run this to create the MySQL table on your Website
./tvanowplaying.php: Simple HTML shows "The Voice Asia Live!" until
the javascript kicks in so edit that text if you want.
./tvanowplayingupdate.php: Called by JQuery to get the now playing
info
./includes/functions.php: Change the MySQL details on line 12.
./includes/tva_nowplaying_functions.js: Change the jQuery.get URL to
match where tvanowplayingupdate.php lives
./rlm/rlm_wordpress.c: Compile this RLM module with Riv
./rlm/rlm_nowOrNext.php: Change the $MYSQL and $KNOWN_IPS and then put
this on your webhost.
./rlm/rlm_wordpress.conf: Sample RLM config file, change the hostname
to where you placed rlm_nowOrNext.php and change any other settings you
might want.
If you ignore the now playing stuff, all you need is to create the
table and then use the RLM files. You'd then need to make a php page to
display the table in a pleasing way.
The attachment was a few k too big for the mailing list so I've
uploaded it here:
http://thevoiceasia.com/rivendell/tva_nowplaying_standalone.tar.gz
Regards,
Wayne
On 2013-12-07 05:01, Robert wrote:
I am struggling to set up Now & Next in v2
I want to take Now & Next data from the server on x.x.x.200 and post
it
on a web page which resides on x.x.x.30
I assume the target ip is the x.x.x.30 one, and the port can be
[almost] anything ...
Once this is configured do I have to restart RD?
No problem with firewall it's off.
Ports on the local network should just work so no need to bother the
modem/router.
Then which option should I use to integrate the Now & Next in the web
page and into the darkice>icecast2 stream.
There must be someone who has done this already!
It's been a fun afternoon.
Time for recommendations from the panel!
Robert Jeffares
The Wireless Station 1530 kHz
Hawkes Bay
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev