You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 lines
862 B

from couchpotato.core.providers.extension.base import ExtensionBase
class Trakt(ExtensionBase):
includes = ['http://trakt.tv/movie/*', 'http://*.trakt.tv/movie/*']
included = ['http://trakt.tv/movie/*/*', 'http://*.trakt.tv/movie/*/*']
#CouchPotato['trakt.tv'] = (function(){
#
# var imdb_input = null;
# var year_input = null;
#
# function isMovie(){
# imdb_input = document.getElementById("meta-imdb-id");
# year_input = document.getElementById("meta-year");
# return (null != imdb_input) && (null != year_input);
# }
#
# function getId(){
# return imdb_input.value.substr(2);
# }
#
# function getYear(){
# return year_input.value;
#
# }
#
# function constructor(){
# if(isMovie()){
# lib.osd(getId(), getYear());
# }
# }
#
# return constructor;
#
#})();