Script is saving files in more than one location - utorrent
Posted: 17 Sep 2015, 17:18
Using the following script and everthing is being sorted properly once downloaded (e.g., movies in "movies" tv shows in "tv shows" etc.)
the root media directory is called "videos"
any time i download a new anything using utorrent, after it downloads, the script starts properly and organizes everything (formats, etc.) but ALSO leaves the original download in the root videos folder (so you have two of everything). if you go back into utorrent and click on the seeding file and remove and delete torrent and data, it does indeed remove the file(s) from the root video folder but leaves them alone in the filebot created subfolder (e.g., tv shows)
is there a way to prevent this doubling up? auto delete? or just prevent filebot from doing something? not sure what the proper workaround is.
here's the script:
filebot -script fn:amc --output "C:\Users\ybars_000\Videos" --log-file C:\Users\ybars_000\Desktop\log.txt --action hardlink --conflict override -non-strict --def music=y subtitles=en artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
and here's a recent log:
Run script [fn:amc] at [Thu Sep 17 13:06:48 EDT 2015]
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: ut_label =
Parameter: ut_state = 5
Parameter: ut_title = Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]
Parameter: ut_kind = multi
Parameter: ut_file = Sample\youre.the.worst.202.hdtv-lol.sample.mp4
Parameter: ut_dir = C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]
Input: C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\youre.the.worst.202.hdtv-lol.mp4
Exclude: C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\Sample\youre.the.worst.202.hdtv-lol.sample.mp4
Exclude: C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\Torrent-Downloaded-From-extratorrent.cc.txt
Exclude: C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\youre.the.worst.202.hdtv-lol.nfo
Group: [tvs:youre the worst] => [youre.the.worst.202.hdtv-lol.mp4]
Get [English] subtitles for 1 files
Sep 17, 2015 1:06:53 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
Rename episodes using [TheTVDB]
Auto-detected query: [Youre the Worst]
Fetching episode data for [You're the Worst]
[HARDLINK] Rename [C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\youre.the.worst.202.hdtv-lol.mp4] to [C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\You're the Worst - S02E02 - Crevasses.mp4]
Processed 1 files
Sep 17, 2015 1:06:57 PM net.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\You're the Worst - S02E02 - Crevasses.mp4:net.filebot.metadata
Fetching series artwork for [You're the Worst] to [C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02]
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\poster.jpg => {id=1021679, BannerMirror=http://thetvdb.com/banners/, BannerPath=posters/281776-1.jpg, BannerType=poster, BannerType2=680x1000, Language=en, Rating=9.8750, RatingCount=8}
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\banner.jpg => {id=1023856, BannerMirror=http://thetvdb.com/banners/, BannerPath=graphical/281776-g2.jpg, BannerType=series, BannerType2=graphical, Language=en, Rating=10.0000, RatingCount=4}
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\fanart.jpg => {id=1093438, BannerMirror=http://thetvdb.com/banners/, BannerPath=fanart/original/281776-12.jpg, BannerType=fanart, BannerType2=1920x1080, Language=en, Rating=10.0000, RatingCount=1, SeriesName=false, ThumbnailPath=_cache/fanart/original/281776-12.jpg, VignettePath=fanart/vignette/281776-12.jpg}
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\poster.jpg => {id=1094444, BannerMirror=http://thetvdb.com/banners/, BannerPath=seasons/281776-2-2.jpg, BannerType=season, BannerType2=season, Season=2, Language=en, RatingCount=0}
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\banner.jpg => {id=1094445, BannerMirror=http://thetvdb.com/banners/, BannerPath=seasonswide/281776-2.jpg, BannerType=season, BannerType2=seasonwide, Season=2, Language=en, RatingCount=0}
Fanart not found: C:\Users\ybars_000\Videos\TV Shows\You're the Worst\clearart.png / clearart
Fanart not found: C:\Users\ybars_000\Videos\TV Shows\You're the Worst\logo.png / clearlogo
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\landscape.jpg => {type=tvthumb, id=48717, url=http://assets.fanart.tv/fanart/tv/28177 ... c65559.jpg, lang=en, likes=0}
Fanart not found: C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\landscape.jpg / seasonthumb
Done ヾ(@⌒ー⌒@)ノ
the root media directory is called "videos"
any time i download a new anything using utorrent, after it downloads, the script starts properly and organizes everything (formats, etc.) but ALSO leaves the original download in the root videos folder (so you have two of everything). if you go back into utorrent and click on the seeding file and remove and delete torrent and data, it does indeed remove the file(s) from the root video folder but leaves them alone in the filebot created subfolder (e.g., tv shows)
is there a way to prevent this doubling up? auto delete? or just prevent filebot from doing something? not sure what the proper workaround is.
here's the script:
filebot -script fn:amc --output "C:\Users\ybars_000\Videos" --log-file C:\Users\ybars_000\Desktop\log.txt --action hardlink --conflict override -non-strict --def music=y subtitles=en artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
and here's a recent log:
Run script [fn:amc] at [Thu Sep 17 13:06:48 EDT 2015]
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: ut_label =
Parameter: ut_state = 5
Parameter: ut_title = Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]
Parameter: ut_kind = multi
Parameter: ut_file = Sample\youre.the.worst.202.hdtv-lol.sample.mp4
Parameter: ut_dir = C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]
Input: C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\youre.the.worst.202.hdtv-lol.mp4
Exclude: C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\Sample\youre.the.worst.202.hdtv-lol.sample.mp4
Exclude: C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\Torrent-Downloaded-From-extratorrent.cc.txt
Exclude: C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\youre.the.worst.202.hdtv-lol.nfo
Group: [tvs:youre the worst] => [youre.the.worst.202.hdtv-lol.mp4]
Get [English] subtitles for 1 files
Sep 17, 2015 1:06:53 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
Rename episodes using [TheTVDB]
Auto-detected query: [Youre the Worst]
Fetching episode data for [You're the Worst]
[HARDLINK] Rename [C:\Users\ybars_000\Videos\Youre.the.Worst.S02E02.HDTV.x264-LOL[ettv]\youre.the.worst.202.hdtv-lol.mp4] to [C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\You're the Worst - S02E02 - Crevasses.mp4]
Processed 1 files
Sep 17, 2015 1:06:57 PM net.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\You're the Worst - S02E02 - Crevasses.mp4:net.filebot.metadata
Fetching series artwork for [You're the Worst] to [C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02]
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\poster.jpg => {id=1021679, BannerMirror=http://thetvdb.com/banners/, BannerPath=posters/281776-1.jpg, BannerType=poster, BannerType2=680x1000, Language=en, Rating=9.8750, RatingCount=8}
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\banner.jpg => {id=1023856, BannerMirror=http://thetvdb.com/banners/, BannerPath=graphical/281776-g2.jpg, BannerType=series, BannerType2=graphical, Language=en, Rating=10.0000, RatingCount=4}
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\fanart.jpg => {id=1093438, BannerMirror=http://thetvdb.com/banners/, BannerPath=fanart/original/281776-12.jpg, BannerType=fanart, BannerType2=1920x1080, Language=en, Rating=10.0000, RatingCount=1, SeriesName=false, ThumbnailPath=_cache/fanart/original/281776-12.jpg, VignettePath=fanart/vignette/281776-12.jpg}
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\poster.jpg => {id=1094444, BannerMirror=http://thetvdb.com/banners/, BannerPath=seasons/281776-2-2.jpg, BannerType=season, BannerType2=season, Season=2, Language=en, RatingCount=0}
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\banner.jpg => {id=1094445, BannerMirror=http://thetvdb.com/banners/, BannerPath=seasonswide/281776-2.jpg, BannerType=season, BannerType2=seasonwide, Season=2, Language=en, RatingCount=0}
Fanart not found: C:\Users\ybars_000\Videos\TV Shows\You're the Worst\clearart.png / clearart
Fanart not found: C:\Users\ybars_000\Videos\TV Shows\You're the Worst\logo.png / clearlogo
Fetching C:\Users\ybars_000\Videos\TV Shows\You're the Worst\landscape.jpg => {type=tvthumb, id=48717, url=http://assets.fanart.tv/fanart/tv/28177 ... c65559.jpg, lang=en, likes=0}
Fanart not found: C:\Users\ybars_000\Videos\TV Shows\You're the Worst\Season 02\landscape.jpg / seasonthumb
Done ヾ(@⌒ー⌒@)ノ