[Noob] Could someone help me build a script?

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
unknown
Posts: 2
Joined: 15 Jan 2015, 21:25

[Noob] Could someone help me build a script?

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

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

Post by rednoah »

Have you tried the amc script?
:idea: Please read the FAQ and How to Request Help.
unknown
Posts: 2
Joined: 15 Jan 2015, 21:25

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

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

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

Post 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)
:idea: Please read the FAQ and How to Request Help.
Post Reply