CLOSED This topic is closed.

Advanced Settings

Admin Komet, 597 days ago

Starting with MediaElch 1.5 you can use a file called “advancedsettings.xml”. This file will not be created automatically, you have to create it on your own. This file should be placed in the following locations:

Mac OS: ~/Library/Application Support/kvibes/MediaElch/advancedsettings.xml
Linux: ~/.local/share/data/kvibes/MediaElch/advancedsettings.xml
Windows: C:\Users\yourUserName\AppData\Local\kvibes\MediaElch\advancedsettings.xml

As an alternative the advancedsettings.xml can also be placed in the application dir.

 

<?xml version="1.0" encoding="utf-8"?>
<advancedsettings>
    
    <!-- 
        When portableMode is set to true MediaElch will store its settings, temporary files and caches 
        in the application directory and not in standard locations based on your OS. 
        This settings is only available on Windows.
    -->
    <portableMode>false</portableMode>
    
    <!--
        If you want to enable the debug mode, change false to true and set a complete path to a log file.
    -->
    <log>
        <debug>false</debug>
        <file>C:\path\to\log\file.txt</file>
    </log>
    
    <!-- 
        When set to false no thumbnail or poster URLs will be written to the nfo file.
    -->
    <writeThumbUrlsToNfo>true</writeThumbUrlsToNfo>
    
    <!-- 
        When cutting a music album booklet in two pieces this percentage will be removed in the middle of the image.
    -->
    <bookletCut>2</bookletCut>
    
    <!--
        When MediaElch -> Settings -> "Ignore articles when sorting" is checked these words are ignored
        and appended to the movie name. ("The Movie" -> "Movie, The")
    -->
    <sorttokens>
        <token>The</token>
        <token>Der</token>
        <token>Die</token>
        <token>Das</token>
        <token>Le</token>
        <token>La</token>
        <token>Les</token>
        <token>Un</token>
        <token>Une</token>
        <token>Des</token>
    </sorttokens>
    
    <!--
        certifications defines a mapping which is applied when data is loaded from a scraper. 
        The example below will replace the certification "PG-13" with "FSK 12" and "R" with "FSK 18".
    -->
    <certifications>
        <map from="PG-13" to="FSK 12" />
        <map from="R" to="FSK 18" />
    </certifications>
    
    <!--
        genres defines a mapping which is applied when data is loaded from a scraper. 
        The example below will replace the genre "SciFi" with "Science Fiction".
    -->
    <genres>
        <map from="SciFi" to="Science Fiction" />
    </genres>
    
    <!--
        countries defines a mapping which is applied when data is loaded from a scraper. 
        The example below will replace the country "US" with "United states".
    -->
    <countries>
        <map from="US" to="United States" />
    </countries>
    
    <!--
        studios defines a mapping which is applied when data is loaded from a scraper. 
        The example below will replace the studio "Studio 1" with "Studio 2".
    -->
    <studios>
        <map from="Studio 1" to="Studio 2" />
    </studios>

    <!--
        audioCodecs defines a mapping which is applied when streamdetails are loaded. 
        The example below will replace the audio codec "MPA1L3" with "MP3".
    -->    
    <audioCodecs>
        <map from="MPA1L3" to="MP3" />
    </audioCodecs>
    
    <!--
        videoCodecs defines a mapping which is applied when streamdetails are loaded. 
        The example below will replace the video codec "v_mpeg4/iso/avc" with "h264".
    -->    
    <videoCodecs>
        <map from="v_mpeg4/iso/avc" to="h264" />
    </videoCodecs>
    
    <!--
        fileFilters defines the extensions of files MediaElch will scan. 
        Multiple extensions can be added comma separated. A special case is subtitle these files will also be renamed when renaming a movie.
    -->
    <fileFilters>
        <movies>*.avi,*.mkv</movies>
        <concerts>*.avi,*.mkv</concerts>
        <tvShows>*.avi,*.mkv</tvShows>
        <subtitle>*.srt,*.srt,*.idx,*.sub</subtitle>
    </fileFilters>
</advancedsettings>