Files
CouchPotatoServer/couchpotato/core/media/__init__.py
T
2013-09-02 21:59:06 +02:00

14 lines
259 B
Python

from couchpotato.core.event import addEvent
from couchpotato.core.plugins.base import Plugin
class MediaBase(Plugin):
_type = None
def initType(self):
addEvent('media.types', self.getType)
def getType(self):
return self._type