2020-08-08 Fred Gleason <fredg@paravelsystems.com>

* Added a 'PODCASTS.ORIGIN_LOGIN_NAME' field to the database.
	* Added a 'PODCASTS.ORIGIN_STATION' field to the database.
	* Incremented the database version to 330.
	* Changed the 'Origin' column to 'Start' in the 'Podcast Item List'
	dialog in rdcastmanager(1).
	* Added a 'Posted By' column to the 'Podcast Item List'	dialog in
	rdcastmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-08-08 14:37:48 -04:00
parent a16e1b0dcc
commit 9a428ad855
19 changed files with 379 additions and 59 deletions

View File

@@ -1660,6 +1660,8 @@ unsigned RDFeed::CreateCast(QString *filename,int bytes,int msecs) const
"ITEM_LINK=\""+RDEscapeString(q->value(3).toString())+"\","+
"ITEM_AUTHOR=\""+RDEscapeString(rda->user()->emailContact())+"\","+
"EFFECTIVE_DATETIME=now(),"+
"ORIGIN_LOGIN_NAME=\""+RDEscapeString(rda->user()->name())+"\","+
"ORIGIN_STATION=\""+RDEscapeString(rda->station()->name())+"\","+
"ORIGIN_DATETIME=now(),";
if(RDBool(q->value(7).toString())) {
sql+=QString().sprintf("STATUS=%d,",RDPodcast::StatusActive);