uTorrent and movie packs

Support for Windows users
Post Reply
pietpara
Posts: 24
Joined: 29 Jan 2014, 20:51

uTorrent and movie packs

Post by pietpara »

Hi,
I noticed that when I use the "Run Program" option in uTorrent with the command line provided by FileBot example on Wiki page:

filebot -script fn:amc --output "M:\Organized Movies" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=es artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"


and I have a TV series pack torrent containing various episodes, then each time I tell uTorrent to download a new episode from the torrent, it will of course run the filebot command line again. However, I find that each time it will unpack all the episodes that were downloaded so far again, not only the last one.

I hope I could make myself clear. :?

Is there a way to tell the script to skip the ones that were already unpacked before?

thank you!
PietPara
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: uTorrent and movie packs

Post by rednoah »

What do the logs say? The amc script will only process files that are passed in by utorrent.
:idea: Please read the FAQ and How to Request Help.
pietpara
Posts: 24
Joined: 29 Jan 2014, 20:51

Re: uTorrent and movie packs

Post by pietpara »

Hi,

the log shows that it indeed gets all files as input again.
Not just the last RAR files I download from the same torrent.

Here's the listing from amc.log ( I cut out a piece to save space):

Code: Select all

Run script [fn:amc] at [Wed Mar 16 23:12:28 CET 2016]
Parameter: music = y
Parameter: subtitles = es
Parameter: artwork = y
Parameter: ut_label = 
Parameter: ut_state = 5
Parameter: ut_title = Prison.Break.S01-S04.720p.BluRay.x264-SCENE
Parameter: ut_kind = %K
Parameter: ut_file = 
Parameter: ut_dir = F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE
Read archive [halcyon-pb.s01e01.720p-x264.rar] and extract to [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264\Prison.Break.S01E01.720p.BluRay.x264-HALCYON]
Skipped extracting files [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264.mkv]
Read archive [halcyon-pb.s01e02.720p-x264.rar] and extract to [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E02.720p.BluRay.x264-HALCYON\halcyon-pb.s01e02.720p-x264\Prison.Break.S01E02.720p.BluRay.x264-HALCYON]
Skipped extracting files [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E02.720p.BluRay.x264-HALCYON\halcyon-pb.s01e02.720p-x264\Prison.Break.S01E02.720p.BluRay.x264-HALCYON\halcyon-pb.s01e02.720p-x264.mkv]

...repeated...


Read archive [prison.break.s01e10.720p.bluray.x264-sinners.rar] and extract to [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\prison.break.s01e10.720p.bluray.x264-sinners\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS]
Extracting files [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\prison.break.s01e10.720p.bluray.x264-sinners\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS.mkv]
Input: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264.mkv
Input: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E02.720p.BluRay.x264-HALCYON\halcyon-pb.s01e02.720p-x264\Prison.Break.S01E02.720p.BluRay.x264-HALCYON\halcyon-pb.s01e02.720p-x264.mkv
Input: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E03.720p.BluRay.x264-HALCYON\halcyon-pb.s01e03.720p-x264\Prison.Break.S01E03.720p.BluRay.x264-HALCYON\halcyon-pb.s01e03.720p-x264.mkv

...repeated...

Input: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E09.Tweener.720p.BluRay.x264-SiNNERS\prison.break.s01e09.720p.bluray.x264-sinners\Prison.Break.S01E09.Tweener.720p.BluRay.x264-SiNNERS\Prison.Break.S01E09.Tweener.720p.BluRay.x264-SiNNERS.mkv
Input: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\prison.break.s01e10.720p.bluray.x264-sinners\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS.mkv
Exclude: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264.nfo
Exclude: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264.r00
Exclude: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264.r01

...repeated...

Exclude: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\prison.break.s01e10.720p.bluray.x264-sinners.r28
Exclude: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\prison.break.s01e10.720p.bluray.x264-sinners.r29
Exclude: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\prison.break.s01e10.720p.bluray.x264-sinners.r30
Exclude: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\~uTorrentPartFile_27FEE5F0DC.dat
Group: [tvs:prison break] => [halcyon-pb.s01e01.720p-x264.mkv, halcyon-pb.s01e02.720p-x264.mkv, halcyon-pb.s01e03.720p-x264.mkv, halcyon-pb.s01e04.720p-x264.mkv, halcyon-pb.s01e05.720p-x264.mkv, halcyon-pb.s01e06.720p-x264.mkv, halcyon-pb.s01e07.720p-x264.mkv, halcyon-pb.s01e08.720p-x264.mkv, Prison.Break.S01E09.Tweener.720p.BluRay.x264-SiNNERS.mkv, Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS.mkv]
Get [Spanish] subtitles for 10 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264.mkv
No matching subtitles found: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E02.720p.BluRay.x264-HALCYON\halcyon-pb.s01e02.720p-x264\Prison.Break.S01E02.720p.BluRay.x264-HALCYON\halcyon-pb.s01e02.720p-x264.mkv

