there are a lot of pro- & local-users demanding this.Bart said:Albert: those "features" were asked for already for years.
who voted for the "Playout History"? For how long?
A playout history which is useless as you MUST use the ls_script.liq functionality if you want to do some basic things (which isn't visible in the playout history at all!)
So what's the purpose of creating 'enhance requests' & voting, as it's completely being ignored.Playout History
Airtime 2.5.1, the open radio software for scheduling and remote station management.
How add jingles every x songs with Dynamic Smart Block:
Edit file: /usr/share/airtime/application/models/Block.php
Modify function: getListOfFilesUnderLimit()
// Add this code to add jingles to dynamyc smart block
$rand++;
if ($rand >= 1 && rand(1,10) > 3 ){
$item_insertList = get_item_insertList();
$insertList[] = $item_insertList['item'];
$totalTime += $item_insertList['length'];
$totalItems++;
$rand = 0;
}
And add function
// Return random jingle
function get_item_insertList(){
$jingles = array(
// array with jingles
array ( 'id' => 545, 'length'=> 27.193 ), // jingle ID and lenght
);
// return random jingle in array
$jingle = $jingles[ rand(0, count($jingles) - 1 ) ];
$item_insertList = array( 'item' => $jingle, 'length' => $jingle['length'] );
return $item_insertList;
}
http://www.algoritmo.fr/add-jingles-to-sourcefabric-airtime-radio/
It looks like you're new here. If you want to get involved, click one of these buttons!