WDTV Live Meta Gen

From GaProgMan's Wiki
Jump to: navigation, search

WDTV -Live-Meta-Gen is an open source application written in C#, for creating KODI compatible XML files for TV series' and Movies.

WDTC-Live-Meta-Gen
Original author(s) Jamie
Developer(s) Jamie
Development status Hiatus (see Product Description)
Written in C#, .NET 3
Available in English
License GPLv2
Website www.github.com/GaProgMan/WDTV-Live-Meta-Gen

Project Description

In early 2012 Jamie purchased a WDTV Live Generation 3 as a low cost HTPC. After attaching a USB hard drive with half a terabyte of media, Jamie noticed that the WDTV Live would take a long time to pull meta data (including posters, background art, etc.) for each movie/tv show episode.

After investigating what was happening, Jamie found that the following steps would be taken by the WDTV on each file on the drive:

  1. Read the filename
  2. Separate on "." characters
  3. Use all text before the SxxExx (see points 4 & 5) as a look-up string for the Show/Movie title
  4. Use the character sequence Sxx for the Season number
  5. Use the character sequence Ezz for the Episode number
  6. Use the information provided in the previous 3 steps to look-up Show/Movie data in Meta-sources.

An example process for a file called "MASH.S01.E03.mkv" would be:

  1. Read the file name - "MASH.S01.E03.mkv"
  2. Separate on "." characters - MASH S01 E03 mkv
  3. Use all text before the SxxExx as a look-up string for the Show/Movie title - MASH
  4. Use the character sequence Sxx for the Season number - 01
  5. Use the character sequence Ezz for the Episode number - 03

This information would then be used to search a media information provider for the relevant meta data.

Source Postmortem

The application uses C# and Dot Net 3 and is run as a Windows forms application.

Process

Source

The latest version of the source code can be found at Jamie's GitHub repository for the project: www.github.com/GaProgMan/WDTV-Live-Meta-Gen