2017-10-14 Fred Gleason <fredg@paravelsystems.com>

* Implemented resolution of date wildcards for the RLM 'Path' and
	'Argument' parameters.
This commit is contained in:
Fred Gleason 2017-10-14 11:22:35 -04:00
parent fb9487810b
commit a5861283c9
3 changed files with 14 additions and 9 deletions

View File

@ -16096,3 +16096,6 @@
RDAdmin(1). RDAdmin(1).
2017-10-14 Fred Gleason <fredg@paravelsystems.com> 2017-10-14 Fred Gleason <fredg@paravelsystems.com>
* Implemented a '%r' wildcard for Rivendell Host Name. * Implemented a '%r' wildcard for Rivendell Host Name.
2017-10-14 Fred Gleason <fredg@paravelsystems.com>
* Implemented resolution of date wildcards for the RLM 'Path' and
'Argument' parameters.

View File

@ -2,7 +2,7 @@
// //
// A container class for a Rivendell Loadable Module host. // A container class for a Rivendell Loadable Module host.
// //
// (C) Copyright 2008,2016 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2008,2016-2017 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@ -22,20 +22,21 @@
#include <iostream> #include <iostream>
#include <rdconf.h> #include <rdconf.h>
#include <rdprofile.h> #include <rddatedecode.h>
#include <rdnownext.h> #include <rdnownext.h>
#include <rdprofile.h>
#include <rdsvc.h> #include <rdsvc.h>
#include <globals.h> #include "globals.h"
#include <rlmhost.h> #include "rlmhost.h"
RLMHost::RLMHost(const QString &path,const QString &arg, RLMHost::RLMHost(const QString &path,const QString &arg,
QSocketDevice *udp_socket,QObject *parent) QSocketDevice *udp_socket,QObject *parent)
: QObject(parent) : QObject(parent)
{ {
plugin_path=path; plugin_path=RDDateDecode(path,QDate::currentDate(),air_config);
plugin_arg=arg; plugin_arg=RDDateDecode(arg,QDate::currentDate(),air_config);
plugin_udp_socket=udp_socket; plugin_udp_socket=udp_socket;
plugin_handle=NULL; plugin_handle=NULL;
plugin_start_sym=NULL; plugin_start_sym=NULL;

View File

@ -2,7 +2,7 @@
// //
// A container class for a Rivendell Loadable Module host. // A container class for a Rivendell Loadable Module host.
// //
// (C) Copyright 2008,2016 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2008,2016-2017 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@ -29,9 +29,10 @@
#include <qsocketnotifier.h> #include <qsocketnotifier.h>
#include <qtimer.h> #include <qtimer.h>
#include <rdttydevice.h>
#include <rdlog_line.h>
#include <rdairplay_conf.h> #include <rdairplay_conf.h>
#include <rdlog_line.h>
#include <rdttydevice.h>
#include "../rlm/rlm.h" #include "../rlm/rlm.h"
class RLMHost : public QObject class RLMHost : public QObject