Artwork: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Ned Scott moved page Thumbnails to Artwork)
No edit summary
Line 5: Line 5:
Kodi supports automatic downloading or extraction of several types of images for use as thumbnails, movie posters, and more. In addition to automatic downloading or extraction, users can also manually set several images in different parts of the interface.
Kodi supports automatic downloading or extraction of several types of images for use as thumbnails, movie posters, and more. In addition to automatic downloading or extraction, users can also manually set several images in different parts of the interface.


= Audomatic artwork loading =
== Audomatic artwork loading ==
{{editor note|This area should explain how artwork is loaded from scrapers, as well as embedded art for music.}}


= Manual artwork loading =
== Manual artwork loading ==
{{editor note|This area should explain both manually setting artwork from within the GUI, as well as using pre-existing files that "automatically" get picked up.}}


== Naming conventions ==
=== Naming conventions ===
;For folders (e.g. tvshows, movies in folders, or just folders on the filesystem):
;For folders (e.g. tvshows, movies in folders, or just folders on the filesystem):
* poster.(png/jpg)
* poster.(png/jpg)
Line 27: Line 29:




== Folder Thumbnails ==
=== Folder thumbnails ===
{|
{|
| valign="top" |
| valign="top" |
Line 50: Line 52:
|}
|}


== Music Thumbnails ==
=== Music thumbnails ===
Music Thumbnails are assigned as part of a multi-tier process. First, the Tag Reader runs and caches any embedded art using the album name and album artist (or song artist, if that is all that is available). If the album name or artist is unavailable, it is cached using the path name of the song. This assumes, of course, that you have tag reading enabled.<br />
Music Thumbnails are assigned as part of a multi-tier process. First, the Tag Reader runs and caches any embedded art using the album name and album artist (or song artist, if that is all that is available). If the album name or artist is unavailable, it is cached using the path name of the song. This assumes, of course, that you have tag reading enabled.<br />
You can also use "Get Thumb" to download the album thumbnail from [http://www.allmusic.com allmusic.com (AMG)] for a specific album/folder or do a scan of all your music files in all shares.<br />
You can also use "Get Thumb" to download the album thumbnail from [http://www.allmusic.com allmusic.com (AMG)] for a specific album/folder or do a scan of all your music files in all shares.<br />
Line 99: Line 101:
{{see also|FanArt#Music_FanArt_in_XBMC}}
{{see also|FanArt#Music_FanArt_in_XBMC}}


== Picture thumbnails ==
=== Picture thumbnails ===
Kodi will generate thumbnails for pictures and folders in the '''[[pictures]]''' area using the following methods:
Kodi will generate thumbnails for pictures and folders in the '''[[pictures]]''' area using the following methods:


Line 108: Line 110:
:<MyHolidayPictures>\folder.jpg is checked first. If that file doesn't exist, XBMC will generate a thumbnail from up to 4 random images inside that folder.
:<MyHolidayPictures>\folder.jpg is checked first. If that file doesn't exist, XBMC will generate a thumbnail from up to 4 random images inside that folder.


== Thumbnails for file sources ==
=== Thumbnails for file sources ===
You can change the thumbnail displayed for a file source by bringing up the context menu ({{button|menu}} or {{keypress|C}}) and selecting '''"Choose thumbnail"'''.
You can change the thumbnail displayed for a file source by bringing up the context menu ({{button|menu}} or {{keypress|C}}) and selecting '''"Choose thumbnail"'''.
== Manually refreshing or regenerating thumbnails ==
{{editor note|This area is for advanced notes related to regenerating thumbnails. This can happen due to an accidental deletion, setting up MySQL, or wanting new thumbnails when changing their default size in [[advancedsettings.xml]].}}





Revision as of 03:33, 16 April 2015

Wiki logo.png Wiki revamp:
This page or section of the wiki undergoing a revamp. Content is still being added and organized. Please pardon the dust and anything that might not be working.

Template:Todo

Kodi supports automatic downloading or extraction of several types of images for use as thumbnails, movie posters, and more. In addition to automatic downloading or extraction, users can also manually set several images in different parts of the interface.

Audomatic artwork loading

Editor note: This area should explain how artwork is loaded from scrapers, as well as embedded art for music.

Manual artwork loading

Editor note: This area should explain both manually setting artwork from within the GUI, as well as using pre-existing files that "automatically" get picked up.

Naming conventions

For folders (e.g. tvshows, movies in folders, or just folders on the filesystem)
  • poster.(png/jpg)
  • banner.(png/jpg)
  • fanart.(png/jpg)

Note: Movies in folders can also use the options under files below.

Season images reside inside the tvshow folder
  • season[XX]-(poster/banner/fanart).(png/jpg)
  • season-all-(poster/banner/fanart).(png/jpg}
  • season-specials-(poster/banner/fanart).(png/jpg)
For files (episodes, movies not in folders, video files)
  • [movie file name]-(poster/banner/fanart).(png/jpg)
  • [episode file name]-thumb.(png/jpg)
  • [filename]-(poster/banner/fanart).(png/jpg)

Note: For all use scenarios mentioned above (Folders, TV Shows, and Files), extra fanart and Actor thumbs (click link then scroll down) can also be included using the locations defined in Thumbnails.


Folder thumbnails

If you store each of your media files in separate subfolders to keep things organized, you can also make the folder have a custom thumbnail image. To do this you either need to save your JPG/PNG thumbnail as folder.jpg and place it inside your movie/album folder, or you can save it as <foldername>deprecated and place it at the same level as the folder in the directory tree.

  • Remember, XBMC first checks for <foldername>.jpg before checking for folder.jpg.
  • Some documentation suggests that folder.jpg can be used. In general folder.jpg is superior as it is detected during a scan, i.e. XBMC will correctly use folder.jpg but not folder.jpg.
  • Note that folder.jpg must be named .jpg, even if it is a .png format image.


Examples:

Movies\path\foldername\
Movies\path\foldername.jpg

or

Movies\path\moviename\folder.jpg
Music\path\album\folder.jpg

Now your media folder will have a lovely custom thumbnail-image.

You can via advancedsettings.xml change the default filename of the image that XBMC uses for music folders. See the <musicthumbs> tag. for more information.

Files.myvideos.jpg

Music thumbnails

Music Thumbnails are assigned as part of a multi-tier process. First, the Tag Reader runs and caches any embedded art using the album name and album artist (or song artist, if that is all that is available). If the album name or artist is unavailable, it is cached using the path name of the song. This assumes, of course, that you have tag reading enabled.
You can also use "Get Thumb" to download the album thumbnail from allmusic.com (AMG) for a specific album/folder or do a scan of all your music files in all shares.
Thumbnails also get downloaded when you rip AudioCD's to your XBMC device (which is described in the Ripping CDs section).
Recommended is that you store each of your music-albums or artists in a separate subfolder to keep things organized. You can also of course make the folder have a custom thumbnail image.

Note: Running a scan automatically enables 'tag reading' so everything can be cached. Once a scan is run, all your files and their associated thumbnails are stored in the database.
The Album Information dialog (available from the context menu) will allow you to choose between the cover art available for download from allmusic.com and any user-defined thumbnail you may have.
Press the "Get Thumb" button to bring up a choice of the local thumbnails you have, the currently assigned thumbnail and the allmusic.com thumbnail.

The code which assigns thumbnails to files runs and assigns thumbnails in the following order:

1) Cached Album Thumbnail
This is all the embedded album art read by the tag reader and cached using the album name and album artist.
2) Cached filename.jpg
This includes an embedded thumbnail cached with the fully qualified name.
3) Remote filename.jpg
This is a filename.jpg on a remote share/folder which is then cached.
4) Cached folder.jpg
This is a folder.jpg which is cached based off the folder path.
5) Remote folder.jpg
This is a folder.jpg on a remote share/folder which is then cached.
6) Remote foldername.jpg
This is a foldername.jpg on a remote share/folder which is then cached.

