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
So it looks like it skips the part where it's supposed to add the input file.
subprocess.CalledProcessError: Command '['ffmpeg', '-v', 'quiet', '-stats', '-activation_bytes', '########', '-c', 'copy', '/dir/to/saved/file.m4b']' returned non-zero exit status 1.
I'm sure there is a better way to do this (I know just enough programing to be dangerous) but I made a patch file skip_rebuild.patch which should highlight the issue location.
After making the change everything seems to work.
The text was updated successfully, but these errors were encountered:
CoolJoe72
changed the title
audible decrypt skip-rebuild-chapters missing input file
audible decrypt skip-rebuild-chapters missing input file in base_cmd
May 28, 2024
Sorry didn't realize it would make you download the patch without viewing it. Here is what is in the patch file above or if you prefer just copy it from here.
diff --git a/plugin_cmds/cmd_decrypt.py b/plugin_cmds/cmd_decrypt.py
index 8a09304..489055b 100644
--- a/plugin_cmds/cmd_decrypt.py+++ b/plugin_cmds/cmd_decrypt.py@@ -495,6 +495,12 @@ class FfmpegFileDecrypter:
except ChapterError:
if self._skip_rebuild_chapters:
echo("Skip rebuild chapters due to chapter mismatch.")
+ base_cmd.extend(+ [+ "-i",+ str(self._source),+ ]+ )
else:
raise
else:
So it looks like it skips the part where it's supposed to add the input file.
I'm sure there is a better way to do this (I know just enough programing to be dangerous) but I made a patch file skip_rebuild.patch which should highlight the issue location.
After making the change everything seems to work.
The text was updated successfully, but these errors were encountered: