[mythtv-users] getting MythVideo to display TV-episode-subtitle/screenshot rather than show-title/season-cover-art
raymond at wagnerrp.com
Mon Jan 2 23:06:49 UTC 2012
On 1/2/2012 17:39, Tomas Aronsson wrote:
> The metadata grabber, Ttvdb.py, still expects "Season" so do
> not rename the directory to your localized season before
> you've got the metadata.
The metadata grabbers don't expect anything. They aren't aware of the
filename, they don't care about the filename. They only work on
whatever data MythVideo passes to it on the command line. The filename
is parsed the first time it gets scanned into MythVideo, and any
subsequent time you tell it to reset all metadata. At such time, it
uses "Season" or "Säsong" or whatever string your currently selected
translation has defined.
The title is searched for using the '-M' argument, after which the
inetref and parsed season and episode numbers are used to pull specific
episode information with the '-D' argument. If season and episode
cannot be parsed from the command line, such information is pulled from
the title and subtitle with the '-N' argument. At no time is the
grabber script told what the filename in question is.
> The gallery view also considers a video to be a TV episode if
> the metadata "title" is identical to the parent directory.
No. The various views all behave identically in regards to a single
video. A video is considered to be a TV episode if and only if it has a
season and episode number defined. If a video has a subtitle and no
inetref, MythVideo will first try to find a matching TV episode using
the title and subtitle, before falling back to the movie grabber. If
only a title is defined, or an inetref is defined with no season and
episode number, it will instead consider it to be a movie.
The only behavior similar to what you speak of is the image search for
folders. MythVideo only stores information for individual videos, not
folders, so it has to make guesses at runtime about artwork to use for
folders. If a directory has video content within it, MythVideo will
select artwork from one of the videos within to display. If a directory
has other directories within it that in turn have videos, this
grandparent directory will only receive artwork if there are videos
contained therein with the title matching the name of the directory.
This will receive artwork due to matching grandchild title...
Castle (2009)/Season 1/1x01 - Flowers For Your Grave.mpg
This will not receive artwork due to a mismatch with the guide data (it
must be exact)...
Castle/Season 1/1x01 - Flowers For Your Grave.mpg
This will receive artwork from the video directly below it...
This will not receive artwork...
More information about the mythtv-users