mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 15:16:07 +01:00
2016-05-18 Fred Gleason <fredg@paravelsystems.com>
* Added an entry for the Broadcast Tools SRC-16 in 'docs/SWITCHERS.txt'. * Added a 'CUT_EVENTS' table to the database. * Added a 'DECK_EVENTS' table to the database. * Incremented the database version to 256. * Implemented a 'Cut Event' ['CE'] RML. * Added a 'Event Carts' section to the Edit Deck dialog in 'rdadmin/edit_deck.cpp' and 'rdadmin/edit_deck.h'.
This commit is contained in:
@@ -1475,10 +1475,16 @@ bool RDCart::removeCutAudio(RDStation *station,RDUser *user,unsigned cart_num,
|
||||
long response_code=0;
|
||||
char url[1024];
|
||||
QString xml="";
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
|
||||
if(user==NULL) {
|
||||
unlink(RDCut::pathName(cutname));
|
||||
unlink(RDCut::pathName(cutname)+".energy");
|
||||
sql=QString("delete from CUT_EVENTS where ")+
|
||||
"CUT_NAME=\""+cutname+"\"";
|
||||
q=new RDSqlQuery(sql);
|
||||
delete q;
|
||||
}
|
||||
else {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user