Added support for tvmaze.

This commit is contained in:
Taloth Saldono
2015-10-09 22:22:28 +02:00
parent 9162e97dd5
commit 84c7f4cd8c
12 changed files with 85 additions and 1 deletions
+4
View File
@@ -35,6 +35,10 @@ Handlebars.registerHelper('tvRageUrl', function() {
return 'http://www.tvrage.com/shows/id-' + this.tvRageId;
});
Handlebars.registerHelper('tvMazeUrl', function() {
return 'http://www.tvmaze.com/shows/' + this.tvMazeId + '/_';
});
Handlebars.registerHelper('route', function() {
return StatusModel.get('urlBase') + '/series/' + this.titleSlug;
});