From 1efcddc156d8a9ee767d1f54d8e4b4a24a42dd0a Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Sun, 3 Jul 2011 21:45:07 +0200 Subject: don't attach devices at probe-time, just queue them --- HISTORY | 4 ++++ dynamite.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index 85f939d..c0f47e5 100644 --- a/HISTORY +++ b/HISTORY @@ -152,3 +152,7 @@ VDR Plugin 'dynamite' Revision History 2011-06-22: Version 0.0.6e - leave eight additional slots free if mcli-plugin is loaded + +2011-07-03: Version 0.0.6f + +- don't attach devices at probe-time, just queue them diff --git a/dynamite.c b/dynamite.c index df5719e..5e253ce 100644 --- a/dynamite.c +++ b/dynamite.c @@ -10,7 +10,7 @@ #include "menu.h" #include "monitor.h" -static const char *VERSION = "0.0.6e"; +static const char *VERSION = "0.0.6f"; static const char *DESCRIPTION = tr("attach/detach devices on the fly"); static const char *MAINMENUENTRY = NULL; @@ -38,9 +38,9 @@ public: new cDynamicDevice; } isyslog("dynamite: grab dvb device %d/%d", Adapter, Frontend); - cDynamicDevice::AttachDevice(*devpath); + //cDynamicDevice::AttachDevice(*devpath); // or better attach later when all plugins are started? - //cDynamicDeviceProbe::QueueDynamicDeviceCommand(ddpcAttach, *devpath); + cDynamicDeviceProbe::QueueDynamicDeviceCommand(ddpcAttach, *devpath); return true; // grab all dvbdevices } }; -- cgit v1.2.3