Please could someone tell me how to call configuration change in code?
I am trying to modify TranscodeVirtualFolder.java in way that when it is called, it will set A/V alternate sync to ENABLED/DISABLED:
package net.pms.dlna.virtual;
import net.pms.PMS;
public class TranscodeVirtualFolder extends VirtualFolder {
public void enable() {
PMS.getConfiguration().setMencoderNoOutOfSync(false);
}
public TranscodeVirtualFolder(String thumbnailIcon) {
super(TRANSCODE_FOLDER, thumbnailIcon);
enable();
}
}
But this modification is not working(red is new code)...no difference if TRUE or FALSE is set
Please could someone help me?
Purpose is that I have 2 similar codes for #TRANSCODE# and #FIXED A/V# folders and need to enable/disable "A/V sync Alternative method" settings automatically when browsed to these 2 folders
Many thanks
EDIT: Purpose of this is viewtopic.php?f=6&t=3277&start=0
First tryouts of working code(with precompiled .jar file):
viewtopic.php?f=2&t=3336&start=10#p14905
