External Script Support when renaming/scanning?

Enhancement requests or feature requests for future Mylar releases.
Post Reply
Methanoid
Posts: 66
Joined: Wed Jun 10, 2015 9:10 pm

External Script Support when renaming/scanning?

Post by Methanoid »

I know we can use ComicBookRN.py when downloading through Mylar but what about calling scripts when scanning in a comic directory or when renaming? I'm thinking to process archives using tools like those in the "Other" forum here

http://mylar.forumatic.com/viewforum.php?f=6
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: External Script Support when renaming/scanning?

Post by evilhero »

Yes there are extra options on the Quality and Post-processing tab in the configuration, one for pre-processing, and one for after post-processing. Just make sure to provide the complete path to said scripts and that the user running mylar has execution rights.

You can even set the post-processing script itself to something other than comicRN.py (the nzbtomedia scripts are an example of this). This is a hidden option in the config.ini, just put the full path in the post_processing_script field. You have to make sure that sabnzbd has access to the script (meaning it has to be relative to the sabnzbd scripts directory), and has the proper rights to execute it since it would be the sabnzbd user running it, not the mylar user.

Hope that helps!
Post Reply