diff options
author | methodus <methodus@web.de> | 2012-11-09 09:14:08 +0100 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-11-09 09:14:08 +0100 |
commit | aa4a589d07999f0d7adacc1888e2d0e12700bffb (patch) | |
tree | 36412dd12a198a0ecade31b453e8cc6de14e03f7 /upnp.cpp | |
parent | bfe748cec0bc44f4d6863a90cf9567302ab04158 (diff) | |
download | vdr-plugin-upnp-aa4a589d07999f0d7adacc1888e2d0e12700bffb.tar.gz vdr-plugin-upnp-aa4a589d07999f0d7adacc1888e2d0e12700bffb.tar.bz2 |
Shutdown is postponed if there are active requests open. Default is 5 minutes.
Diffstat (limited to 'upnp.cpp')
-rw-r--r-- | upnp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ void cPluginUpnp::Stop(void) cString cPluginUpnp::Active(void) { - if(request_counter_t::OPEN_REQUESTS > 0){ + if(mMediaServer->GetConfiguration().maxRequestTime > 0 && request_counter_t::OPEN_REQUESTS > 0){ return cString::sprintf(tr("There are %d requests active."), request_counter_t::OPEN_REQUESTS.Get()); } return NULL; |