question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SABnzbd PostProcessing Issues

See original GitHub issue

Hi,

I just downloaded the latest file and I have been having issues with SABnzbd. I tried to debug a little bit but haven’t had a chance to really go through the updated code and was wondering if you can help. I have done a clean install on my Windows 10 machine with Python3 and everything works fine if I use manual.py. but postprocessing through SABnzbd is broken. This is what I have been able to find so far

  1. In autoProcess.ini if output-directory = None under [SABNZBD] settings then the script uses “None” as an output folder which causes an error during converting.
2020-03-11 10:35:48 - resources.mediaprocessor - ERROR - C:\ffmpeg\bin\ffmpeg.exe -fix_sub_duration -hwaccel dxva2 -i c:\Downloads\Complete\TV Shows\House, M.D. S06E01 Broken (Part 1).mkv\House, M.D. S06E01 Broken (Part 1).mkv -vcodec libx264 -map 0:0 -vb 1094k -c:a:0 aac -map 0:1 -ac:a:0 2 -b:a:0 256k -metadata:s:a:0 language=eng -strict experimental -c:a:1 ac3 -map 0:1 -disposition:a:1 +default -ac:a:1 6 -b:a:1 1536k -metadata:s:a:1 language=eng -c:s:0 mov_text -map 0:2 -metadata:s:s:0 language=eng -f mp4 -threads 0 -y None\House, M.D. S06E01 Broken (Part 1).mp4

This can be solved by removing “None” from the config file and just leaving the setting blank. Which brings us to the second issue.

  1. If you look at the FFmpeg command the file path is not in “” and that causes the command to throw an error. I am not sure why that is happening.

Maybe I am missing something obvious. Will appreciate your help.

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mdhigginscommented, Mar 12, 2020

c09682446e875f22c8a5dc85161357e61a5ae69b

0reactions
mdhigginscommented, Mar 12, 2020

Ah good catch! That’s a mistake on the sample file and None shouldn’t be in there

Migrating was something that happened for people coming from old versions of the script and I was confused because I didn’t have logic in place to account for None being set before but it makes sense. Yeah just delete None and I’ll update the sample file to fix that mistake. My bad not sure how None got in there

Read more comments on GitHub >

github_iconTop Results From Across the Web

Post Processing Failed and other problems - SABnzbd Forums
Hello, I've had trouble today with a particular download that has broken SAB completely. I recently upgraded to 3.2.1 for windows.
Read more >
Post Processing always Fails - SABnzbd Forums
Re: Post Processing always Fails​​ Anyway, changing back to Python 2.7 fixed that. The second issue was an extra space in my filebot...
Read more >
Post-processing does not work - SABnzbd Forums
Yes, I'm trying to run one. I was initially trying to set up Sickbeard post-processing and that kept getting the error described in...
Read more >
Post processing stopped working on latest update
Post processing stopped working on latest update ... After the latest update, Sabnzbd has intermittently stopped unpacking files.
Read more >
Wiki - Post-processing scripts - SABnzbd
SABnzbd can run a user-provided post-processing scripts. The scripts can be associated with a job entry when adding the job manually, via category...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found