Skip to content

Instantly share code, notes, and snippets.

@oleander
Created April 16, 2011 21:18
Show Gist options
  • Save oleander/923506 to your computer and use it in GitHub Desktop.
Save oleander/923506 to your computer and use it in GitHub Desktop.
Source.create([
{:name => "CAM", :regex => "cam"},
{:name => "Telesync", :regex => "telesync|([^a-z])ts([^a-z]?)"},
{:name => "Telecine", :regex => "telecine|([^a-z])tc([^a-z]?)"},
{:name => "Rx", :regex => "([^a-z])rx([^a-z]?)"},
{:name => "Screener", :regex => "dvdscr|screener"},
{:name => "HDTV", :regex => "hdtv"},
{:name => "DVDRip", :regex => "dvd(-?)rip", :priority => 1},
{:name => "Workprint", :regex => "workprint"},
{:name => "BluRay", :regex => "brrip|bluray|blu(-?)ray"}
])
Format.create([
{:name => "XviD", :regex => "xvid"},
{:name => "DVD-R", :regex => "dvd(-?)r"},
{:name => "x264", :regex => "x264"},
{:name => "BluRay", :regex => "bdrip|bluray|blu(-?)ray"}
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment