Page 1 of 1

[Noob] Could someone help me build a script?

Posted: 15 Jan 2015, 21:36
by unknown
Hey there

I'm a totally noob in scripting. I would like to build the following script:

Source-Folder: "D:\Transfer from Synology\"
(Series, Movies are totally unsorted in this folder. They are all extracted, but they have different names, sometimes folder structure sometimes only files)

I would like:
a.) rename the files to "Name - S01E01 - Title.avi"
b.) download Englisch and German subtitles for this file
c.) Transfer the files to "D:\Transfer to Cloud" with the following structures Series/Season/Files (for example D:\Transfer to Cloud\Fringe\Season 1\Fringe - S01E01 - Flight 627.avi)
d.) delete all leftovers in "D:\Transfer from Synology\"

Thank you soo much!! Tried t for hours.. Didn't work :(

My System: Windows 7, 64bit, newest filebot version,

regards
unknown

Re: [Noob] Could someone help me build a script?

Posted: 16 Jan 2015, 06:19
by rednoah
Have you tried the amc script?

Re: [Noob] Could someone help me build a script?

Posted: 17 Jan 2015, 16:31
by unknown
Yes I did, with the following problems:

a.) it doesn't fetch the subtitles
b.) it doesn't delete the transfered files in the input folder

Can you help me?

Re: [Noob] Could someone help me build a script?

Posted: 17 Jan 2015, 18:26
by rednoah
Of course. Here's a link to the docs that you apparently didn't bother to read:
viewtopic.php?f=4&t=215
--def subtitles=en,de,fr Download subtitles for the given languages
(assuming you have OpenSubtitles set up already)
--def clean=y Automatically remove empty folders and clutter files that may be left behind after moving the video files or temporary extracted files after copying
(assuming you're moving files)
--def deleteAfterExtract=y Delete archives after extraction
(assuming you're extracting archives)