|
|
@ -37,7 +37,7 @@ class MoviesSubtitles(Resource):
|
|
|
|
.get_or_none()
|
|
|
|
.get_or_none()
|
|
|
|
|
|
|
|
|
|
|
|
if not movieInfo:
|
|
|
|
if not movieInfo:
|
|
|
|
return 'Movie not found', 501
|
|
|
|
return 'Movie not found', 500
|
|
|
|
|
|
|
|
|
|
|
|
moviePath = path_mappings.path_replace_movie(movieInfo['path'])
|
|
|
|
moviePath = path_mappings.path_replace_movie(movieInfo['path'])
|
|
|
|
sceneName = movieInfo['sceneName'] or 'None'
|
|
|
|
sceneName = movieInfo['sceneName'] or 'None'
|
|
|
@ -97,7 +97,7 @@ class MoviesSubtitles(Resource):
|
|
|
|
.get_or_none()
|
|
|
|
.get_or_none()
|
|
|
|
|
|
|
|
|
|
|
|
if not movieInfo:
|
|
|
|
if not movieInfo:
|
|
|
|
return 'Movie not found', 501
|
|
|
|
return 'Movie not found', 500
|
|
|
|
|
|
|
|
|
|
|
|
moviePath = path_mappings.path_replace_movie(movieInfo['path'])
|
|
|
|
moviePath = path_mappings.path_replace_movie(movieInfo['path'])
|
|
|
|
sceneName = movieInfo['sceneName'] or 'None'
|
|
|
|
sceneName = movieInfo['sceneName'] or 'None'
|
|
|
@ -159,7 +159,7 @@ class MoviesSubtitles(Resource):
|
|
|
|
.get_or_none()
|
|
|
|
.get_or_none()
|
|
|
|
|
|
|
|
|
|
|
|
if not movieInfo:
|
|
|
|
if not movieInfo:
|
|
|
|
return 'Movie not found', 501
|
|
|
|
return 'Movie not found', 500
|
|
|
|
|
|
|
|
|
|
|
|
moviePath = path_mappings.path_replace_movie(movieInfo['path'])
|
|
|
|
moviePath = path_mappings.path_replace_movie(movieInfo['path'])
|
|
|
|
|
|
|
|
|
|
|
|