summaryrefslogtreecommitdiff
path: root/plugins/provider/fileProvider
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-11-30 22:33:50 +0100
committermethodus <methodus@web.de>2012-11-30 22:33:50 +0100
commit6e84bf963413305833c980b2fe070fc690892418 (patch)
treeb8ebf5543852d31ede005faae1f7bc6e8a5313f2 /plugins/provider/fileProvider
parente6c28c5209b5508a61affc947179260cec0d2733 (diff)
downloadvdr-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.cpp3
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());
}