Posted by jchampag on January 22, 2008 at 6:57pm
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
you should try using views to build a now playing block.
More thoughts
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
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?