Question about skinning - 2X 'Playing next' labels (was:Thumbs) in Music Now Playing

Discussion in 'MediaPortal 1 Skins' started by 2BitSculptor, October 21, 2008.

  1. 2BitSculptor
    • Team MediaPortal

    2BitSculptor Super Moderator

    Joined:
    January 23, 2008
    Messages:
    1,833
    Likes Received:
    300
    Occupation:
    Sculptor - Maquettes, Resin Figure Model Kits, Toy
    Location:
    South Central Wisconsin
    Ratings:
    +396 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    I've run into an issue, I think.

    When designing my Now Playing skin xml, I wanted to have a large image of the current thumb in the background (with the alternating Artist image animation) as part of a default background if there was no Fan Art to display, and have a small Thumb of the CD cover art display only when there WAS Fan Art.

    It seems, when there are 2 instances of #Play.Current.Thumb (even when one is not visible) then the cycling animation stops working. This blows my initial Idea out of the water.... I can live with it, but I like the alternating Cover/Artist image.



    Any way to work around this?

    Thanks

    Chuck
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. 2BitSculptor
    • Team MediaPortal

    2BitSculptor Super Moderator

    Joined:
    January 23, 2008
    Messages:
    1,833
    Likes Received:
    300
    Occupation:
    Sculptor - Maquettes, Resin Figure Model Kits, Toy
    Location:
    South Central Wisconsin
    Ratings:
    +396 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    For a bit, I thought maybe it fixed itself.... at exactly 8:00 (Central) this morning one of the artist's pics displayed properly on the screen (cycled with album cover art) ... but then the next CD started and it never happened again.

    I think it wants to. I don't know what conditions are keeping it from displaying the artist pic.

    Fan Art is working fine, and the small CD cover displays when it is supposed to. So I'm happy with that, at least.

    Chuck
     
  4. Helios61
    • Premium Supporter

    Helios61 Retired Team Member

    Joined:
    January 30, 2008
    Messages:
    4,587
    Likes Received:
    584
    Gender:
    Male
    Location:
    NRW
    Ratings:
    +897 / 4
    Home Country:
    Germany Germany
    Show System Specs
    Hi Chuck!

    Any news with your TrueView skin. Will this skin support the new My Films?

    Best Regards
    Helios
     
  5. 2BitSculptor
    • Team MediaPortal

    2BitSculptor Super Moderator

    Joined:
    January 23, 2008
    Messages:
    1,833
    Likes Received:
    300
    Occupation:
    Sculptor - Maquettes, Resin Figure Model Kits, Toy
    Location:
    South Central Wisconsin
    Ratings:
    +396 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    Hi Helios,

    Still changing my mind on design elements..... and making sure I don't miss anything (There is a lot I don't use)

    So far i just have main basic areas that I use working. TV, Recorded TV, Music, Video, Weather. I have screens for MediaSlayer (I haven't used it for a while) and basic support for Moving Pictures (It plays movies - still deciding on what to do with the function buttons)... And I've barely scratched the surface on overlays and dialogs.

    I don't use much else myself, so it will be some time before other plugin support creeps in.

    I'm not fast. :sorry:

    But I would still like to know what's up with the #Play.Curren.Thumb issue. :D

    Chuck
     
  6. 2BitSculptor
    • Team MediaPortal

    2BitSculptor Super Moderator

    Joined:
    January 23, 2008
    Messages:
    1,833
    Likes Received:
    300
    Occupation:
    Sculptor - Maquettes, Resin Figure Model Kits, Toy
    Location:
    South Central Wisconsin
    Ratings:
    +396 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    Wonder of wonders!

    The issue seems to have fixed itself. I went into MP config to the Music/Playing Now section ... did nothing ... and hit OK to exit. I started MP and ran a music playlist... waited... the Thumb cycled thru correctly... everything is WORKING!....

    um.. except.

    This is still an issue with multiple instances. I duplicated the Now Playing text and the Playing Next text, and set a conditional visibility for the text to be displayed at different locations depending on if Fan Art is displayed.

    The text displays properly in the no Fan Art condition without error. With Fan Art displayed, the text is relocated correctly, but at random times the text "Playing Next" will also display at the 'no Fan Art' location as well. It seems to begin hick-upping after the 2nd or 3rd screen change ... seems to display first at the same Fan Art image each time I restart he playlist.... then will display on Fan Art for a few songs, then be okay for some, then show up again.

    Just frustrating.

    Chuck

    edit:

    I moved the "Fan Art' group of controls above the "no Fan Art" group and the ghost appeared in the opposite display... so it seems to be the first instance of the control that is displayed under the wrong condition, although it displays correctly under the correct condition. And seems to appear, as I said, randomly.

    odd

    Chuck
     
  7. 2BitSculptor
    • Team MediaPortal

    2BitSculptor Super Moderator

    Joined:
    January 23, 2008
    Messages:
    1,833
    Likes Received:
    300
    Occupation:
    Sculptor - Maquettes, Resin Figure Model Kits, Toy
    Location:
    South Central Wisconsin
    Ratings:
    +396 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    I don't understand why only the "Playing next" label is affected. It doesn't matter whether I use the actual text or the numeric code.

    Here's the bit of code from MyMusicPlayingNow.xml that I'm using. I hope someone can sort this out.

    regards

    Chuck

     
  8. 2BitSculptor
    • Team MediaPortal

    2BitSculptor Super Moderator

    Joined:
    January 23, 2008
    Messages:
    1,833
    Likes Received:
    300
    Occupation:
    Sculptor - Maquettes, Resin Figure Model Kits, Toy
    Location:
    South Central Wisconsin
    Ratings:
    +396 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    Here's a couple screen shots
     

    Attached Files:

  9. rtv
    • Premium Supporter

    rtv Retired Team Member

    Joined:
    April 7, 2005
    Messages:
    3,622
    Likes Received:
    301
    Occupation:
    CTO at ES2000
    Location:
    Osnabruck
    Ratings:
    +301 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Could you please explain the remaining problem in short?

    Display properties are "one-way" only so I cannot (yet) imagine that it is not possible to use
    "#Play.Current.Thumb" twice.
     
  10. 2BitSculptor
    • Team MediaPortal

    2BitSculptor Super Moderator

    Joined:
    January 23, 2008
    Messages:
    1,833
    Likes Received:
    300
    Occupation:
    Sculptor - Maquettes, Resin Figure Model Kits, Toy
    Location:
    South Central Wisconsin
    Ratings:
    +396 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    Hi rtv,

    The #play.current.thumb seemed to have resolved itself. With it, when it was an issue, the 'lastFM' data also did not display, so the two issues were connected. Like I said, I don't know how, but going back into config and exiting, even though I changed nothing, appears to have fixed it. Both 'lastFM' data and image cycling resumed.
    ---

    The latest issue persists.....

    The 'MyMusicPlayingNow' screen has two conditional layouts, depending on the presence of Fan Art. The 'Playing next' label is randomly displayed on both the <visible>!control.hasthumb(1000)</visible> and <visible>control.hasthumb(1000)</visible> conditions simultaneously, when it is supposed to be displaying only one instance depending on Fan Art Display. Depending on the placement order of the 2 controls, it will double-display in one or the other condition... (did that make sense?)

    The 'Fan Art' image above shows the duplicate label displayed in the upper right when the control for that position is ordered first. The second conditional layout of the screen, 'No Fan Art', shows the correct placement of the errant label in the correct layout. When the control is ordered second, it will display the duplicate label in the lower right position of this layout, overlapping the text displayed there.

    can I be any more confusing?

    Chuck
     
  11. rtv
    • Premium Supporter

    rtv Retired Team Member

    Joined:
    April 7, 2005
    Messages:
    3,622
    Likes Received:
    301
    Occupation:
    CTO at ES2000
    Location:
    Osnabruck
    Ratings:
    +301 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Sorry - this doesn't brighten me up any further...

    One thing however you might have stumbled upon:
    The following control IDs are set invisible from MP itself if their text property is empty:
    LBL_UP_NEXT = 20,
    LBL_NEXT_TRACK_NAME = 121,
    LBL_NEXT_ALBUM_NAME = 122,
    LBL_NEXT_ARTIST_NAME = 123,
    Controls which explicitly have an ID assigned (many skinners behave wrong here) are often "used" by MP's code and mustn't have any duplicates.
    Therefore "Label 20" is _always_ unique.

    If you simply rely on the "#" properties like #Play.Next.Artist or #duration then please use ID "0". You can have as much controls displaying the same property as you like (until at some point the CPU might be exhausted if there are many animated / scrolling controls).
     
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!