Add base for TV media type
This commit is contained in:
1 parent
f4d792079b
commit
c8d79cde21
5 files changed
+38
No files matched your search
Whitespace-only changes.
@@ -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