summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-05-06 10:35:43 -0400
committerGitHub <[email protected]>2021-05-06 10:35:43 -0400
commit5e30365bc4e9b18e9709d8c65566b65e36f7360f (patch)
tree2c456dcae3624516879734083c863f510de1c7a5
parent3d7b532cb6747f5b8d946e42a70f350303a2270f (diff)
downloadbazarr-5e30365bc4e9b18e9709d8c65566b65e36f7360f.tar.gz
bazarr-5e30365bc4e9b18e9709d8c65566b65e36f7360f.zip
Fixed bad function call.
-rw-r--r--bazarr/get_subtitle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py
index fbc29e945..d416c239d 100644
--- a/bazarr/get_subtitle.py
+++ b/bazarr/get_subtitle.py
@@ -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)