Fix to MovieSearcher.single to set default media type as types aren't in develop yet.
This commit is contained in:
1 parent
73d7d01ae4
commit
e96724beaf
1 file changed
+4
@@ -116,6 +116,10 @@ class MovieSearcher(SearcherBase, MovieTypeBase):
|
|||||||
|
|
||||||
def single(self, movie, search_protocols = None, manual = False):
|
def single(self, movie, search_protocols = None, manual = False):
|
||||||
|
|
||||||
|
# movies don't contain 'type' yet, so just set to default here
|
||||||
|
if 'type' not in movie:
|
||||||
|
movie['type'] = 'movie'
|
||||||
|
|
||||||
# Find out search type
|
# Find out search type
|
||||||
try:
|
try:
|
||||||
if not search_protocols:
|
if not search_protocols:
|
||||||
|
|||||||
Reference in new issue
Block a user