|
Lines 27-32
Link Here
|
| 27 |
static const char *VERSION = "0.2.7"; |
27 |
static const char *VERSION = "0.2.7"; |
| 28 |
static const char *DESCRIPTION = "VDR on MVP plugin by Chris Tallon"; |
28 |
static const char *DESCRIPTION = "VDR on MVP plugin by Chris Tallon"; |
| 29 |
|
29 |
|
|
|
30 |
static char *PLUGIN_CONFIG_SUBDIR = "vomp"; |
| 31 |
|
| 30 |
class cPluginVompserver : public cPlugin |
32 |
class cPluginVompserver : public cPlugin |
| 31 |
{ |
33 |
{ |
| 32 |
public: |
34 |
public: |
|
Lines 61-67
Link Here
|
| 61 |
bool cPluginVompserver::Start(void) |
63 |
bool cPluginVompserver::Start(void) |
| 62 |
{ |
64 |
{ |
| 63 |
// Start any background activities the plugin shall perform. |
65 |
// Start any background activities the plugin shall perform. |
| 64 |
int success = mvpserver.run(configDir); |
66 |
int success = mvpserver.run(configDir ? configDir : PLUGIN_CONFIG_SUBDIR); |
| 65 |
if (success) return true; |
67 |
if (success) return true; |
| 66 |
else return false; |
68 |
else return false; |
| 67 |
} |
69 |
} |