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:
Fred Gleason
2017-08-31 12:38:39 -04:00
parent 8d9a2ecadc
commit aef7c2229b
80 changed files with 216 additions and 69 deletions

View File

@@ -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);