'use strict';

/* This was necessary to priorize Star Wars: The Clone Wars (2008) over Star Wars: Clone Wars (2003).
  I left this object because it could be useful for other movies/shows */
var fullTitles = {
  'Star Wars: The Clone Wars': '"Star Wars: The Clone Wars"',
  'The Office (U.S.)': 'The Office (US)',
  'The Blind Side': '"The Blind Side"',
  'The Avengers': '"The Avengers"',
  'The Seven Deadly Sins': '"The Seven Deadly Sins"'
}

function Item(options) {
  this.title = fullTitles[options.title] || options.title;
  this.type = options.type;

  if (this.type === 'show') {
    this.epTitle = options.epTitle;
    this.season = options.season;
    this.episode = options.episode;
  }
}

module.exports = Item;

@@ -435,16 +435,86 @@
 y Sins%22'
+,%0A  'Young and Hungry': '%22Young and Hungry%22',%0A  'The 100': '%22The 100%22'
 %0A%7D%0A%0Afunc

Add Young and Hungry and The 100 to fullTitles search