Subtitles are not copied to the new location
Posted: 27 Mar 2014, 11:12
Hello,
I am running a script as a post transmission action which copies the downloaded video in the location which I am defining.
i.e :
filebot.sh -script fn:amc --log-file amc.log --action copy --conflict override -non-strict --def subtitles=en,de,fr --def artwork=y "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME" --def "seriesFormat=/Location/Series/{n}/{n} - {sxe} - {t}"
Problem:
The script runs fine and does almost everything except the subtitle functionality. The problem is that while I am downloading 3 subtitle files(en,de,fr) in the output Folder I have only one.
Reason:
in the log File I can see that the subtitles have been downloaded but while the script is copying them in the new Folder is renaming into the a general name and in the end keeps only one of them
i.e (from log)
[COPY] Rename [/oldLocation/serieSub.eng.srt] to [/newLocation/serieSub.srt]
[COPY] Rename [/oldLocation/serieSub.de.srt] to [/newLocation/serieSub.srt]
[COPY] Rename [/oldLocation/serieSub.fr.srt] to [/newLocation/serieSub.srt]
How I can avoid that?
Cheers,
PS: Thank you for your amazing job Filebot is awesome
I am running a script as a post transmission action which copies the downloaded video in the location which I am defining.
i.e :
filebot.sh -script fn:amc --log-file amc.log --action copy --conflict override -non-strict --def subtitles=en,de,fr --def artwork=y "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME" --def "seriesFormat=/Location/Series/{n}/{n} - {sxe} - {t}"
Problem:
The script runs fine and does almost everything except the subtitle functionality. The problem is that while I am downloading 3 subtitle files(en,de,fr) in the output Folder I have only one.
Reason:
in the log File I can see that the subtitles have been downloaded but while the script is copying them in the new Folder is renaming into the a general name and in the end keeps only one of them
i.e (from log)
[COPY] Rename [/oldLocation/serieSub.eng.srt] to [/newLocation/serieSub.srt]
[COPY] Rename [/oldLocation/serieSub.de.srt] to [/newLocation/serieSub.srt]
[COPY] Rename [/oldLocation/serieSub.fr.srt] to [/newLocation/serieSub.srt]
How I can avoid that?
Cheers,
PS: Thank you for your amazing job Filebot is awesome
