Add base for TV media type
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
from .main import TVBase
|
||||
|
||||
def start():
|
||||
return TVBase()
|
||||
|
||||
config = []
|
||||
@@ -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__()
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
from .main import TVSearcher
|
||||
import random
|
||||
|
||||
def start():
|
||||
return TVSearcher()
|
||||
|
||||
config = []
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user