This is a very old installation that predates the RLM concept; the music database it references predates Rivendell itself. There are two scripts:

        http://interpring.com:56027/wcriplaylist1.txt
        http://interpring.com:56027/wcriplaylist2.txt

The first one runs on the Rivendell machine and extracts the Rivendell cart number and a shirt text file containing just the composer and title of the currently playing piece of music.

I forget what we used to do with the short text file; currently, it's only used by me to confirm that the first script is working correctly.

The cart number is transmitted to another machine containing a copy of World Classical Network's music database, which is a MySQL database I created when I wrote their music scheduling software for WCRB back in 2002.

The second script, running on the machine with the WCN database, looks up the conductor, ensemble, and soloists (if any) of the piece and transmits all this information to three places:

1) Omnia A/XE, running under Windows XP on a virtual machine, which originates the Internet stream;

2) A text file called nowplaying.txt, which the Web site reads and incorporates into the home page;

3) A daily playlist HTML file, containing each piece of music and a "buy now" link to arkivmusic.com.

There are some loose ends in the script that don't do anything any more.

Much of the script is devoted to translating arcane abbreviations in the database entries into plain English.

When this all was originally written, Rivendell didn't have enough fields to completely describe a piece of classical music, and the music scheduling database predates Rivendell; originally it was a set of Wang VS indexed files maintained by a 12,000-line COBOL program (the original project started by my predecessor was written in RPG II).

If I had to do this today, I'd put everything in the Rivendell database and keep only broadcast history separately (a classical format typically has several different performances of each piece, but they all share the same broadcast history).

Rob

--
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to