mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2017-08-31 Fred Gleason <fredg@paravelsystems.com>
* Modified web client components to use a distinctive http USER_AGENT string.
This commit is contained in:
@@ -76,6 +76,7 @@ MainObject::MainObject(QObject *parent)
|
||||
//
|
||||
purge_config=new RDConfig();
|
||||
purge_config->load();
|
||||
purge_config->setModuleName("rdpurgecasts");
|
||||
|
||||
//
|
||||
// Open Database
|
||||
@@ -128,8 +129,8 @@ void MainObject::PurgeCast(unsigned id)
|
||||
where PODCASTS.ID=%u",id);
|
||||
q=new RDSqlQuery(sql);
|
||||
while(q->next()) {
|
||||
feed=new RDFeed(q->value(0).toUInt());
|
||||
cast=new RDPodcast(id);
|
||||
feed=new RDFeed(q->value(0).toUInt(),purge_config);
|
||||
cast=new RDPodcast(purge_config,id);
|
||||
cast->removeAudio(feed,&errs,purge_config->logXloadDebugData());
|
||||
if(purge_verbose) {
|
||||
printf("purging cast: ID=%d,cmd=\"%s\"\n",id,(const char *)cmd);
|
||||
|
||||
Reference in New Issue
Block a user