diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2011-07-03 21:45:07 +0200 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2011-07-03 21:45:07 +0200 |
commit | 1efcddc156d8a9ee767d1f54d8e4b4a24a42dd0a (patch) | |
tree | b874ffc4de63ce6106121e0eaf59250f4773a3ce | |
parent | 9f745033c65bfd0f8c1a95548d5253d5368c31a5 (diff) | |
download | vdr-plugin-dynamite-1efcddc156d8a9ee767d1f54d8e4b4a24a42dd0a.tar.gz vdr-plugin-dynamite-1efcddc156d8a9ee767d1f54d8e4b4a24a42dd0a.tar.bz2 |
don't attach devices at probe-time, just queue themv0.0.6f
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | dynamite.c | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -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 @@ -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 } }; |