aboutsummaryrefslogtreecommitdiffstats
path: root/mediaplugin/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'mediaplugin/src/base')
-rw-r--r--mediaplugin/src/base/UMain.pas3
-rw-r--r--mediaplugin/src/base/UPathUtils.pas2
2 files changed, 5 insertions, 0 deletions
diff --git a/mediaplugin/src/base/UMain.pas b/mediaplugin/src/base/UMain.pas
index 14a543d1..96031f89 100644
--- a/mediaplugin/src/base/UMain.pas
+++ b/mediaplugin/src/base/UMain.pas
@@ -93,6 +93,7 @@ uses
ULuaTextGL,
ULuaParty,
ULuaScreenSing,
+ UMediaPlugin,
UTime;
procedure Main;
@@ -183,6 +184,8 @@ begin
Log.BenchmarkEnd(1);
Log.LogBenchmark('Loading Ini', 1);
+ LoadMediaPlugins();
+
// Sound
Log.BenchmarkStart(1);
Log.LogStatus('Initialize Sound', 'Initialization');
diff --git a/mediaplugin/src/base/UPathUtils.pas b/mediaplugin/src/base/UPathUtils.pas
index 2bfcde42..beb1d64a 100644
--- a/mediaplugin/src/base/UPathUtils.pas
+++ b/mediaplugin/src/base/UPathUtils.pas
@@ -50,6 +50,7 @@ var
CoverPaths: IInterfaceList;
LanguagesPath: IPath;
PluginPath: IPath;
+ MediaPluginPath: IPath;
VisualsPath: IPath;
FontPath: IPath;
ResourcesPath: IPath;
@@ -170,6 +171,7 @@ begin
FindPath(SkinsPath, SharedPath.Append('themes'), false);
FindPath(LanguagesPath, SharedPath.Append('languages'), false);
FindPath(PluginPath, SharedPath.Append('plugins'), false);
+ FindPath(MediaPluginPath, SharedPath.Append('media'), false);
FindPath(VisualsPath, SharedPath.Append('visuals'), false);
FindPath(FontPath, SharedPath.Append('fonts'), false);
FindPath(ResourcesPath, SharedPath.Append('resources'), false);