...repeated...

No matching subtitles found: F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\prison.break.s01e10.720p.bluray.x264-sinners\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS.mkv
Rename episodes using [TheTVDB]
Auto-detected query: [Prison Break, halcyon pb, Prison]
Fetching episode data for [Prison Break]
Fetching episode data for [Prison]
Fetching episode data for [Prison Brika]
Fetching episode data for [Prison School]
Fetching episode data for [Prison Diaries]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264\Prison.Break.S01E01.720p.BluRay.x264-HALCYON\halcyon-pb.s01e01.720p-x264.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E01 - Pilot.mkv]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E02.720p.BluRay.x264-HALCYON\halcyon-pb.s01e02.720p-x264\Prison.Break.S01E02.720p.BluRay.x264-HALCYON\halcyon-pb.s01e02.720p-x264.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E02 - Allen.mkv]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E03.720p.BluRay.x264-HALCYON\halcyon-pb.s01e03.720p-x264\Prison.Break.S01E03.720p.BluRay.x264-HALCYON\halcyon-pb.s01e03.720p-x264.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E03 - Cell Test.mkv]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E04.720p.BluRay.x264-HALCYON\halcyon-pb.s01e04.720p-x264\Prison.Break.S01E04.720p.BluRay.x264-HALCYON\halcyon-pb.s01e04.720p-x264.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E04 - Cute Poison.mkv]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E05.720p.BluRay.x264-HALCYON\halcyon-pb.s01e05.720p-x264\Prison.Break.S01E05.720p.BluRay.x264-HALCYON\halcyon-pb.s01e05.720p-x264.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E05 - English, Fitz or Percy.mkv]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E06.720p.BluRay.x264-HALCYON\halcyon-pb.s01e06.720p-x264\Prison.Break.S01E06.720p.BluRay.x264-HALCYON\halcyon-pb.s01e06.720p-x264.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E06 - Riots, Drills and the Devil, Part 1.mkv]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E07.720p.BluRay.x264-HALCYON\halcyon-pb.s01e07.720p-x264\Prison.Break.S01E07.720p.BluRay.x264-HALCYON\halcyon-pb.s01e07.720p-x264.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E07 - Riots, Drills and the Devil, Part 2.mkv]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E08.720p.BluRay.x264-HALCYON\halcyon-pb.s01e08.720p-x264\Prison.Break.S01E08.720p.BluRay.x264-HALCYON\halcyon-pb.s01e08.720p-x264.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E08 - The Old Head.mkv]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E09.Tweener.720p.BluRay.x264-SiNNERS\prison.break.s01e09.720p.bluray.x264-sinners\Prison.Break.S01E09.Tweener.720p.BluRay.x264-SiNNERS\Prison.Break.S01E09.Tweener.720p.BluRay.x264-SiNNERS.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E09 - Tweener.mkv]
[COPY] Rename [F:\Torrent Downloads\Prison.Break.S01-S04.720p.BluRay.x264-SCENE\Prison.Break.S01.720p.BluRay.x264-SCENE\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\prison.break.s01e10.720p.bluray.x264-sinners\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS\Prison.Break.S01E10.Sleight.Of.Hand.720p.BluRay.x264-SiNNERS.mkv] to [M:\Organized Movies\TV Shows\Prison Break\Season 01\Prison Break - S01E10 - Sleight of Hand.mkv]
Processed 10 files
Fetching series artwork for [Prison Break] to [M:\Organized Movies\TV Shows\Prison Break\Season 01]
Generate Series NFO: Prison Break [75340]
Banner already exists: M:\Organized Movies\TV Shows\Prison Break\poster.jpg
Banner already exists: M:\Organized Movies\TV Shows\Prison Break\banner.jpg
Banner already exists: M:\Organized Movies\TV Shows\Prison Break\fanart.jpg
Banner already exists: M:\Organized Movies\TV Shows\Prison Break\Season 01\poster.jpg
Banner already exists: M:\Organized Movies\TV Shows\Prison Break\Season 01\banner.jpg
Fetching M:\Organized Movies\TV Shows\Prison Break\clearart.png => {type=hdclearart, id=24616, url=http://assets.fanart.tv/fanart/tv/75340/hdclearart/prison-break-50f858ba362da.png, lang=de, likes=4}
Fetching M:\Organized Movies\TV Shows\Prison Break\logo.png => {type=hdtvlogo, id=21426, url=http://assets.fanart.tv/fanart/tv/75340/hdtvlogo/prison-break-5067e88ddec40.png, lang=en, likes=5}
Fetching M:\Organized Movies\TV Shows\Prison Break\landscape.jpg => {type=tvthumb, id=4255, url=http://assets.fanart.tv/fanart/tv/75340/tvthumb/P_75340 (1).jpg, lang=en, likes=1}
Fetching M:\Organized Movies\TV Shows\Prison Break\Season 01\landscape.jpg => {type=seasonthumb, id=6599, url=http://assets.fanart.tv/fanart/tv/75340/seasonthumb/Prison Break (0).jpg, lang=en, likes=2, season=1}
Done ヾ(@⌒ー⌒@)ノ
pietpara
Posts: 24
Joined: 29 Jan 2014, 20:51

Re: uTorrent and movie packs

Post by pietpara »

BTW, I also noticed that lately the subs do not download with the uTorrent script. I have to do it through the GUI or Context menu.
So you see anything wrong with the syntax (maybe due to some update in Filebot)?

thank you again!
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: uTorrent and movie packs

Post by rednoah »

1.
Are you using an old out-dated version of utorrent? That's key information that you probably wanna mention in your first post...

Code: Select all

Parameter: ut_kind = %K
2.
The old version of utorrent doesn't support %K which should be "single" or "multi". However, even "single" isn't passed in, it still doesn't extract everything, it just checks the archive and then doesn't extract anything that's already there:

Code: Select all

Skipped extracting files ...
3.
According to the logs it's searching for subtitles, just not finding any. The amc script will only perform strict subtitle search, so if no subtitles are found, it means there aren't any good ones. You can try non-strict search with the suball script later on, or using the GUI yourself.
viewtopic.php?f=3&t=2615

If you find good subtitles for which the amc script didn't find any. Please use FileBot to upload these subtitles for the files AFTER you have confirmed that subtitles and video match perfectly.
:idea: Please read the FAQ and How to Request Help.
pietpara
Posts: 24
Joined: 29 Jan 2014, 20:51

Re: uTorrent and movie packs

Post by pietpara »

Thank you for the reply!

regarding your points:

1) and 2) I have an old version. It is the recommended version for my torrent tracker service (v 2.2.1). i have been using it for years already never having had a problem.
But I'll try a later version. Do you know the oldest version that supports the parameter ut_kind?

3) I just noticed that lately I hardly get subs with my torrents, whereas before it would find a sub 99% of the time. So I thought there was something wrong. Or due to my upgrade to Filebot 4.6.1. But maybe it's that opensubtitles is slower nowadays?

thanks
PietPara
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: uTorrent and movie packs

Post by rednoah »

1.
I have no idea. They probably added the in 3.* but depending on what variables 2.* passes you may or may not be able to make it work exactly the way you want.

3.
It's a new gamble every time, depending on who uploaded subs for which files. For private trackers, there might be a few individuals that upload subs (or at least add hash matches) and if they are gone you suddenly won't get any.

If you use the GUI, then "Strict Search" (hash match or name match) will show the subtitles that the amc script can find, but the GUI will continue with "Fuzzy Search" which is what the amc script won't do.
:idea: Please read the FAQ and How to Request Help.
pietpara
Posts: 24
Joined: 29 Jan 2014, 20:51

Re: uTorrent and movie packs

Post by pietpara »

rednoah wrote:
3.
It's a new gamble every time, depending on who uploaded subs for which files. For private trackers, there might be a few individuals that upload subs (or at least add hash matches) and if they are gone you suddenly won't get any.
I just did a test. I downloaded a torrent, the script runs from uTerrent but finds no subs. I use the context menu "Fetch" function on the unpacked, renamed and copied file and it finds a subtitle immediately. So the subs are there, but the "run program" command line in uTorrent doesn't find them.

Is that also because of the fuzzy versus strict search?
pietpara
Posts: 24
Joined: 29 Jan 2014, 20:51

Re: uTorrent and movie packs

Post by pietpara »

Sorry, I take that back. Not true what I said. Made a mistake and thought it found a sub with fetch, but didn't.

Sorry.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: uTorrent and movie packs

Post by rednoah »

It's very likely that "fuzzy search" would find subtitles for popular episodes/movies even if "strict search" yields no results.
:idea: Please read the FAQ and How to Request Help.
Post Reply