From 7296dc54d046d19c866da5aa2194973e56eba8da Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 24 Aug 2013 15:29:57 +0200 Subject: [PATCH] Move thetvdb to info providers --- couchpotato/core/providers/info/base.py | 4 ++++ couchpotato/core/providers/{show => info}/thetvdb/__init__.py | 0 couchpotato/core/providers/{show => info}/thetvdb/main.py | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) rename couchpotato/core/providers/{show => info}/thetvdb/__init__.py (100%) rename couchpotato/core/providers/{show => info}/thetvdb/main.py (99%) diff --git a/couchpotato/core/providers/info/base.py b/couchpotato/core/providers/info/base.py index 1b43ab8a..efb16621 100644 --- a/couchpotato/core/providers/info/base.py +++ b/couchpotato/core/providers/info/base.py @@ -3,3 +3,7 @@ from couchpotato.core.providers.base import Provider class MovieProvider(Provider): type = 'movie' + + +class ShowProvider(Provider): + type = 'show' diff --git a/couchpotato/core/providers/show/thetvdb/__init__.py b/couchpotato/core/providers/info/thetvdb/__init__.py similarity index 100% rename from couchpotato/core/providers/show/thetvdb/__init__.py rename to couchpotato/core/providers/info/thetvdb/__init__.py diff --git a/couchpotato/core/providers/show/thetvdb/main.py b/couchpotato/core/providers/info/thetvdb/main.py similarity index 99% rename from couchpotato/core/providers/show/thetvdb/main.py rename to couchpotato/core/providers/info/thetvdb/main.py index 61ecd6b0..faeeb60e 100644 --- a/couchpotato/core/providers/show/thetvdb/main.py +++ b/couchpotato/core/providers/info/thetvdb/main.py @@ -1,7 +1,7 @@ from couchpotato.core.event import addEvent from couchpotato.core.helpers.encoding import simplifyString, toUnicode from couchpotato.core.logger import CPLog -from couchpotato.core.providers.show.base import ShowProvider +from couchpotato.core.providers.info.base import ShowProvider from tvdb_api import tvdb_api, tvdb_exceptions from datetime import datetime import traceback