'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;

'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"'
}

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;

--- 
+++ 
@@ -6,7 +6,8 @@
   '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 Avengers': '"The Avengers"',
+  'The Seven Deadly Sins': '"The Seven Deadly Sins"'
 }
 
 function Item(options) {
Fix The Seven Deadly Sins search.
Bug reported on chrome web store
