(Feature Request) Sendmail categories

Discuss newly added features or request new features.
Post Reply
andmc
Posts: 2
Joined: 07 Mar 2015, 08:44

(Feature Request) Sendmail categories

Post by andmc » 07 Mar 2015, 08:52

The new send mail feature is a great addition. Is it possible to make it category specific?
I would like to always send emails for movies but only send on failure for tv shows.
Hoping you can add this to the script
andmc

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: (Feature Request) Sendmail categories

Post by hugbug » 07 Mar 2015, 11:31

Using file explorer make a copy of Email.py under a different name, for example - EMailShows.py (or a symlink if your file system supports them).
Configure EMailShows.py to send on failure only and EMail.py to always send.
In the category settings for movies choose pp-script Email.py and in the category for shows choose EMailShows.py. Choose all additional scripts too if necessary because the CategoryX.PostScript overrides the global PostScript and no scripts configured in the global PostScripts will be called if CategoryX.PostScript has any scripts selected.

andmc
Posts: 2
Joined: 07 Mar 2015, 08:44

Re: (Feature Request) Sendmail categories

Post by andmc » 07 Mar 2015, 11:52

many thanks for the quick reply
andmc

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests