Metadata scraping is a feature Thea uses when:

As this process is automatic, the only information we have is the file itself, but we need media information for TMDB Searching

  1. Same as the above; allow Thea to try and extract the info automatically

  2. Provide an IMDB ID manually

    <aside> 📋 TODO: Ensure that an ID referring to a specific episode can be provided, otherwise we’ll need to provide the user a way to specify the season/episode number as well.

    </aside>

  3. Provide a TMDB ID manually

Title String Matching

Thea uses a simple set of regular expressions to try and find the information that it wants from the file’s title:

File System Metadata

Metadata attached to the file can often provide a more accurate version of the information extracted via title parsing. If present then it is used in-place of the information gathered via title parsing.

Using ffprobe

We can use ffprobe to accurately gather: