-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting FFMPEG errror on certain files. #878
Comments
If I then go back in and run Manual.py against the file, it works normally. Any ideas on why the failure? |
This is a strange error, its saying 'no such file or directory' with regards to the output file. That's the FFMPEG error Did it actually create that subdirectory |
Not sure because the cmd window pops up turn almost instantly closes and deletes all trace of the file and folder if there was one. |
Try replacing your uTorrentPostProcess.py file with this content and see if it works
|
Yep! Changing that made the file auto process now. What was it? |
I think it was failing due to an old 260 character limit in file paths that's built into Windows, I had a check in there that would attempt to avoid that but when doing the counter didn't include the filename in the full path Can you post the successful log files so I can review them and I'll merge these changes into the project |
Yes here is the log. But it didn't import the created file. The convert directory is there with the MP4, but it never pulled from sonarr into plex. 2018-05-20 12:24:55 - uTorrentPostProcess - INFO - uTorrent post processing started. |
Hm looks like Sonarr doesn't like those path flags Try this version instead
|
Damn. Still not importing after convert: 2018-05-20 12:48:46 - uTorrentPostProcess - INFO - uTorrent post processing started. |
Alright looking through Sonarr's issues it looks like Sonarr also bugs out with >260 characters on Windows and they are looking in to fixing this on V3 but this has not been implemented yet I can do some subtle changes that should at least help keep that count under 260 in the mean time by prevented the convert directory from duplicating the long torrent name. Hopefully this won't interfere with Sonarrs ability to identify the file Try this version
Reference: |
OK that would make sense. Still happening with updating py file though. 2018-05-20 13:09:30 - uTorrentPostProcess - INFO - uTorrent post processing started. |
And the path to the file: C:\Users\Plexbox\Downloads\sonarr\Stephen.Colbert.2018.05.18.Benedict.Cumberbatch.1080p.WEB.x264-TBS[rarbg]\convert\stephen.colbert.2018.05.18.benedict.cumberbatch.1080p.web.x264-tbs.mp4 Only looks to be 184 characters I also tried with a previously working file, and it imports correctly. |
Yeah it should be working now |
Not sure the location of sonarr logs that would be relevant. Nothing I can find showing anything related to the import. Nothing even related to the successful import of the other file so I might not be looking in the right spot. |
OK here's something I just noticed. Right at the start of the conversion, I check the mp4 file while its being created and the file size is over 1gb (original file is 1.3gb). After conversion, the original is deleted. I check the newly created mp4 file and its only 35kb. |
I'm just gonna remove the weird directory syntaxing for windows and go for a method that results in shorter filenames
|
Boom. That was it. Converted and imported perfectly. Also it finally deleted both directories completely which it never used to do. Thank you so much! |
2018-05-20 14:17:29 - uTorrentPostProcess - INFO - uTorrent post processing started. |
Sweet, I'll merge these commits |
Getting the error below only on certain files. Then it auto deletes the file.
The text was updated successfully, but these errors were encountered: