Browse Source

fix type in list_movie_test, add stub for cache_image

master
cinnaboot 6 years ago
parent
commit
070f82e26d
  1. 8
      video_metadata/views/tmdb.py

8
video_metadata/views/tmdb.py

@ -122,7 +122,7 @@ def list_movie_test(sorting = 'title'):
md.*, pc.path
FROM
query_details md
JOIN path_cache pc ON pc.detail_id=md._id
JOIN path_cache pc ON pc.detail_id=md.detail_id
ORDER BY
{orderby}'''
@ -275,6 +275,12 @@ def create_path_mapping():
return jsonify({'errors':errors, 'message':message})
@bp.route('/images/<string:image_name>')
def cache_image(image_name = ''):
current_app.logger.debug(f'image_name: {image_name}')
return image_name
###################
# helpers

Loading…
Cancel
Save