amc.groovy downloading subtitles when it should not be

Any questions? Need some help?
Post Reply
soddengecko
Posts: 7
Joined: 30 Nov 2013, 09:25

amc.groovy downloading subtitles when it should not be

Post 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
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
soddengecko
Posts: 7
Joined: 30 Nov 2013, 09:25

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

Post 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})" 
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

So don't set it at all? What does that do?
:idea: Please read the FAQ and How to Request Help.
soddengecko
Posts: 7
Joined: 30 Nov 2013, 09:25

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

Post 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
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

Haven't managed to reproduce this. Try r1901 and see if it makes a difference.
:idea: Please read the FAQ and How to Request Help.
soddengecko
Posts: 7
Joined: 30 Nov 2013, 09:25

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

Post by soddengecko »

I will give it a go, thank you for your help
Post Reply