diff options
author | methodus <methodus@web.de> | 2012-11-30 22:33:50 +0100 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-11-30 22:33:50 +0100 |
commit | 6e84bf963413305833c980b2fe070fc690892418 (patch) | |
tree | b8ebf5543852d31ede005faae1f7bc6e8a5313f2 /plugins/provider/fileProvider | |
parent | e6c28c5209b5508a61affc947179260cec0d2733 (diff) | |
download | vdr-plugin-upnp-6e84bf963413305833c980b2fe070fc690892418.tar.gz vdr-plugin-upnp-6e84bf963413305833c980b2fe070fc690892418.tar.bz2 |
Added the ability to filter the number of channels outputed by the vdrProvider
Diffstat (limited to 'plugins/provider/fileProvider')
-rw-r--r-- | plugins/provider/fileProvider/fileProvider.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/provider/fileProvider/fileProvider.cpp b/plugins/provider/fileProvider/fileProvider.cpp index cbc84c2..a60d772 100644 --- a/plugins/provider/fileProvider/fileProvider.cpp +++ b/plugins/provider/fileProvider/fileProvider.cpp @@ -6,6 +6,7 @@ */ #include <plugin.h> +#include <server.h> #include <fstream> #include <sstream> #include <tools/string.h> @@ -82,7 +83,7 @@ public: : fileFD(NULL) { stringstream file; - file << cPlugin::ConfigDirectory(PLUGIN_NAME_I18N) << "/directories.conf"; + file << cMediaServer::GetInstance()->GetConfigDirectory() << "/directories.conf"; Load(file.str()); } |