Example #1
0
        public static void show_prefs(string[] args)
        {
            string filepath = Folder.AppDataRoaming + "mpv\\mpv.conf";

            if (!File.Exists(filepath))
            {
                var dirPath = Folder.AppDataRoaming + "mpv\\";

                if (!Directory.Exists(dirPath))
                {
                    Directory.CreateDirectory(dirPath);
                }

                File.WriteAllText(filepath, "# https://mpv.io/manual/master/#configuration-files");
            }

            ProcessHelp.Start(OS.GetTextEditor(), '"' + filepath + '"');
        }
Example #2
0
 public static void open_config_folder(string[] args)
 {
     ProcessHelp.Start(Folder.AppDataRoaming + "mpv");
 }
Example #3
0
 public static void show_keys(string[] args)
 {
     ProcessHelp.Start(OS.GetTextEditor(), '"' + mpv.InputConfPath + '"');
 }
Example #4
0
 public static void show_prefs(string[] args)
 {
     CreateMpvConf();
     ProcessHelp.Start(OS.GetTextEditor(), '"' + mpv.mpvConfPath + '"');
 }