Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop thumb type from (most) movies, shows, seasons + sets + fixes #1694

Merged
15 commits merged into from Oct 31, 2012

Conversation

jmarshallnz
Copy link
Contributor

The main thing that this PR handles is dropping the "thumb" art type from movies, shows, seasons and sets. Essentially we demand a poster for movies and sets, and a banner or poster for shows and seasons.

It works as follows:

  1. Local art, if known (poster.jpg etc.) we assign directly.
  2. Local art, if unknown (thumb.jpg, *.tbn etc.) we cache, and based on the aspect ratio determine poster or banner status and assign accordingly. If in-between, we cache using thumb normally.
  3. Online art, we assign directly if the aspect attribute is specified.
  4. Online art, we assign to the preferred type (poster for movie, banner for shows) if no aspect attribute is specified.

There's update code in place to move all the existing thumbs to poster/banner (both Eden + pre-Frodo).

Finally, thumb is always available as a fallback for skinners (it falls "forward" to poster then banner if a thumb type isn't there).

In addition, this moves to support banner and poster (and fanart) for seasons.

Finally, we have a bunch of fixes for the "Season Thumb" and "Movie set thumb/fanart" context menu items, which have been replaced with a "Choose art" item, which throws up the Choose Art dialog.

Jonathan Marshall added 15 commits November 1, 2012 10:42
…being checked periodically, as the hash from the database was never returned.
… size of local art to classify 'thumb' into the correct types (poster/banner)
…son.thumb, making tvshow.poster/banner and season.poster/banner also available. Container.TVShowThumb/SeasonThumb are still available for backward compatibility
ghost pushed a commit that referenced this pull request Oct 31, 2012
Drop thumb type from (most) movies, shows, seasons + sets + fixes
@ghost ghost merged commit 1821096 into xbmc:master Oct 31, 2012
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant