Add base for TV media type

This commit is contained in:
Ruud
2013-08-15 23:47:07 +02:00
parent f4d792079b
commit c8d79cde21
5 changed files with 38 additions and 0 deletions

View File

View File

@@ -0,0 +1,6 @@
from .main import TVBase
def start():
return TVBase()
config = []

View File

@@ -0,0 +1,13 @@
from couchpotato.core.logger import CPLog
from couchpotato.core.media import MediaBase
log = CPLog(__name__)
class TVBase(MediaBase):
identifier = 'tv'
def __init__(self):
super(TVBase, self).__init__()

View File

@@ -0,0 +1,7 @@
from .main import TVSearcher
import random
def start():
return TVSearcher()
config = []

View File

@@ -0,0 +1,12 @@
from couchpotato.core.logger import CPLog
from couchpotato.core.plugins.base import Plugin
log = CPLog(__name__)
class TVSearcher(Plugin):
in_progress = False
def __init__(self):
pass