-
Notifications
You must be signed in to change notification settings - Fork 276
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
[ FEATURE ] Improve Postprocessing #291
Comments
Maybe add a queue directory in the PP directory and don't allow anything to PP that "automatically", so only the thing that moved it there can handle it. Kind of like a "protected zone". |
@OmgImAlexis I wouldnt say just dont allow the file itself becouse imagine |
Sorry @duramato i didn't understand a single word of that comment. |
Maybe it's a good idea to create a list of requirements which PP should be compliant to? So what do we expect from PP? |
@p0psicles |
What i meant is to simply check if the same file trying to be PPed already beeing PPed since thats the only time issues arive ,no need to queue it |
I guess we can adapt the decorator mii created to do just that? But what then? Return a failure to nzbToMedia, or a notification if it's a manual pp job? |
Just return a "File is already beeing PPed" if its the same file, like it did with multiple threads |
Hi, |
@fernandog following the few discussions we had about it, you might be willing to comment |
@NicoLeOca problem is embedded subs need the lang tag inside it. without it there is no way to know the lang. |
@NicoLeOca i can remove the "auto PP" disabling when postpone if no subs. that will fix |
@fernandog about the embedded, the language could be detect by the name of the subs track, when the language flag is missing. |
Plex uses the track lang, if there isnt any it defaults to english |
thanks @duramato |
Added to master feature request list - discussion for feature will continue here even though issue is closed. |
I want to look into queuing of the PP jobs.
I think we should implement this. IMO we have the following solution alternatives:
@pymedusa/developers what do you guys think?
IMO the main benefits of queuing would be:
I tend to solution 2, because that's the least amount of effort (I guess), and would offload some cpu/mem from medusa.
Just had a chat with @duramato. But the only issue we're having is when you AutoPP and Manual PP the same file at the same time. Which IMO is pretty rare?!
This change will make sure PP jobs can be run in parallel again: #290
I propose that we collect all issues in this FR, and try to collect as much knowledge as possible.
The text was updated successfully, but these errors were encountered: