Fixed bad function call.

This commit is contained in:
morpheus65535 2021-05-06 10:35:43 -04:00 committed by GitHub
parent 3d7b532cb6
commit 5e30365bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1180,7 +1180,7 @@ def refine_from_db(path, video):
def refine_from_ffprobe(path, video):
if isinstance(video, Movie):
file_id = database.execute("SELECT movie_file_id FROM table_shows WHERE path = ?",
(path_mappings.path_replace_movie_reverse(path),), only_one=True)
(path_mappings.path_replace_reverse_movie(path),), only_one=True)
else:
file_id = database.execute("SELECT episode_file_id, file_size FROM table_episodes WHERE path = ?",
(path_mappings.path_replace_reverse(path),), only_one=True)