Browse Source

Merge branch 'refs/heads/develop' into desktop

tags/build/2.0.0.pre2
Ruud 13 years ago
parent
commit
4cfdafebbc
  1. 4
      couchpotato/core/plugins/movie/main.py

4
couchpotato/core/plugins/movie/main.py

@ -288,8 +288,8 @@ class MoviePlugin(Plugin):
else:
try:
url = 'http://thetvdb.com/api/GetSeriesByRemoteID.php?imdbid=%s' % params.get('identifier')
tvdb = self.getCache('thetvdb.%s' % params.get('identifier'), url = url)
if 'series' in tvdb.lower():
tvdb = self.getCache('thetvdb.%s' % params.get('identifier'), url = url, show_error = False)
if tvdb and 'series' in tvdb.lower():
msg = 'Can\'t add movie, seems to be a TV show.'
log.error(msg)
fireEvent('notify.frontend', type = 'movie.is_tvshow', message = msg)

Loading…
Cancel
Save