home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
default movie cover
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ltfearme" data-source="post: 1143203" data-attributes="member: 52219"><p>The plugin is responsible for setting the <strong>default </strong>thumbs on a facade. MovingPictures only sets the movie poster so if there is none you get no default.</p><p></p><p>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.</p><p></p><p>But the quick fix would be, just return the default image when retrieving the poster if none is available.</p><p>[code]</p><p> if (!listItems.ContainsKey(newMovie)) {</p><p> GUIListItem currItem = new GUIListItem();</p><p> currItem.Label = newMovie.DisplayTitle;</p><p> currItem.IconImage = newMovie.CoverThumbFullPath.Trim();</p><p> currItem.IconImageBig = newMovie.CoverThumbFullPath.Trim();</p><p> currItem.TVTag = newMovie;</p><p> currItem.OnItemSelected += new GUIListItem.ItemSelectedHandler(onMovieItemSelected);</p><p></p><p> listItems[newMovie] = currItem;</p><p> }</p><p>[/code]</p></blockquote><p></p>
[QUOTE="ltfearme, post: 1143203, member: 52219"] The plugin is responsible for setting the [B]default [/B]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; } [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
default movie cover
Contact us
RSS
Top
Bottom