Difference between revisions of "MythVideo File Parsing"

From MythTV Official Wiki
Jump to: navigation, search
(Add information about MythVideo filename parsing in MythTV .22)
 
m
Line 5: Line 5:
 
==Filenames==
 
==Filenames==
  
A Movie Title.mpg
+
*A Movie Title.mpg
Title s01e01 Subtitle.mpg
+
*Title s01e01 Subtitle.mpg
Title 1x01 Subtitle.mpg
+
*Title 1x01 Subtitle.mpg
Title Season 1 Episode 1 Subtitle.mpg
+
*Title Season 1 Episode 1 Subtitle.mpg
Title 1.01 Subtitle.mpg
+
*Title 1.01 Subtitle.mpg
  
 
==Filename/Path combinations==
 
==Filename/Path combinations==
  
Title/Season 1/01 Subtitle.mpg
+
*Title/Season 1/01 Subtitle.mpg
Title/Season 1/s01e01 Subtitle.mpg
+
*Title/Season 1/s01e01 Subtitle.mpg
Title/Season 1/1x01 Subtitle.mpg
+
*Title/Season 1/1x01 Subtitle.mpg
Title/Season 1/Title s01e01 Subtitle.mpg
+
*Title/Season 1/Title s01e01 Subtitle.mpg
Title/Season 1/Title 1x01 Subtitle.mpg
+
*Title/Season 1/Title 1x01 Subtitle.mpg
Title/Season 1/Episode 1 Subtitle.mpg
+
*Title/Season 1/Episode 1 Subtitle.mpg
Title/Season 1/Season 1 Episode 1 Subtitle.mpg
+
*Title/Season 1/Season 1 Episode 1 Subtitle.mpg
Title Season 1/01 Subtitle.mpg
+
*Title Season 1/01 Subtitle.mpg
Title Season 1/s01e01 Subtitle.mpg
+
*Title Season 1/s01e01 Subtitle.mpg
Title Season 1/1x01 Subtitle.mpg
+
*Title Season 1/1x01 Subtitle.mpg
Title Season 1/Title s01e01 Subtitle.mpg
+
*Title Season 1/Title s01e01 Subtitle.mpg
Title Season 1/Title 1x01 Subtitle.mpg
+
*Title Season 1/Title 1x01 Subtitle.mpg
Title Season 1/Episode 1 Subtitle.mpg
+
*Title Season 1/Episode 1 Subtitle.mpg
Title Season 1/Season 1 Episode 1 Subtitle.mpg
+
*Title Season 1/Season 1 Episode 1 Subtitle.mpg

Revision as of 05:21, 25 August 2009

MythVideo File Naming Conventions

MythVideo (in MythTV .22 and newer) uses a complex series of regular expressions to parse all the metadata it can find from a filename when importing the file into the database. Using most common naming schemes, MythVideo can parse Title, Subtitle, Season, and Episode where that data is relevant. Below are some examples of acceptable naming conventions. Additionally, MythVideo can parse most/all of the below formats w/ and number of underscores, dashes, spaces, and periods replacing spaces below.

Filenames

  • A Movie Title.mpg
  • Title s01e01 Subtitle.mpg
  • Title 1x01 Subtitle.mpg
  • Title Season 1 Episode 1 Subtitle.mpg
  • Title 1.01 Subtitle.mpg

Filename/Path combinations

  • Title/Season 1/01 Subtitle.mpg
  • Title/Season 1/s01e01 Subtitle.mpg
  • Title/Season 1/1x01 Subtitle.mpg
  • Title/Season 1/Title s01e01 Subtitle.mpg
  • Title/Season 1/Title 1x01 Subtitle.mpg
  • Title/Season 1/Episode 1 Subtitle.mpg
  • Title/Season 1/Season 1 Episode 1 Subtitle.mpg
  • Title Season 1/01 Subtitle.mpg
  • Title Season 1/s01e01 Subtitle.mpg
  • Title Season 1/1x01 Subtitle.mpg
  • Title Season 1/Title s01e01 Subtitle.mpg
  • Title Season 1/Title 1x01 Subtitle.mpg
  • Title Season 1/Episode 1 Subtitle.mpg
  • Title Season 1/Season 1 Episode 1 Subtitle.mpg