Page 1 of 1

Default output filename template using makemkvcon

Posted: Tue Jan 28, 2020 9:22 am
by rakorm
Is it possible to configure a default output filename for the commandline tool makemkvcon? I know, you can do that with the GUI-Version. How do I do that for makemkvcon?

Thanks and have a nice day :)

EDIT: Do I ask in the wrong forum?

Re: Default output filename template using makemkvcon

Posted: Fri Jan 31, 2020 3:22 pm
by Woodstock
No, it's not a case of "the wrong forum", but more a case of not many people know the answer.

Re: Default output filename template using makemkvcon

Posted: Fri Jan 31, 2020 3:32 pm
by mike admin
This setting is stored in preferences. You can edit them in GUI and makemkvcon would pick them. Or you can edit preferences by hand, but this is only recommended as a last resort, if you have no gui at all.

Re: Default output filename template using makemkvcon

Posted: Fri Jan 31, 2020 8:20 pm
by rakorm
mike admin wrote:
Fri Jan 31, 2020 3:32 pm
This setting is stored in preferences. You can edit them in GUI and makemkvcon would pick them. Or you can edit preferences by hand, but this is only recommended as a last resort, if you have no gui at all.
Thanks for clearing this up. I have no gui, so I have to edit the preferences by hand. But: where do I find the preferences for the output filename template?
~/.MakeMKV has two files: settings.conf (written by me for app_Key) and update.conf (MakeMKV settings file, written by MakeMKV).
Are those files the 'preferences'?

Re: Default output filename template using makemkvcon

Posted: Fri Jan 31, 2020 11:38 pm
by mike admin
rakorm wrote:
Fri Jan 31, 2020 8:20 pm
~/.MakeMKV has two files: settings.conf (written by me for app_Key) and update.conf (MakeMKV settings file, written by MakeMKV).
Which implies that your OS is Linux (settings are stored in different places on Windows, Mac and Linux).
The list of all settings can be (reliably) looked up in open-source part of MakeMKV - check the apdefs.h file. At the time of this writing the list is:

Code: Select all

typedef enum _ApSettingId
{
  apset_dvd_MinimumTitleLength ,
  apset_dvd_TestMTL ,
  apset_dvd_SPRemoveMethod ,
  apset_app_DataDir ,
  apset_app_Key ,
  apset_app_KeyHash ,
  apset_io_ErrorRetryCount ,
  apset_io_IgnoreReadErrors ,
  apset_io_RBufSizeMB ,
  apset_io_TIPS_Server ,
  apset_app_ExpertMode ,
  apset_io_DarwinK2Workaround ,
  apset_fs_ForceIsoForUDF102 ,
  apset_app_DestinationType ,
  apset_app_DestinationDir ,
  apset_app_ShowDebug ,
  apset_app_PreferredLanguage ,
  apset_app_BackupDecrypted ,
  apset_app_InterfaceLanguage ,
  apset_app_UpdateEnable ,
  apset_io_SingleDrive ,
  apset_app_ShowAVSyncMessages ,
  apset_bdplus_DumpAlways ,
  apset_app_DefaultProfileName ,
  apset_app_DefaultSelectionString ,
  apset_app_Java ,
  apset_app_ccextractor ,
  apset_path_OpenFile ,
  apset_path_DestDir ,
  apset_app_DefaultOutputFileName ,
  apset_sdf_Stop ,
} ApSettingId;
The setting you are asked for is called app_DefaultOutputFileName, so you have to add the following to ~/settings.conf:

Code: Select all

app_DefaultOutputFileName = "bla"

Re: Default output filename template using makemkvcon

Posted: Sat Feb 01, 2020 8:33 am
by rakorm
Thank you mike, for answering in detail.
And: Thanks for MakeMKV!!!