[solved] - custom .xml-file is not imported into movingpictures.details.xml

Discussion in 'Moving Pictures' started by bta489, June 5, 2015.

  1. bta489

    bta489 Portal Pro

    Joined:
    March 17, 2013
    Messages:
    112
    Likes Received:
    24
    Gender:
    Male
    Ratings:
    +49 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi,
    I'm working on a skin modification for MovPic. I already made all the layout-changes that I wanted to do, but I'm having trouble adding ClearArt. For simplification in case of any changes I created a custom "include.ClearArt.xml"-file in which I assigned all the paths to custom Skin-Properties (using <define>). I used this successfully in several other mods, but MovPic won't import the file. I got it to work for now by adding the <define>-fields directly into the file, but I want to use my .xml for that.

    I read in the wiki that it is not possible to import xml-files inside of a file that is itself imported somewhere, so I think that may be the problem here. I searched all files for "<import>movingpictures.details.xml</import>" though, but there was no match. I'm not familiar with the various files MovPic uses, so does anyone know if this might be the case here? Or any other suggestion why this won't work or how to fix it?


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. wizard123
    • Team MediaPortal

    wizard123 Design Group

    Joined:
    January 24, 2012
    Messages:
    2,499
    Likes Received:
    1,695
    Gender:
    Male
    Occupation:
    genius
    Ratings:
    +2,919 / 11
    Home Country:
    United Kingdom United Kingdom
    Imports are best placed in movingpictures.xml

    <import>movingpictures.details.xml</import> is also in that xml file. Just add your import to the end of the default imports inside movingpictures.xml
     
    • Thank You! Thank You! x 1
  4. bta489

    bta489 Portal Pro

    Joined:
    March 17, 2013
    Messages:
    112
    Likes Received:
    24
    Gender:
    Male
    Ratings:
    +49 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Thank you very much! That did the trick.
    I should have searched only for the filename without the <import>-tags. I might have found it myself :rolleyes:. Next time I'll run brain.exe first;)

    Anyway, thanks for the quick rescue. (y)
     
  5. wizard123
    • Team MediaPortal

    wizard123 Design Group

    Joined:
    January 24, 2012
    Messages:
    2,499
    Likes Received:
    1,695
    Gender:
    Male
    Occupation:
    genius
    Ratings:
    +2,919 / 11
    Home Country:
    United Kingdom United Kingdom
    No problem glad i could help
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!