default movie cover (1 Viewer)

mrbonsen

Super User
  • Team MediaPortal
  • Super User
  • December 6, 2008
    6,563
    890
    Brensbach (HE) ehemals Görlitz
    Home Country
    Germany Germany
    hi
    had to test this scenario because I want skin design. (n)
    in the list view no problem a default cover define.
    But where and how do I define in thumb / filmstrip / Coverflow view default thumb (facade)?
    even absent, in (facade) listcontrol
    (wiki I find nothing) :cry:
    3 tested skin titan/streamed and default, no default cover.
    Why is that, on the plugin moving pictures or MP ?
    Please feedback, I need clarification so that I can continue to work (y)

    EDIT:
    Pictures say more English than bad
    screen1 movpic -> no default cover
    screen 2 u. 3 myvideo -> default cover ;)
     

    Attachments

    • nicht definiert.jpg
      nicht definiert.jpg
      477.3 KB
    • coverflow.jpg
      coverflow.jpg
      292 KB
    • thumb ansicht.jpg
      thumb ansicht.jpg
      399.4 KB
    Last edited:

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Try asking in a forum thread for skin developers, most people visiting this one have no clue on skins at the level you need help with.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    The plugin is responsible for setting the default thumbs on a facade. MovingPictures only sets the movie poster so if there is none you get no default.

    A change would need to be made to set a default image if no poster is available. It would make sense for the plugin to by default load default images for all thumbs, then on a background thread load the posters into the thumbs if available...not only would this be better performance esp. for larger images (currently only the small images are loaded), you will also get default images.

    But the quick fix would be, just return the default image when retrieving the poster if none is available.
    Code:
      if (!listItems.ContainsKey(newMovie)) {
      GUIListItem currItem = new GUIListItem();
      currItem.Label = newMovie.DisplayTitle;
      currItem.IconImage = newMovie.CoverThumbFullPath.Trim();
      currItem.IconImageBig = newMovie.CoverThumbFullPath.Trim();
      currItem.TVTag = newMovie;
      currItem.OnItemSelected += new GUIListItem.ItemSelectedHandler(onMovieItemSelected);
    
      listItems[newMovie] = currItem;
      }
     
    Last edited:

    mrbonsen

    Super User
  • Team MediaPortal
  • Super User
  • December 6, 2008
    6,563
    890
    Brensbach (HE) ehemals Görlitz
    Home Country
    Germany Germany
    OK thanks.
    I wanted to know skin designer can not do anything . . . ;)
    When you create a skin, I have found that.
    often "default cover" loaded as well as wrong.
    for example in a movie cover format (ThumbView/cover view) a square "default" (either died or rather I must put "centered" or "keepaspectratio") thumb is then loaded.
    these small errors exist in almost all plugins - just this connection, I wanted to get an explanation.
    have deliberately in all plugins and cover thumbnails removed to test.
    now I know the context, it was important for me (y)
    screen is only 1 example (e.c. tv)
    in List view and small icon view can be circumvented by addition problem defined cover.
    but in cover and Cover Flow, it makes no sense to <type> Cover Flow </ type> one extra cover to be defined
    hope Google Translator understood me ;)
     

    Attachments

    • 01.jpg
      01.jpg
      391.9 KB
    Last edited:

    Users who are viewing this thread

    Top Bottom