diff options
-rw-r--r-- | src/VideoPlayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp index 4a50f79..8614e94 100644 --- a/src/VideoPlayer.cpp +++ b/src/VideoPlayer.cpp @@ -170,6 +170,7 @@ namespace QuickMedia { video_player_filepath = "/usr/bin/quickmedia-video-player"; std::string config_dir = "--config-dir=" + startup_args.resource_root + "mpv"; + std::string input_conf_file = "--input-conf=" + startup_args.resource_root + "mpv/input.conf"; std::vector<const char*> args; // TODO: Resume playback if the last video played matches the first video played next time QuickMedia is launched @@ -246,6 +247,7 @@ namespace QuickMedia { args.push_back("--config=yes"); args.push_back("--load-scripts=yes"); args.push_back("--osc=yes"); + args.push_back(input_conf_file.c_str()); } else { args.insert(args.end(), { config_dir.c_str(), |