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:
Fred Gleason
2016-05-18 13:43:21 -04:00
parent df9ac7cff1
commit 3b766a5e7d
34 changed files with 689 additions and 44 deletions

View File

@@ -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 {
//