mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-17 09:15:28 +00:00
WIP
This commit is contained in:
parent
6a2e2e0f5a
commit
1b1fef6f62
1 changed files with 1 additions and 1 deletions
|
@ -931,7 +931,7 @@ def refine_from_db(path, video):
|
||||||
elif isinstance(video, Movie):
|
elif isinstance(video, Movie):
|
||||||
data = database.execute("SELECT title, year, alternativeTitles, format, resolution, video_codec, audio_codec, "
|
data = database.execute("SELECT title, year, alternativeTitles, format, resolution, video_codec, audio_codec, "
|
||||||
"imdbId FROM table_movies WHERE path = ?",
|
"imdbId FROM table_movies WHERE path = ?",
|
||||||
(text_type(path_replace_reverse_movie(path)),), only_one=True)
|
(path_replace_reverse_movie(path),), only_one=True)
|
||||||
|
|
||||||
if data:
|
if data:
|
||||||
video.title = re.sub(r'(\(\d\d\d\d\))', '', data['title'])
|
video.title = re.sub(r'(\(\d\d\d\d\))', '', data['title'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue