Next Up: Getting more information from the On Air Block

Events happening in the community are now at Drupal community events on www.drupal.org.
jchampag's picture

I am interested in making the station On-Air Block show what show is on next. I'm fidgeting a little with php, but I think is beyond my level. if anyone has any advice, I would appreciate it:

e.g.

On Air
Ye Olde Sound of England
Up Next
Grindcore

-John

Comments

use views

drewish's picture

you should try using views to build a now playing block.

More thoughts

jchampag's picture

Using views, the currently playing item :

$view->filter = array (
array (
'tablename' => 'station_schedule',
'field' => 'now_playing',
'operator' => 'IS',
'options' => '',
'value' => '1',
),
);

I am still not sure how I would pull out the next show

-Thanks,
John

Views failing

tim.plunkett's picture

I made a view, and it reports that the program now playing is a show Sunday 12pm-3am, not Wed 2pm-4pm.
I can't figure out how it's reporting this wrong.
I haven't the time to dig through the PHP at the moment, any knowledge of this happening before?

Radio

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: