19 changed files with 4104 additions and 4076 deletions
@ -0,0 +1,17 @@ |
|||||
|
from couchpotato.core.event import addEvent |
||||
|
from couchpotato.core.logger import CPLog |
||||
|
from couchpotato.core.plugins.base import Plugin |
||||
|
|
||||
|
log = CPLog(__name__) |
||||
|
|
||||
|
|
||||
|
class MediaBase(Plugin): |
||||
|
|
||||
|
identifier = None |
||||
|
|
||||
|
def __init__(self): |
||||
|
|
||||
|
addEvent('media.types', self.getType) |
||||
|
|
||||
|
def getType(self): |
||||
|
return self.identifier |
@ -0,0 +1,6 @@ |
|||||
|
from .main import MovieBase |
||||
|
|
||||
|
def start(): |
||||
|
return MovieBase() |
||||
|
|
||||
|
config = [] |
@ -1,6 +0,0 @@ |
|||||
from .main import MoviePlugin |
|
||||
|
|
||||
def start(): |
|
||||
return MoviePlugin() |
|
||||
|
|
||||
config = [] |
|
Loading…
Reference in new issue