Examples:

In this example audiofilename.mp3 will use audiofilename.jpg as thumbnail:

Music\path\audiofilename.mp3
Music\path\audiofilename.jpg

The same goes for playlists, cue-sheets, SHOUTcast, and internet-stream files, example:

Music\path\audioplaylistname.m3u
Music\path\audioplaylistname.jpg
Music\path\cuelistname.cue
Music\path\cuelistname.mp3
Music\path\cuelistname.jpg
Music\path\shoutcastlinkname.pls
Music\path\shoutcastlinkname.jpg
Music\path\audiostreamname.strm
Music\path\audiostreamname.jpg
Music fanart

Picture thumbnails

Kodi will generate thumbnails for pictures and folders in the pictures area using the following methods:

Images
EXIF thumbnail in JPEG images are then read. If no EXIF thumbnail is available, XBMC will load the image and generate a thumbnail from the image. These are then cached.
Folders
<MyHolidayPictures>\folder.jpg is checked first. If that file doesn't exist, XBMC will generate a thumbnail from up to 4 random images inside that folder.

Thumbnails for file sources

You can change the thumbnail displayed for a file source by bringing up the context menu (menu or C) and selecting "Choose thumbnail".

Manually refreshing or regenerating thumbnails

Editor note: This area is for advanced notes related to regenerating thumbnails. This can happen due to an accidental deletion, setting up MySQL, or wanting new thumbnails when changing their default size in advancedsettings.xml.