Page 1 of 1

Error trying to use script

Posted: 27 Apr 2013, 16:39
by esbroma
Hi,

First of all thanks for this script in http://www.filebot.net/forums/viewtopic.php?f=4&t=215 it works great, I've been waiting for something like that long time.

I tryed to follow the but it doesn't work from utorrent, is doesn't do anything

If I try to run the script on the cmd, no problem, works fast and easy

the scripts, the only difference is in cmd I especify the input folder:

utorrent

Code: Select all

filebot -script fn:amc --output "D:/Plex Media" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=en,es artwork=y "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
cmd

Code: Select all

filebot -script fn:amc "D:/Descargas" --output "D:/Plex Media" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=en,es artwork=y "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
amc.log

Code: Select all

Parameter: music = y
Parameter: subtitles = en,es
Parameter: artwork = y
Parameter: ut_dir = %D
Parameter: ut_file = %F
Parameter: ut_kind = %K
Parameter: ut_title = %N
Parameter: ut_label = %L
Parameter: ut_state = %S
Argument: D:\Descargas
Input: D:\Descargas\Community.S04E11.HDTV.x264-LOL.eng.srt
Input: D:\Descargas\Community.S04E11.HDTV.x264-LOL.mp4
Input: D:\Descargas\Community.S04E11.HDTV.x264-LOL.spa.srt
Input: D:\Descargas\The Last Stand (2013)\The.Last.Stand.2013.720p.BRrip.x264.GAZ.mp4
Input: D:\Descargas\The.Impossible.2012.DVDRip.XviD.AC3-NYDIC\The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.avi
The.Last.Stand.2013.720p.BRrip.x264.GAZ.mp4 [series: Stand, movie: The Last Stand (2013)]
Exclude Series: Stand
The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.avi [series: null, movie: The Impossible (2012)]
Group: [tvs:Community] => [Community.S04E11.HDTV.x264-LOL.eng.srt, Community.S04E11.HDTV.x264-LOL.mp4, Community.S04E11.HDTV.x264-LOL.spa.srt]
Group: [tvs:null, mov:The Last Stand (2013), anime:null] => [The.Last.Stand.2013.720p.BRrip.x264.GAZ.mp4]
Group: [tvs:null, mov:The Impossible (2012), anime:null] => [The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.avi]
No missing subtitles
No missing subtitles
Rename episodes using [TheTVDB]
Auto-detected query: [Community]
Fetching episode data for [Community]
Auto-detected query: [Community]
Fetching episode data for [Community]
Auto-detected query: [Community]
Fetching episode data for [Community]
abr 27, 2013 6:15:53 PM net.sourceforge.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.nio.file.AccessDeniedException: D:\Descargas\Community.S04E11.HDTV.x264-LOL.mp4:filename
[COPY] Rename [D:\Descargas\Community.S04E11.HDTV.x264-LOL.spa.srt] to [D:\Plex Media\TV Shows\Community\Season 04\Community - S04E11 - Basic Human Anatomy.spa.srt]
[COPY] Rename [D:\Descargas\Community.S04E11.HDTV.x264-LOL.mp4] to [D:\Plex Media\TV Shows\Community\Season 04\Community - S04E11 - Basic Human Anatomy.mp4]
[COPY] Rename [D:\Descargas\Community.S04E11.HDTV.x264-LOL.eng.srt] to [D:\Plex Media\TV Shows\Community\Season 04\Community - S04E11 - Basic Human Anatomy.eng.srt]
Processed 3 files
Fetching artwork for D:\Plex Media\TV Shows\Community\Season 04 from TheTVDB
Banner already exists: D:\Plex Media\TV Shows\Community\poster.jpg
Banner already exists: D:\Plex Media\TV Shows\Community\banner.jpg
Banner already exists: D:\Plex Media\TV Shows\Community\fanart.jpg
Banner already exists: D:\Plex Media\TV Shows\Community\Season 04\poster.jpg
Banner not found: D:\Plex Media\TV Shows\Community\Season 04\banner.jpg / season:seasonwide
Fanart already exists: D:\Plex Media\TV Shows\Community\clearart.png
Fanart already exists: D:\Plex Media\TV Shows\Community\logo.png
Fanart already exists: D:\Plex Media\TV Shows\Community\landscape.jpg
Fanart already exists: D:\Plex Media\TV Shows\Community\Season 04\landscape.jpg
Get [English] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Matched [The.Last.Stand.2013.720p.BRrip.x264.GAZ.mp4] to [The.Last.Stand.2013.BDRip.XviD.AC3-playXD] via filehash
Fetching [The.Last.Stand.2013.BDRip.XviD.AC3-playXD.srt]
Export [The.Last.Stand.2013.BDRip.XviD.AC3-playXD.srt] as: SubRip / UTF-8
Writing [The.Last.Stand.2013.BDRip.XviD.AC3-playXD.srt] to [The.Last.Stand.2013.720p.BRrip.x264.GAZ.eng.srt]
Get [Spanish] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Matched [The.Last.Stand.2013.720p.BRrip.x264.GAZ.mp4] to [The.Last.Stand.2013.HDRip-Lum1x] via filehash
Fetching [The.Last.Stand.2013.HDRip-Lum1x.srt]
Export [The.Last.Stand.2013.HDRip-Lum1x.srt] as: SubRip / UTF-8
Writing [The.Last.Stand.2013.HDRip-Lum1x.srt] to [The.Last.Stand.2013.720p.BRrip.x264.GAZ.spa.srt]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [D:\Descargas\The Last Stand (2013)\The.Last.Stand.2013.720p.BRrip.x264.GAZ.mp4]
[COPY] Rename [D:\Descargas\The Last Stand (2013)\The.Last.Stand.2013.720p.BRrip.x264.GAZ.mp4] to [D:\Plex Media\Movies\The Last Stand (2013)\The Last Stand (2013).mp4]
[COPY] Rename [D:\Descargas\The Last Stand (2013)\The.Last.Stand.2013.720p.BRrip.x264.GAZ.eng.srt] to [D:\Plex Media\Movies\The Last Stand (2013)\The Last Stand (2013).eng.srt]
[COPY] Rename [D:\Descargas\The Last Stand (2013)\The.Last.Stand.2013.720p.BRrip.x264.GAZ.spa.srt] to [D:\Plex Media\Movies\The Last Stand (2013)\The Last Stand (2013).spa.srt]
Processed 3 files
Fetching artwork for D:\Plex Media\Movies\The Last Stand (2013) from TheMovieDB
Fetching D:\Plex Media\Movies\The Last Stand (2013)\poster.jpg => {category: posters, width: 1000, height: 1500, language: en, url: http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/eOfpuaNcCcitHi3HOik7XFavRP4.jpg}
Fetching D:\Plex Media\Movies\The Last Stand (2013)\fanart.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/p4Xazn7f63Sqwslw8va7IqDQBki.jpg}
Fanart not found: D:\Plex Media\Movies\The Last Stand (2013)\clearart.png / movieart
Fetching D:\Plex Media\Movies\The Last Stand (2013)\logo.png => {type=movielogo, id=21939, url=http://assets.fanart.tv/fanart/movies/76640/movielogo/the-last-stand-50fabd6cddf43.png, lang=fr, likes=0}
Fetching D:\Plex Media\Movies\The Last Stand (2013)\disc.png => {type=moviedisc, id=31542, url=http://assets.fanart.tv/fanart/movies/76640/moviedisc/the-last-stand-5175a4cf70b7f.png, lang=en, likes=2, disc_type=bluray}
Get [English] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Matched [The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.avi] to [The.Impossible.2012.iNTERNAL.DVDRip.XviD-SPS.eng] via filehash
Fetching [The.Impossible.2012.iNTERNAL.DVDRip.XviD-SPS.eng.srt]
Export [The.Impossible.2012.iNTERNAL.DVDRip.XviD-SPS.eng.srt] as: SubRip / UTF-8
Writing [The.Impossible.2012.iNTERNAL.DVDRip.XviD-SPS.eng.srt] to [The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.eng.srt]
Get [Spanish] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Matched [The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.avi] to [The.Impossible.2012.DVDRip.XviD.AC3-NYDIC_es] via filehash
Fetching [The.Impossible.2012.DVDRip.XviD.AC3-NYDIC_es.srt]
Export [The.Impossible.2012.DVDRip.XviD.AC3-NYDIC_es.srt] as: SubRip / UTF-8
Writing [The.Impossible.2012.DVDRip.XviD.AC3-NYDIC_es.srt] to [The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.spa.srt]
Rename movies using [TheMovieDB]
[COPY] Rename [D:\Descargas\The.Impossible.2012.DVDRip.XviD.AC3-NYDIC\The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.avi] to [D:\Plex Media\Movies\The Impossible (2012)\The Impossible (2012).avi]
[COPY] Rename [D:\Descargas\The.Impossible.2012.DVDRip.XviD.AC3-NYDIC\The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.eng.srt] to [D:\Plex Media\Movies\The Impossible (2012)\The Impossible (2012).eng.srt]
[COPY] Rename [D:\Descargas\The.Impossible.2012.DVDRip.XviD.AC3-NYDIC\The.Impossible.2012.DVDRip.XviD.AC3-NYDIC.spa.srt] to [D:\Plex Media\Movies\The Impossible (2012)\The Impossible (2012).spa.srt]
Processed 3 files
Fetching artwork for D:\Plex Media\Movies\The Impossible (2012) from TheMovieDB
Fetching D:\Plex Media\Movies\The Impossible (2012)\poster.jpg => {category: posters, width: 1000, height: 1500, language: en, url: http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/ybphGzic2I2SQtKG7sMxhs5N66o.jpg}
Fetching D:\Plex Media\Movies\The Impossible (2012)\fanart.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/9TVccJHQXjCgAvVKZZFQbPhpw5p.jpg}
Fanart not found: D:\Plex Media\Movies\The Impossible (2012)\clearart.png / movieart
Fetching D:\Plex Media\Movies\The Impossible (2012)\logo.png => {type=movielogo, id=24052, url=http://assets.fanart.tv/fanart/movies/80278/movielogo/the-impossible-511797d8ba5af.png, lang=en, likes=0}
Fetching D:\Plex Media\Movies\The Impossible (2012)\disc.png => {type=moviedisc, id=25349, url=http://assets.fanart.tv/fanart/movies/80278/moviedisc/the-impossible-5127c863acd3d.png, lang=en, likes=1, disc_type=bluray}
Done ヾ(@⌒ー⌒@)ノ
anybody could help me? thanks

Re: Error trying to use script

Posted: 27 Apr 2013, 16:42
by rednoah
You probably wanna check the log. First utorrent log and check the exact command that is executed so you can try that in cmd, also there might be clues in the amc.log file where you get all the filebot output.

PS: All the %var would obviously be replaced by utorrent. By passing in input paths you disable any utorrent specific input handling.

Re: Error trying to use script

Posted: 29 Apr 2013, 18:50
by esbroma
I solved it, I just didn't know when the torrent finished downloading it didn't mean utorrent considered it finished

one more question what should I put to rescan the Plex library I tried:

--def plex=MyPlex

were MyPlex is the friendly name, should I use the IP instead?

thanks for the fast answer before

Re: Error trying to use script

Posted: 30 Apr 2013, 00:48
by rednoah
IP and hostname should both work. Make sure Plex accepts API http requests.