plexcomskip's People
Forkers
hthighway dagentooboy mdpauley sportsreport2 jjmulenex dandesousa ephro benjroy someone2b nathanamorin forsethc pistole stickystyle dgiffen tagno25 kriss1427 wcrigger ddiguy dougfultz printgeek tankbusta consyce chazlarson sethron backdocplexcomskip's Issues
Something went wrong during comskip analysis: [Errno 2
been having this issue with PlexComskip since last Plex update errno 2 i also get this error if i just run the PlexPostProcess fork
https://github.com/someone2b/PlexPostProcess
2017-10-17 23:01:23,382 [f86797] Using input file: Brooklyn Nine-Nine (2013) - S05E04 - HalloVeen.ts
2017-10-17 23:01:23,382 [f86797] Copying file to work on it: /home/user/tmp/f8679768-24d4-4e00-99de-a7263777acc5/Brooklyn Nine-Nine (2013) - S05E04 - HalloVeen.ts
2017-10-17 23:01:23,383 [f86797] Something went wrong during comskip analysis: [Errno 2] No such file or directory: 'Brooklyn Nine-Nine (2013) - S05E04 - HalloVeen.ts'
2017-10-17 23:01:23,383 [f86797] Done processing!
Problem whacking temp dirs
I am getting the following error for 171b73a:
2017-10-10 14:00:01,852 [de3c09] PlexComskip got invoked from /home/kplex/PlexComskip/PlexComskip.py
2017-10-10 14:00:01,863 [de3c09] Using session ID: de3c095c-f1ad-4927-aad3-594a14585e8a
2017-10-10 14:00:01,863 [de3c09] Using temp dir: /tmp/de3c095c-f1ad-4927-aad3-594a14585e8a
2017-10-10 14:00:01,863 [de3c09] Using comskip dir: /tmp/de3c095c-f1ad-4927-aad3-594a14585e8a
2017-10-10 14:00:01,863 [de3c09] Using input file: /home/kplex/VideosSSD/SeriesSSD/.grab/fbeb827fd8ccd554e0f2e3ac4132bf65b5fdf265/The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.ts
2017-10-10 14:00:01,863 [de3c09] [comskip] Command: ['/usr/local/bin/comskip', '--output', '/tmp/de3c095c-f1ad-4927-aad3-594a14585e8a', '--ini', '/home/kplex/PlexComskip/comskip.ini', '/home/kplex/VideosSSD/SeriesSSD/.grab/fbeb827fd8ccd554e0f2e3ac4132bf65b5fdf265/The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.ts']
2017-10-10 14:09:22,556 [de3c09] Using EDL: /tmp/de3c095c-f1ad-4927-aad3-594a14585e8a/The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.edl
2017-10-10 14:09:22,556 [de3c09] Keeping segment from 0.0 to 428.46...
2017-10-10 14:09:22,557 [de3c09] Keeping segment from 518.38 to 1461.06...
2017-10-10 14:09:22,557 [de3c09] Keeping segment from 1581.05 to 2650.15...
2017-10-10 14:09:22,557 [de3c09] Keeping segment from 2726.26 to 2986.28...
2017-10-10 14:09:22,557 [de3c09] Keeping segment from 3046.38 to the end of the file...
2017-10-10 14:09:22,557 [de3c09] [ffmpeg] Command: ['/usr/local/bin/ffmpeg', '-i', '/home/kplex/VideosSSD/SeriesSSD/.grab/fbeb827fd8ccd554e0f2e3ac4132bf65b5fdf265/The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.ts', '-ss', '0.0', '-t', '428.46', '-c', 'copy', 'segment-0.ts']
2017-10-10 14:09:23,721 [de3c09] [ffmpeg] Command: ['/usr/local/bin/ffmpeg', '-i', '/home/kplex/VideosSSD/SeriesSSD/.grab/fbeb827fd8ccd554e0f2e3ac4132bf65b5fdf265/The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.ts', '-ss', '518.38', '-t', '942.68', '-c', 'copy', 'segment-1.ts']
2017-10-10 14:09:26,256 [de3c09] [ffmpeg] Command: ['/usr/local/bin/ffmpeg', '-i', '/home/kplex/VideosSSD/SeriesSSD/.grab/fbeb827fd8ccd554e0f2e3ac4132bf65b5fdf265/The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.ts', '-ss', '1581.05', '-t', '1069.1', '-c', 'copy', 'segment-2.ts']
2017-10-10 14:09:29,997 [de3c09] [ffmpeg] Command: ['/usr/local/bin/ffmpeg', '-i', '/home/kplex/VideosSSD/SeriesSSD/.grab/fbeb827fd8ccd554e0f2e3ac4132bf65b5fdf265/The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.ts', '-ss', '2726.26', '-t', '260.02', '-c', 'copy', 'segment-3.ts']
2017-10-10 14:09:32,962 [de3c09] [ffmpeg] Command: ['/usr/local/bin/ffmpeg', '-i', '/home/kplex/VideosSSD/SeriesSSD/.grab/fbeb827fd8ccd554e0f2e3ac4132bf65b5fdf265/The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.ts', '-ss', '3046.38', '-c', 'copy', 'segment-4.ts']
2017-10-10 14:09:36,010 [de3c09] Going to concatenate 5 files from the segment list.
2017-10-10 14:09:36,011 [de3c09] [ffmpeg] Command: ['/usr/local/bin/ffmpeg', '-y', '-f', 'concat', '-i', '/tmp/de3c095c-f1ad-4927-aad3-594a14585e8a/segments.txt', '-c', 'copy', '/tmp/de3c095c-f1ad-4927-aad3-594a14585e8a/The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.ts']
2017-10-10 14:09:44,096 [de3c09] Sanity checking our work...
2017-10-10 14:09:44,097 [de3c09] Output file size looked sane, we'll replace the original: 1.9GB -> 1.6GB
2017-10-10 14:09:44,097 [de3c09] Copying the output file into place: The Locker Room (2012) - 2017-10-10 00 00 00 - Episode 10-10.ts -> /home/kplex/VideosSSD/SeriesSSD/.grab/fbeb827fd8ccd554e0f2e3ac4132bf65b5fdf265
2017-10-10 14:09:58,001 [de3c09] Problem whacking temp dirs: /tmp/de3c095c-f1ad-4927-aad3-594a14585e8a, /tmp/de3c095c-f1ad-4927-aad3-594a14585e8a
2017-10-10 14:09:58,001 [de3c09] [Errno 2] No such file or directory: '/tmp/de3c095c-f1ad-4927-aad3-594a14585e8a'
2017-10-10 14:09:58,002 [de3c09] Done processing!
Also included a screenshot from plex, the script completes successfully but because of the error when attempting to delete the tmp directory, plex marks the post-processing as failure. I went back to 53bf3c6.
Something went wrong during sanity check: [Errno 1]
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!
[REQUEST] Chapter Markers
Would it be possible to pass a second variable to the script where if set it would just take the comskip output and use that to embed chapter markers where the commercials are in the mkv instead of cutting out the commercials?
Copies file to temp dir, but does nothing after
I'm on a linux box, everything looks right. I can run the script with the plex user and it runs fine, but when plex itself runs it, it just doesn't run comskip on it.
Could not open video codec
When running from plex i get could not open video codec
however when run straight from the command line all works well:
su -m plex -c '"/usr/local/bin/comskip" "--output" "/tmp/f9ce270c-eeb9-44fb-88b7-3182ae715328" "--ini" "/usr/local/PlexComskip/comskip.ini" "/mnt/PlexRecordings/BackupMP2/Lethal Weapon (2016) - S01E14 - The Murtaugh File.mkv"'
Lethal Weapon (2016) - S01E14 - The Murtaugh File.log.fromcmdline.txt
Lethal Weapon (2016) - S01E14 - The Murtaugh File.log.fromplex.txt
Any advice much appreciated!
plex user not creating tmp folders
When I run the script manually everything works fine, but as part of the Post Processing Script it is failing. I'm getting the following error:
Comskip did not exit properly with code: 255
After some investigation, the tmp folder isn't being created and the process fails after that.
the plex user does have rights in the folder, the log is in /tmp/logs
Are there any other rights the plex user needs?
Nice of 20?
I thought the nice range was -20 to 19. Might want to update your config comments. My guess is if you put anything >19 it just defaults to it, but might as well be correct. Also the - in front might be misinterpreted as a -20 which would set it to the highest priority.
Thanks for the script.
Unsure how to contact directly
I think my script i wrote may assist with your comskip script and vis versa would like to talk.
https://github.com/travman1900/DroneFactoryReplacement @ekim1337
Do you have some sort of overview of this?
How does this work with Plex? Is it a plex extension? Does plex read the file and cause it to not play commericals? Or does this create a brand new file?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.