Media flags: Difference between revisions
|Line 31:||Line 31:|
! Aspect ratio
! Aspect ratio
|[[File:480.png|50px]] [[File:1080.png|50px]] [[File:720.png|50px]] [[File:1080 n.png|50px]] [[File:480-1.png|50px]] '''...'''
|[[File:Divx.png|80px]] [[File:Xvid.png|80px]] [[File:H264.png|80px]] [[File:Bluray.png|80px]] [[File:Dvd.png|80px]] [[File:Avc1.png|80px]] '''...'''
|[[File:1.33.png|50px]] [[File:1.66.png|50px]] [[File:2.20.png|50px]] [[File:2.35.png|50px]] '''...'''
Revision as of 08:47, 19 June 2015
Media Flags are icons at Kodi that displays the meta-information from the media file of a movie, TV show or music title.
Flag types and where they come from
Kodi tries to read the meta information from the media file, after it was added to the Library.
This meta information can be queried by the built-in InfoLabels in order to display it in the skin.
Example-code for a resolution-flag in Confluence:
<control type="image"> <description>Video rez Image</description> <width>55</width> <height>35</height> <aspectratio align="right">keep</aspectratio> <texture>$INFO[ListItem.VideoResolution,flagging/video/,.png]</texture> </control>
The category video flags provides images for the following properties:
The category audio flags provides images for the following properties: e.g.
Most skins have flags for the video source of a media file. This information are obtained from the the filename or the directory name.
Media can be flagged with following media source flags for Confluence (Kodi's default skin):
- DVD, if the filename contains DVD.
- Bluray, if the filename contains BLURAY, BRRIP, BD25, or BD50.
- HDDVD, if the filename contains HDDVD.
- TV, if the filename contains HDTV, PDTV, or DSR.
- VHS, if the filename contains VHS.
As an alternative you can set your folder structure to fit the keywords above:
- C:\Videos\DVDR\Movie1... on Windows
- /mnt/dev1/videos/bluray/movie1 on Linux
Most skins also have the ability to show media flags from InfoLabels that come not from the media file itself. These pieces of information are provided by the scraper that was used to scan the file to the library and can be:
- Movie Studio: WarnerBros., 20th Century Fox, Universal ...
- TV Channel/Network: HBO, ABC, FOX ...
- Rating: MPAA, FSK, UK-Rating ...
- Some file types (e.g. .iso) have to be played one time, before the media flags appear in the database
- You can change the kind of media flag regardless of the file by editing the table streamdetails in the Kodi database