You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug Medusa recognizes mov_text subs, at least they are included in the knowitdatabase, however they are not recognized in mp4 containers.
My initial attempt to fix it does not seem to work:
diff --git a/medusa/subtitles.py b/medusa/subtitles.py
index c255f98a7..bbe5cfdfd 100644
--- a/medusa/subtitles.py+++ b/medusa/subtitles.py@@ -722,7 +722,6 @@ def get_video(tv_episode, video_path, subtitles_dir=None, subtitles=True, embedd
logger.debug(u'Found cached video information under key %s', key)
return cached_payload['video']
- video_is_mkv = video_path.endswith('.mkv')
subtitles_dir = subtitles_dir or get_subtitles_dir(video_path)
logger.debug(u'Scanning video %s...', video_path)
@@ -737,7 +736,7 @@ def get_video(tv_episode, video_path, subtitles_dir=None, subtitles=True, embedd
video.subtitle_languages |= set(search_external_subtitles(video_path, directory=subtitles_dir).values())
if embedded_subtitles is None:
- embedded_subtitles = bool(not app.IGNORE_EMBEDDED_SUBS and video_is_mkv)+ embedded_subtitles = bool(not app.IGNORE_EMBEDDED_SUBS and video_path.endswith(('.mkv', '.mp4')))
refine(video, episode_refiners=episode_refiners, embedded_subtitles=embedded_subtitles,
release_name=release_name, tv_episode=tv_episode)
@@ -937,7 +936,7 @@ class SubtitlesFinder(object):
tv_episode.release_name, new_release_name)
tv_episode.subtitles = []
tv_episode.release_name = new_release_name
- embedded_subtitles = bool(not app.IGNORE_EMBEDDED_SUBS and video_path.endswith('.mkv'))+ embedded_subtitles = bool(not app.IGNORE_EMBEDDED_SUBS and video_path.endswith(('.mkv', '.mp4')))
downloaded_languages = download_subtitles(tv_episode, video_path=video_path,
subtitles=False, embedded_subtitles=embedded_subtitles)
I've been remuxing all my DoVi HDRmkvs to mp4 to avoid the remux when played on a LG OLED C4 as per jellyfin-webos/issues/109 and now Medusa fails to recognize the embedded subs.
Medusa (please complete the following information):
Describe the bug
Medusa
recognizesmov_text
subs, at least they are included in theknowit
database, however they are not recognized inmp4
containers.My initial attempt to fix it does not seem to work:
I've been remuxing all my
DoVi HDR
mkvs
tomp4
to avoid the remux when played on aLG OLED C4
as per jellyfin-webos/issues/109 and nowMedusa
fails to recognize the embedded subs.Medusa (please complete the following information):
A sample ffprobe of such a
.mp4
video:The text was updated successfully, but these errors were encountered: