fix: Update conversion service and UI to support MP4 files in conversion process

This commit is contained in:
sha
2026-01-04 13:41:35 +00:00
parent 13d610b1c3
commit e4314f1587
6 changed files with 16 additions and 13 deletions
+3
View File
@@ -505,10 +505,13 @@ class ConvertConfirmScreen(Screen):
def on_button_pressed(self, event):
if event.button.id == "convert_copy":
self._do_conversion(encode_hevc=False)
event.stop() # Prevent key event from also triggering
elif event.button.id == "convert_hevc":
self._do_conversion(encode_hevc=True)
event.stop() # Prevent key event from also triggering
elif event.button.id == "cancel":
self.app.pop_screen() # type: ignore
event.stop() # Prevent key event from also triggering
def _do_conversion(self, encode_hevc: bool):
"""Start conversion with the specified encoding mode."""