Newbie needs some help (scripts make my head hurt)

Any questions? Need some help?
Post Reply
zan5hin
Posts: 1
Joined: 16 Oct 2014, 23:17

Newbie needs some help (scripts make my head hurt)

Post by zan5hin »

Hi,

I used to use torrents, then switched to newsgroups when I found out about sabnzbd and sickbeard, but when newsgroups died I switched back to torrents and organise stuff manually. So I am hoping someone can help me here.

I download 720p, WEB-DL and 1080p only these days.

I will try to quickly lay out my proposed setup:

New downloads come to E:\Downloads\Utorrent

Some torrents I receive from public trackers, I don't want to keep seeding a long time, I just want them to be moved and then deleted from E:\. I don't mind stopping them manually after the script runs.

Movies from public trackers live in F:\Movies and private trackers F:\Movies\Seeding
TV from public trackers live in G:\TV and private trackers G:\TV\Seeding

Is it possible for Filebot to move downloads to different folders depending on the tracker they came from?

I don't really care about file renaming, but having XBMC update the movie and tv sections automatically would be nice.

Thanks in advance
elgallo
Posts: 40
Joined: 29 Apr 2014, 10:33

Re: Newbie needs some help (scripts make my head hurt)

Post by elgallo »

I'm working on something similar, I don't think filebot can move/copy/link based off trackers. But this thread http://www.filebot.net/forums/viewtopic ... 820#p12820 shows some promise. though I haven't sorted it out, I would imagine that you'd have to move some folders around.

F:\Movies\Private
F:\Movies\Public

using the other thread posts example. Running filebot multiple times at the completion of a torrent I would try

Code: Select all

#!/bin/bash

/path/to/filebot.sh -script fn:amc "F:\Movies\Private" --output "/path/to/XMBC/Movies" --action SYMLINK --conflict override -non-strict --def music=n artwork=y xmbc="your XMBC name"

/path/to/filebot.sh -script fn:cleaner "F:\Movies\Private"

/path/to/filebot.sh -script fn:amc "F:\Movies\Public" --output "/path/to/XMBC/Movies" --action MOVE --conflict override -non-strict --def music=n artwork=y xmbc="XMBC address"

/path/to/filebot.sh -script fn:amc "G:\TV\Private" --output "/path/to/XMBC/TV" --action SYMLINK --conflict override -non-strict --def music=n artwork=y xmbc="your XMBC name"

/path/to/filebot.sh -script fn:amc "G:\TV" --output "/path/to/XMBC/TV" --action MOVE --conflict override -non-strict --def music=n artwork=y xmbc="your XMBC name"
I haven't tried/tested this method myself just yet. But I do know that MOVE will move the file to XMBC (I use plex) and break seeding so you'll have an error in uTorrent. however with a Private tracker you want to continue seeding. SYMLINK will make a symbolic link with the proper name to XMBC location. so when you click on a show/movie you want to watch, XMBC "opens" the symlink thinking its the actual file, when it's really opening it from the seeding location that it is Linked to.

Hope this helps


my setup is a bit different so
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Newbie needs some help (scripts make my head hurt)

Post by rednoah »

The best solution would be to pool all the drives into a single virtual file system so you can use --action HARDLINK though I'm not sure how well symlinks/hardlinks work in general in the Windows world.
:idea: Please read the FAQ and How to Request Help.
Post Reply