Page 2 of 2

Re: MPLS: CLI parsing

Posted: Sun Nov 26, 2017 8:46 am
by admin
There's an INI file option to enable it: Full_Path_In_Files=1. It is enabled by default for a new INI file.

It should be working fine, please advise if not.

Re: MPLS: CLI parsing

Posted: Sun Nov 26, 2017 9:49 am
by Zathor
Yes, indeed. I should read the help first :wow:

If I delete the ini and have it created again by the GUI it is "Full_Path_In_Files=1".
However in order to set "ResponseOnAudioMismatch=1" for the very first start I write if no ini is found a new ini only with this line. If this ini is parsed with a CLI command at the end of the indexing a new INI will be written which contains "Full_Path_In_Files=0". Not sure if this is advised at all what I am doing...

EDIT: While comparing an INI file which has been created by CLI based on the INI with my one line and a proper INI created by the GUI these lines have a different value (values from my "CLI" INI):

Code: Select all

Window_Position=0,0
Info_Window_Position=0,0
Process_Priority=0
Playback_Speed=0
AVS_Template_Folder=1
AVS_Template_File=
AVS_Enable_Template=0
Full_Path_In_Files=0
Enable_Info_Log=0
HEVC_Extension=hevc
AlwaysCrop=0
Enable_Audio_Demux=0
CUDA_Device=0
Full_Info=0
EDIT2: And I noticed that writing only "ResponseOnAudioMismatch=1" in the ini will still popup the dialogue. So it is not detected as proper ini. I have to write therefore everything. So the issue above is not valid anymore (except you want to change the ini read procedure).

Re: MPLS: CLI parsing

Posted: Sun Nov 26, 2017 10:36 am
by admin
The INI file has to have all its entries and in the proper order.

Is there anything I need to do?

Re: MPLS: CLI parsing

Posted: Sun Nov 26, 2017 10:54 am
by Zathor
No, thanks. I have now written the complete ini file with all its default values and it is working fine. :)

Re: MPLS: CLI parsing

Posted: Sun Nov 26, 2017 11:07 am
by admin
Sweet, then I'll mark this resolved.

Re: [RESOLVED] MPLS: CLI parsing

Posted: Sun Nov 26, 2017 1:41 pm
by Zathor
Thanks again, I did also my work within MeGUI:

Code: Select all

2786 [DGIndex* Indexer]     all: support absolute paths in the index files when written with Full_Path_In_Files=0
                            IM/NV: ensure that ResponseOnAudioMismatch=0 is not set (if set, it will be set to 1)

Re: [RESOLVED] MPLS: CLI parsing

Posted: Sun Nov 26, 2017 5:53 pm
by admin
Onward and upward for you in 2018!

Maybe you meant Full_Path_In_Files=1? If not, maybe I am confused.