Default output filename template using makemkvcon

Everything related to MakeMKV
Post Reply
rakorm
Posts: 4
Joined: Mon Jan 20, 2020 8:09 am

Default output filename template using makemkvcon

Post 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?
Woodstock
Posts: 10327
Joined: Sun Jul 24, 2011 11:21 pm

Re: Default output filename template using makemkvcon

Post by Woodstock »

No, it's not a case of "the wrong forum", but more a case of not many people know the answer.
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Default output filename template using makemkvcon

Post 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.
rakorm
Posts: 4
Joined: Mon Jan 20, 2020 8:09 am

Re: Default output filename template using makemkvcon

Post 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'?
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Default output filename template using makemkvcon

Post 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"
rakorm
Posts: 4
Joined: Mon Jan 20, 2020 8:09 am

Re: Default output filename template using makemkvcon

Post by rakorm »

Thank you mike, for answering in detail.
And: Thanks for MakeMKV!!!
Post Reply