Difference between Label and Texture parsing? (1 Viewer)

ddlooping

MP Donator
  • Premium Supporter
  • November 23, 2008
    80
    5
    Home Country
    United Kingdom United Kingdom
    Hello and Merry Christmas to you all. :)

    If I change a movie certification manually to "disc.png" and use..
    <texture>#MovingPictures.SelectedMovie.certification</texture>
    ... the image "disc.png" does not appear.
    The text "disc.png" appears if I use the same variable as a label though.

    Howcome? :confused:

    TIA ;)
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    42
    Texas
    Home Country
    United States of America United States of America
    My guess would be that it can not find the file "disc.png". I think for images by default it looks in the "Media" folder of whatever skin you are using. If your image is not in there, then you should be using an absolute path (i.e. C:\MYIMAGES\disc.png).

    Fundamentally though what you are trying to do should work.
     

    ddlooping

    MP Donator
  • Premium Supporter
  • November 23, 2008
    80
    5
    Home Country
    United Kingdom United Kingdom
    Thanks for the reply, John, but I did copy the image to both the "Mediatream" and the "Mediatream/Media" folder, just to make sure. :confused:
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    42
    Texas
    Home Country
    United States of America United States of America
    not sure what to tell you then. Maybe there is an issue with the way you have your image control setup in your XML file? You may try asking over on the skin developers forum. There is no difference between the properties passed with text (like for genre) and properties with an image file used for images like the backdrop or cover though... so from a plug-in stand-point what you are doing should be working.
     

    ddlooping

    MP Donator
  • Premium Supporter
  • November 23, 2008
    80
    5
    Home Country
    United Kingdom United Kingdom
    Ok, thanks again John, I'll look into it more in depth when I have the time. :)
     

    Users who are viewing this thread

    Top Bottom