Something went wrong during sanity check: [Errno 1]
Closed this issue · 0 comments
First off thanks for the great script! I was wondering if somebody could provide some insight on on an error that I keep having. I have provided an output from a recorded show. I was thinking it was a permissions problem but I have reviewed the permissions and they are all correct. The show does record and the commercials are skipped, for the most part, but plex reports there was an error with the script.
Plex Error "An error occurred while postprocessing the recording"
2017-09-20 16:37:33,539 [845721] Something went wrong during sanity check: [Errno 1] Operation not permitted: '/media/plex/TV Shows/.grab/b08275f75945a50b4060f4ac1f984e2b47f0cf42/Judge Judy
2017-09-20 16:30:23,501 [845721] PlexComskip got invoked from /opt/PlexComskip/PlexComskip.py
2017-09-20 16:30:23,772 [845721] Using session ID: 8457215b-0587-48b4-9827-f46b4a46960a
2017-09-20 16:30:23,772 [845721] Using temp dir: /tmp/8457215b-0587-48b4-9827-f46b4a46960a
2017-09-20 16:30:23,772 [845721] Using input file: /media/plex/TV Shows/.grab/b08275f75945a50b4060f4ac1f984e2b47f0cf42/Judge Judy (1996) - S22E15 - Sardines and Dr. Pepper Vandal ; Motorcycle T-Bone Cra$
2017-09-20 16:30:23,772 [845721] [comskip] Command: ['/usr/local/bin/comskip', '--output', '/tmp/8457215b-0587-48b4-9827-f46b4a46960a', '--ini', '/opt/PlexComskip/comskip.ini', '/media/plex/TV Shows/.gr$
2017-09-20 16:34:42,160 [845721] Using EDL: /tmp/8457215b-0587-48b4-9827-f46b4a46960a/Judge Judy (1996) - S22E15 - Sardines and Dr. Pepper Vandal ; Motorcycle T-Bone Crash .edl
2017-09-20 16:34:42,160 [845721] Keeping segment from 0.0 to 520.2...
2017-09-20 16:34:42,160 [845721] Keeping segment from 694.69 to 991.06...
2017-09-20 16:34:42,160 [845721] Keeping segment from 1171.77 to 1401.65...
2017-09-20 16:34:42,160 [845721] Keeping segment from 1547.96 to 1673.59...
2017-09-20 16:34:42,161 [845721] Keeping segment from 1798.26 to the end of the file...
2017-09-20 16:34:42,161 [845721] [ffmpeg] Command: ['/usr/bin/ffmpeg', '-i', '/media/plex/TV Shows/.grab/b08275f75945a50b4060f4ac1f984e2b47f0cf42/Judge Judy (1996) - S22E15 - Sardines and Dr. Pepper Van$
2017-09-20 16:34:57,890 [845721] [ffmpeg] Command: ['/usr/bin/ffmpeg', '-i', '/media/plex/TV Shows/.grab/b08275f75945a50b4060f4ac1f984e2b47f0cf42/Judge Judy (1996) - S22E15 - Sardines and Dr. Pepper Van$
2017-09-20 16:35:19,426 [845721] [ffmpeg] Command: ['/usr/bin/ffmpeg', '-i', '/media/plex/TV Shows/.grab/b08275f75945a50b4060f4ac1f984e2b47f0cf42/Judge Judy (1996) - S22E15 - Sardines and Dr. Pepper Van$
2017-09-20 16:35:38,008 [845721] [ffmpeg] Command: ['/usr/bin/ffmpeg', '-i', '/media/plex/TV Shows/.grab/b08275f75945a50b4060f4ac1f984e2b47f0cf42/Judge Judy (1996) - S22E15 - Sardines and Dr. Pepper Van$
2017-09-20 16:36:03,582 [845721] [ffmpeg] Command: ['/usr/bin/ffmpeg', '-i', '/media/plex/TV Shows/.grab/b08275f75945a50b4060f4ac1f984e2b47f0cf42/Judge Judy (1996) - S22E15 - Sardines and Dr. Pepper Van$
2017-09-20 16:36:27,258 [845721] Going to concatenate 5 files from the segment list.
2017-09-20 16:36:27,259 [845721] [ffmpeg] Command: ['/usr/bin/ffmpeg', '-y', '-f', 'concat', '-i', '/tmp/8457215b-0587-48b4-9827-f46b4a46960a/segments.txt', '-c', 'copy', '/tmp/8457215b-0587-48b4-9827-f$
2017-09-20 16:37:03,807 [845721] Sanity checking our work...
2017-09-20 16:37:03,873 [845721] Output file size looked sane, we'll replace the original: 2.5GB -> 1.6GB
2017-09-20 16:37:03,873 [845721] Copying the output file into place: Judge Judy (1996) - S22E15 - Sardines and Dr. Pepper Vandal ; Motorcycle T-Bone Crash .ts -> /media/plex/TV Shows/.grab/b08275f75945a$
2017-09-20 16:37:33,539 [845721] Something went wrong during sanity check: [Errno 1] Operation not permitted: '/media/plex/TV Shows/.grab/b08275f75945a50b4060f4ac1f984e2b47f0cf42/Judge Judy (1996) - S22$
2017-09-20 16:37:33,539 [845721] Leaving temp files in: /tmp/8457215b-0587-48b4-9827-f46b4a46960a
2017-09-20 16:37:33,539 [845721] Done processing!