示例#1
0
	def stoppedWatching(self):
		scrobbleMovieOption = __settings__.getSetting("scrobble_movie")
		scrobbleEpisodeOption = __settings__.getSetting("scrobble_episode")

		if self.curVideo['type'] == 'movie' and scrobbleMovieOption == 'true':
			response = utilities.cancelWatchingMovieOnTrakt()
			if response != None:
				Debug("[Scrobbler] Cancel watch response: "+str(response))
		elif self.curVideo['type'] == 'episode' and scrobbleEpisodeOption == 'true':
			response = utilities.cancelWatchingEpisodeOnTrakt()
			if response != None:
				Debug("[Scrobbler] Cancel watch response: "+str(response))
示例#2
0
    def _stopped_watching(self):
        scrobble_movies = __settings__.getSetting("scrobble_movie")
        scrobble_episodes = __settings__.getSetting("scrobble_episode")

        if self._current_video['type'] == 'movie' and scrobble_movies == 'true':
            response = utilities.cancelWatchingMovieOnTrakt()
            if response != None:
                Debug("[Scrobbler] Cancel watch responce: "+str(response))
        elif self._current_video['type'] == 'episode' and scrobble_episodes == 'true':
            responce = utilities.cancelWatchingEpisodeOnTrakt()
            if responce != None:
                Debug("[Scrobbler] Cancel watch responce: "+str(responce))
示例#3
0
    def stoppedWatching(self):
        scrobbleMovieOption = __settings__.getSetting("scrobble_movie")
        scrobbleEpisodeOption = __settings__.getSetting("scrobble_episode")

        if self.curVideo['type'] == 'movie' and scrobbleMovieOption == 'true':
            response = utilities.cancelWatchingMovieOnTrakt()
            if response != None:
                Debug("[Scrobbler] Cancel watch response: " + str(response))
        elif self.curVideo[
                'type'] == 'episode' and scrobbleEpisodeOption == 'true':
            response = utilities.cancelWatchingEpisodeOnTrakt()
            if response != None:
                Debug("[Scrobbler] Cancel watch response: " + str(response))