New skin parameter #MovingPictures.Movie.playing.imdb_id needed / ClearArt support (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    Why is that even an expression is not working:
    <visible>string.equals(string.trim(#Play.Current.Title),string.trim(#MovingPictures.SelectedMovie.title))+!string.equals(#MovingPictures.SelectedMovie.imdb_id,)</visible>
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    You can also go reverse about it. The MP-TVSeries clearart system is more integrated in code, so you can do a negative comparison, i.e.:

    <visible>!string.equals(#TVSeries.Play.ClearArt,)</visible>

    So you then show it only when TVS is not. Of course this might not work proper if that value is not set on a TVS show that doesn't have clearart, so your best bet is to go over all the plugin skin vars to find one you can use that indicates what plugin initiated the playback so you can refer to it in videoFullScreen.xml (pretty sure that is where you are putting your code in)


    This would probably give you an unwanted moving pictures clearart logo when you are playing my videos, would need an or statement for my videos as well, and possibly live tv (not sure).
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    This would probably give you an unwanted moving pictures clearart logo when you are playing my videos, would need an or statement for my videos as well, and possibly live tv (not sure).

    I'm not a skin expert by any means, but if I check for #TVSeries.Play, wouldn't that only be set if MP-TVSeries is actually playing something (which is what you want to show the clearart for?).

    Unless MePo got PiP support without me realizing :cool:
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    @RoChess - your solution was to show moving pictures clear art logo when tv series is not playing something, this wont work. If you play video in my videos (ie not tv series, then will get unwanted logo from moving pictures.
     
    Last edited:

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Was too long ago anyway, so replied out of context then :)
     

    sweborn

    Extension Designer
    June 8, 2007
    303
    214
    Home Country
    Sweden Sweden
    Ad this one in "Moving Pictures ClearArt" control to avoid Moving Pictures clearart in TVseries. It's working for me.
    My "Series ClearArt" contol ID is 159357
    XML:
    <visible>!control.hasthumb(159357)</visible>
     
    Last edited:

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    967
    290
    42
    Rostock
    Home Country
    Germany Germany
    Ad this one in "Moving Pictures ClearArt" control to avoid Moving Pictures clearart in TVseries. It's working for me.

    My "Series ClearArt" contol ID is 159357

    XML:
    <visible>!control.hasthumb(159357)</visible>



    But what if you have a series with no ClearArt?


    You can also go reverse about it. The MP-TVSeries clearart system is more integrated in code, so you can do a negative comparison, i.e.:



    <visible>!string.equals(#TVSeries.Play.ClearArt,)</visible>



    So you then show it only when TVS is not. Of course this might not work proper if that value is not set on a TVS show that doesn't have clearart



    This is same idea, with the same problem.
     

    Users who are viewing this thread

    Top Bottom