Hi.
The one I reported here:
http://mantis.rivendellaudio.org/view.php?id=53
was not really a bug, rdairplay just lacked a feature :)
Needed this feature very badly! So I implemented it...
This executes the Audition/Cue RMLs on "Audition Head" and "Audition
Tail" buttons in rdairplay/loglist
Here's the patch :)
*** rivendell-2.1.4-orig/rdairplay/log_play.cpp 2010-07-29
21:32:36.000000000 +0200
--- rivendell-2.1.4/rdairplay/log_play.cpp 2012-06-28
22:40:52.000000000 +0200
*************** void LogPlay::auditionHead(int line)
*** 256,261 ****
--- 256,265 ----
play_audition_head_played=true;
play_audition_player->setCart(logline->cartNumber());
play_audition_player->play();
+ QString rml=rdairplay_conf->startRml(3);
+ if(!rml.isEmpty()) {
+ rdevent_player->exec(logline->resolveWildcards(rml));
+ }
}
*************** void LogPlay::auditionTail(int line)
*** 276,281 ****
--- 280,289 ----
start_pos=0;
}
play_audition_player->play(start_pos);
+ QString rml=rdairplay_conf->startRml(3);
+ if(!rml.isEmpty()) {
+ rdevent_player->exec(logline->resolveWildcards(rml));
+ }
}
*************** void LogPlay::auditionStop()
*** 287,292 ****
--- 295,304 ----
if(play_audition_line>=0) {
play_audition_player->stop();
}
+ QString rml=rdairplay_conf->stopRml(3);
+ if(!rml.isEmpty()) {
+ rdevent_player->exec(rml);
+ }
}
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev