Custom MediaPortalDirs.xml not working anymore. (1 Viewer)

gibman

Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    I just upgraded from ;

    MediaPortal-svn--04-01-2007--20-04-Rev13747.exe

    to ...

    MediaPortal-svn--04-08-2007--01-00-Rev13906.exe

    Now the custom changed "MediaPortalDirs.xml" is ignored.
    This was not the case on earlier builds.

    This is the path used;
    C:\Documents and Settings\xxxxx\My Documents\Team MediaPortal

    If I copy the "MediaPortalDirs.xml" file to the installation DIR overwriting the original one then again it is being ignored.

    ******* custom changed file *******
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!--
    This file stores information about the various Directories used in MediaPortal.
    You may change only the information between the <Path> and </Path> elements.

    ATTENTION: Never change anything in the <Dir> element as this may cause MediaPortal to fail.
    If you don't know what that means at all, leave the default settings.

    Don't change this file itself.
    copy it to MyDocuments\Team MediaPortal and modify it there.
    If you made an error, the original copy in the MediaPortal Installation Path is used.

    Valid Values for the <Path> element are:
    <Path></Path>
    =============
    This indicates that only the MediaPortal Install Path will be used.
    result is: C:\Program Files\Team Mediaportal\

    <Path>log\</Path>
    =================
    This indicates that the given Path information should be prefixed with the MediaPortal Install Path.
    result is: C:\Program Files\Team Mediaportal\log\

    <Path>C:\Temp\log\</Path>
    =========================
    This indicates that the given Path is an absolute Path and should be used as is.
    result is: C:\Temp\log\
    -->
    <Config>
    <!-- The Path were all the Config files are located (mediaportal.xml, etc.) -->
    <Dir id = "Config">
    <Path></Path>
    </Dir>
    <!-- The Path were all the Plugins are located. Don't modify -->
    <Dir id = "Plugins">
    <Path>Plugins\</Path>
    </Dir>
    <!-- The Path were the log files should be written to -->
    <Dir id = "Log">
    <Path>Log\</Path>
    </Dir>
    <!-- The Path were the Custom Inputdevice Mappings are located. -->
    <Dir id = "CustomInputDevice">
    <Path>\\server\E\install\_Movie\DVB\software players\mediaportal\shared\InputDeviceMappings\cus tom</Path>
    </dir>
    <!-- The Path were the Default Inputdevice Mappings are located. -->
    <Dir id = "CustomInputDefault">
    <Path>\\server\E\install\_Movie\DVB\software players\mediaportal\shared\InputDeviceMappings\def aults</Path>
    </Dir>
    <!-- The Path were the skins are located -->
    <Dir id = "Skin">
    <Path>Skin\</Path>
    </Dir>
    <!-- The Path were the Language files are located -->
    <Dir id = "Language">
    <Path>Language\</Path>
    </Dir>
    <!-- The Path for the databases -->
    <Dir id = "Database">
    <Path>\\server\E\install\_Movie\DVB\software players\mediaportal\shared\Database\</Path>
    </Dir>
    <!-- The Path for the Thumbs, like Music Cover Art, TV Logos, etc. -->
    <Dir id = "Thumbs">
    <Path>\\server\E\install\_Movie\DVB\software players\mediaportal\shared\Thumbs\</Path>
    </Dir>
    <!-- The Path were all the Weather related files are located. -->
    <Dir id = "Weather">
    <Path>\\server\E\install\_Movie\DVB\software players\mediaportal\shared\Weather\</Path>
    </Dir>
    <!-- A Path holding cached information. Like Picture thumbs, modified skin files (packedgfx), etc. Files in there can be removed by the user -->
    <Dir id = "Cache">
    <Path>Cache\</Path>
    </Dir>
    <!-- The path to CYGWIN files needed for the burner plugin -->
    <Dir id = "BurnerSupport">
    <Path>Burner\</Path>
    </Dir>
    </Config>



    **** original file ****
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!--
    This file stores information about the various Directories used in MediaPortal.
    You may change only the information between the <Path> and </Path> elements.

    ATTENTION: Never change anything in the <Dir> element as this may cause MediaPortal to fail.
    If you don't know what that means at all, leave the default settings.

    Don't change this file itself.
    copy it to MyDocuments\Team MediaPortal and modify it there.
    If you made an error, the original copy in the MediaPortal Installation Path is used.

    Valid Values for the <Path> element are:
    <Path></Path>
    =============
    This indicates that only the MediaPortal Install Path will be used.
    result is: C:\Program Files\Team Mediaportal\

    <Path>log\</Path>
    =================
    This indicates that the given Path information should be prefixed with the MediaPortal Install Path.
    result is: C:\Program Files\Team Mediaportal\log\

    <Path>C:\Temp\log\</Path>
    =========================
    This indicates that the given Path is an absolute Path and should be used as is.
    result is: C:\Temp\log\
    -->
    <Config>
    <!-- The Path were all the Config files are located (mediaportal.xml, etc.) -->
    <Dir id = "Config">
    <Path></Path>
    </Dir>
    <!-- The Path were all the Plugins are located. Don't modify -->
    <Dir id = "Plugins">
    <Path>Plugins\</Path>
    </Dir>
    <!-- The Path were the log files should be written to -->
    <Dir id = "Log">
    <Path>Log\</Path>
    </Dir>
    <!-- The Path were the Custom Inputdevice Mappings are located. -->
    <Dir id = "CustomInputDevice">
    <Path>InputDeviceMappings\custom</Path>
    </Dir>
    <!-- The Path were the Default Inputdevice Mappings are located. -->
    <Dir id = "CustomInputDefault">
    <Path>InputDeviceMappings\defaults</Path>
    </Dir>
    <!-- The Path were the skins are located -->
    <Dir id = "Skin">
    <Path>Skin\</Path>
    </Dir>
    <!-- The Path were the Language files are located -->
    <Dir id = "Language">
    <Path>Language\</Path>
    </Dir>
    <!-- The Path for the databases -->
    <Dir id = "Database">
    <Path>Database\</Path>
    </Dir>
    <!-- The Path for the Thumbs, like Music Cover Art, TV Logos, etc. -->
    <Dir id = "Thumbs">
    <Path>Thumbs\</Path>
    </Dir>
    <!-- The Path were all the Weather related files are located. -->
    <Dir id = "Weather">
    <Path>Weather\</Path>
    </Dir>
    <!-- A Path holding cached information. Like Picture thumbs, modified skin files (packedgfx), etc. Files in there can be removed by the user -->
    <Dir id = "Cache">
    <Path>Cache\</Path>
    </Dir>
    <!-- The path to CYGWIN files needed for the burner plugin -->
    <Dir id = "BurnerSupport">
    <Path>Burner\</Path>
    </Dir>
    </Config>

    /Gibman

    https://forum.team-mediaportal.com/...04_08_2007_01-t21785.html?p=141945#post141945
     

    mPod

    Portal Pro
    January 26, 2005
    2,084
    3
    Berlin
    Home Country
    Germany Germany
    Open your XML file with Internet Explorer, you will see that there's an error in it.
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    do you still have this problem?
    It's working fine here. Use a new file if you can't get it to work, that means delete those you have & apply latest svn & copy it & then modify.

    Regards
    Roy
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    Hi!

    No the problem went away when I discovered that the DIR tag was broken.

    ex.


    <Dir id = "CustomInputDevice">
    bla bla bla
    </dir>

    Look at the closing tag, it is written in lowercase.
    Somehow when I edited the XML file with ultraedit it decided to lowercase this section for me... nice feature huh.

    Problem solved.

    /gibman
     

    Users who are viewing this thread

    Top Bottom