Tips for efficient subtitles fetching script + Pushover?

Any questions? Need some help?
Post Reply
f3bruary
Posts: 35
Joined: 16 May 2014, 11:33

Tips for efficient subtitles fetching script + Pushover?

Post by f3bruary »

Hi all,

I have this script I run twice a day for subtitle fetching. I use Filebot for subtitles only, and rarely for renaming cause my downloaders rename and sort as desired.

My script looks like this and it runs on my Synology NAS:

Code: Select all

#!/bin/sh

# Subs for movies
filebot -script fn:suball --lang tr --output srt --encoding utf8 /volume1/video/movies --def maxAgeDays=20
filebot -script fn:suball --lang en --output srt /volume1/video/movies --def maxAgeDays=20
filebot -script fn:suball --lang nl --output srt /volume1/video/movies --def maxAgeDays=20

# Subs for tv shows

filebot -script fn:suball --lang en --output srt /volume1/video/series --def maxAgeDays=7
filebot -script fn:suball --lang nl --output srt /volume1/video/series --def maxAgeDays=7

#Some other shizzle

find /volume1/video -iname '*.nld.srt' -exec rename 's/nld\.srt/dut\.srt/g' {} \;

exit
It all works fine but I was wondering if anyone could give me any tips or shortcuts. Is there something in here that can be done in a better way, or quicker ?

I also want Filebot to send me notifications through Pushover. I've read that the AMC script (something I'm not yet familiar with) can do this. I tried the script but it kinda messed up my folder structure and renamed certain files to an undesired format. Since it does so much and I only need so little, I'd like to stay away from the amc script. Are there any other ways of notifying ?

Any advice is appreciated.
Post Reply