-add plugin hdd dir menu

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@734 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-08-20 19:11:12 +00:00
parent 50434fe0da
commit 9699447317
8 changed files with 28 additions and 3 deletions

View File

@@ -66,7 +66,6 @@ extern CPlugins * g_PluginList; /* neutrino.cpp */
extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
#define PLUGINDIR_VAR "/var/tuxbox/plugins"
#define PLUGINDIR_HDD "/hdd/tuxbox/plugins"
#define PLUGINDIR_USB "/mnt/usb/tuxbox/plugins"
bool CPlugins::plugin_exists(const std::string & filename)
@@ -152,7 +151,7 @@ void CPlugins::loadPlugins()
number_of_plugins = 0;
plugin_list.clear();
scanDir(PLUGINDIR_HDD);
scanDir(g_settings.plugin_hdd_dir.c_str());
scanDir(PLUGINDIR_USB);
scanDir(PLUGINDIR_VAR);
scanDir(PLUGINDIR);