I've been cranking away on the station module's HEAD branch adding features. I've committed a patch that makes the station schedule into a node allowing multiple schedules to be created. I plan to do something similar for the archives before creating a 5.x-2.x branch.
The next big feature that I wanted to announce here is the Station Catalog module. I'd committed the initial code in November of last year but got distracted by other projects. In the last few weeks I've started working on it again with the goal of moving KPSU's Microsoft Access based album catalog online. I'm happy to say that it's finally reached a usable state and I'd like to start getting some testing and feedback.
As with most station.module development I'm building what I need first and then looking to add features to support the workflow of other stations. I don't know what everyone else is using to track their albums but if you're interested in using the module let me know. I might have some time to help you import your existing data.
I'm attaching the script I used to import our database. It's obviously specific to our setup but should provide some example code. One problem with the script is that it uses Microsoft ADODB layer to access the database. Our ISP runs on Linux so I had to go through the following process to do the import:
- Put the site maintenance mode to prevent any new content from being added.
- Dump the database to a file.
- Download a database dump and install it on my local machine.
- Enable the station_catalog module locally.
- Run the import.php script.
- Dump the database from my machine to a file.
- Upload the database dump to our ISP and install it.
- Bring the site out of maintenance mode.
| Attachment | Size |
|---|---|
| import.php_.txt | 3.35 KB |

Comments
multiple schedules question
So, I downloaded the head and see what you've done with multiple schedules. It seems like this is mostly for stations that have more than one stream.
Is there a way this could work for stations that have schedules that change according to the week of the month? I suppose I could create 5 schedules, and write a little code to match up the day of the month with the proper schedule (i.e. third tuesday).
Other ideas?
-Roger
Sounds cool... I'll check it
Sounds cool... I'll check it out.
My station is finally launching on FM this week. Previously, we've replaced the regular schedule on holiday weekends when no-one is in, running prerecorded shows.
Would this work with the multiple schedule feature? I'd want to replace the regular schedule with the holiday one for the weekend and then restore it.
With Schedule, it would also
With Schedule, it would also be nice to do recurring event so you can enter one time frame and apply it to multiple days