Page 1 of 1

amc.groovy downloading subtitles when it should not be

Posted: 06 Dec 2013, 11:18
by soddengecko
I am having some issues with amc.groovy downloading subtitles when I would rather not download them.

If I leave the subtitles option out it still downloads them, if I set "--def subtitles=n" it still downloads them.

Is there anyway to fix this? I have another system that does subtitles manually for the shows/movies I want them for, so I would like to be able to disable this ability permanently

TIA

Re: amc.groovy downloading subtitles when it should not be

Posted: 06 Dec 2013, 17:49
by rednoah
I donno, have you tried just not setting the --def subtitles=n part at all? Can't reproduce the issue.


EDIT:
You're just doing it wrong, and it's defaulting to English.

BAD:

Code: Select all

 "--def subtitles=n"
GOOD:

Code: Select all

 --def "subtitles=n"
Since we don't wanna pass this as single token.

Re: amc.groovy downloading subtitles when it should not be

Posted: 06 Dec 2013, 18:00
by soddengecko
The quotes around "--def subtitles=n" were added by me when I typed up the post. I do not actually use them in my code.

Here is what I have in my bash script

Code: Select all

sudo filebot -script fn:amc --output "/path/to/media" --log-file amc.log --log info --action copy --conflict override -non-strict --def subtitles=n pushover=MYAPIKEY subtitles=$subs xbmc=$xbmc music=$music artwork=$art delteAfterExtract=$extract clean=$cln excludeList=$excld "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME" "seriesFormat=TV/{n}/{episode.special ? 'Special' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}" "movieFormat=Film/{n} ({y})" 

Re: amc.groovy downloading subtitles when it should not be

Posted: 06 Dec 2013, 18:16
by rednoah
So don't set it at all? What does that do?

Re: amc.groovy downloading subtitles when it should not be

Posted: 06 Dec 2013, 18:19
by soddengecko
It downloads subtitles without it set. It did not do it for the first few films and tv episodes, then it stared doing it for all, then stopped again, and today it grabbed the subs for 2 out of 6 files. Very weird behaviour

Re: amc.groovy downloading subtitles when it should not be

Posted: 06 Dec 2013, 18:37
by rednoah
Haven't managed to reproduce this. Try r1901 and see if it makes a difference.

Re: amc.groovy downloading subtitles when it should not be

Posted: 06 Dec 2013, 18:53
by soddengecko
I will give it a go, thank you for your help