|
|
@ -8,7 +8,7 @@ from couchpotato.core.helpers.encoding import toUnicode |
|
|
|
from couchpotato.core.helpers.variable import splitString, getImdb, getTitle |
|
|
|
from couchpotato.core.logger import CPLog |
|
|
|
from couchpotato.core.media import MediaBase |
|
|
|
from .index import MediaIndex, MediaStatusIndex, MediaTypeIndex, TitleSearchIndex, TitleIndex, StartsWithIndex |
|
|
|
from .index import MediaIndex, MediaStatusIndex, MediaTypeIndex, TitleSearchIndex, TitleIndex, StartsWithIndex, MediaChildrenIndex |
|
|
|
|
|
|
|
|
|
|
|
log = CPLog(__name__) |
|
|
@ -23,6 +23,7 @@ class MediaPlugin(MediaBase): |
|
|
|
'media_by_type': MediaTypeIndex, |
|
|
|
'media_title': TitleIndex, |
|
|
|
'media_startswith': StartsWithIndex, |
|
|
|
'media_children': MediaChildrenIndex, |
|
|
|
} |
|
|
|
|
|
|
|
def __init__(self): |
|
|
|