Automation Help

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Cwis3man
Posts: 3
Joined: 16 Jul 2014, 23:25

Automation Help

Post by Cwis3man »

Hello,

I tried following the Automated Media Center and I'm having some issues-

This is the code I have in uTorrent

Code: Select all

filebot -script fn:amc --output "E:\My Videos" --log-file amc.log --action copy --conflict override -non-strict --def music=y --def plex=wiseplex artwork=n "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
And here's my amc.log

Code: Select all

Jul 16, 2014 8:52:39 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.
Parameter: music = y
Parameter: plex = wiseplex
Parameter: artwork = n
Parameter: ut_label = 
Parameter: ut_state = 20
Parameter: ut_title = Armageddon (1998) [1080p]
Parameter: ut_kind = multi
Parameter: ut_file = Armageddon.1998.1080p.BrRip.x264.YIFY.mp4
Parameter: ut_dir = E:\My Videos\New Media\Armageddon (1998) [1080p]
Input: E:\My Videos\New Media\Armageddon (1998) [1080p]\Armageddon.1998.1080p.BrRip.x264.YIFY.mp4
Input: E:\My Videos\New Media\Armageddon (1998) [1080p]\Armageddon.1998.1080p.BrRip.x264.YIFY.srt
Exclude: E:\My Videos\New Media\Armageddon (1998) [1080p]\WWW.YIFY-TORRENTS.COM.jpg
Armageddon.1998.1080p.BrRip.x264.YIFY.mp4 [series: null, movie: Armageddon (1998)]
Armageddon.1998.1080p.BrRip.x264.YIFY.srt [series: null, movie: Armageddon (1998)]
Group: [tvs:null, mov:armageddon 1998, anime:null] => [Armageddon.1998.1080p.BrRip.x264.YIFY.mp4, Armageddon.1998.1080p.BrRip.x264.YIFY.srt]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [E:\My Videos\New Media\Armageddon (1998) [1080p]\Armageddon.1998.1080p.BrRip.x264.YIFY.mp4]
[COPY] Rename [E:\My Videos\New Media\Armageddon (1998) [1080p]\Armageddon.1998.1080p.BrRip.x264.YIFY.mp4] to [E:\My Videos\Movies\Armageddon (1998)\Armageddon (1998).mp4]
[COPY] Rename [E:\My Videos\New Media\Armageddon (1998) [1080p]\Armageddon.1998.1080p.BrRip.x264.YIFY.srt] to [E:\My Videos\Movies\Armageddon (1998)\Armageddon (1998).eng.srt]
Processed 2 files
Jul 16, 2014 8:52:58 PM net.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.lang.IllegalStateException: java.nio.file.AccessDeniedException: E:\My Videos\Movies\Armageddon (1998)\Armageddon (1998).mp4:net.filebot.metadata
Jul 16, 2014 8:52:58 PM net.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.lang.IllegalStateException: java.nio.file.AccessDeniedException: E:\My Videos\Movies\Armageddon (1998)\Armageddon (1998).eng.srt:net.filebot.metadata
Notify Plex: wiseplex
java.net.UnknownHostException: wiseplex
Done ヾ(@⌒ー⌒@)ノ
What's happening is the script moves and renames the file properly, but the original file stays in my Completed Downloads folder, and the Plex aspect isn't working either
Cwis3man
Posts: 3
Joined: 16 Jul 2014, 23:25

Re: Automation Help

Post by Cwis3man »

Update- I got the Plex part right and I eliminated that initial java warning by having filebot run as administrator, but I'm still getting this error WARNING: Failed to set xattr: java.lang.IllegalStateException: java.nio.file.AccessDeniedException: E:\My Videos\Movies\Æon Flux (2005)\Æon Flux (2005).mkv:net.filebot.metadata and the original files are staying intact in my download folder

Code: Select all

Parameter: music = y
Parameter: plex = Main-PC
Parameter: artwork = n
Parameter: ut_label = 
Parameter: ut_state = 20
Parameter: ut_title = Aeon Flux (2005)
Parameter: ut_kind = multi
Parameter: ut_file = Aeon.Flux.2005.720p.mkv
Parameter: ut_dir = E:\My Videos\New Media\Aeon Flux (2005)
Input: E:\My Videos\New Media\Aeon Flux (2005)\Aeon.Flux.2005.720p.mkv
Exclude: E:\My Videos\New Media\Aeon Flux (2005)\Torrent downloaded from Demonoid.com.txt
Aeon.Flux.2005.720p.mkv [series: Æon Flux, movie: Æon Flux (2005)]
Exclude Series: Æon Flux
Group: [tvs:null, mov:aeon flux 2005, anime:null] => [Aeon.Flux.2005.720p.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [E:\My Videos\New Media\Aeon Flux (2005)\Aeon.Flux.2005.720p.mkv]
[COPY] Rename [E:\My Videos\New Media\Aeon Flux (2005)\Aeon.Flux.2005.720p.mkv] to [E:\My Videos\Movies\Æon Flux (2005)\Æon Flux (2005).mkv]
Processed 1 files
Jul 17, 2014 11:21:18 AM net.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.lang.IllegalStateException: java.nio.file.AccessDeniedException: E:\My Videos\Movies\Æon Flux (2005)\Æon Flux (2005).mkv:net.filebot.metadata
Notify Plex: Main-PC
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 23006
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Automation Help

Post by rednoah »

It's just a warning. Don't worry about it.

FileBot uses stores some metadata in NTFS Extended Attributes if possible, but if your E drive is FAT32 then this filesystem feature is simply not supported.
:idea: Please read the FAQ and How to Request Help.
Cwis3man
Posts: 3
Joined: 16 Jul 2014, 23:25

Re: Automation Help

Post by Cwis3man »

rednoah wrote:It's just a warning. Don't worry about it.

FileBot uses stores some metadata in NTFS Extended Attributes if possible, but if your E drive is FAT32 then this filesystem feature is simply not supported.
Thanks, my E: is NTFS so I'm still trying to figure this out

I ended up creating a script that runs nightly to kill utorrent, and then delete the contents of that folder.
ramsundaram
Posts: 24
Joined: 13 Oct 2012, 18:32

Re: Automation Help

Post by ramsundaram »

Hi:

I have the same xattr warning. My source laptop runs W7-64bit and the destination machine runs OpenElec. I get the xattr warning when the file's being copied over. And like you, the source files don't get deleted.

I think it's because OpenElec disables xattr. At least, according to this bugfix report - http://openelec.tv/forum/120-news-annou ... 3-released

And RedNoah says here how to disable xattr - http://www.filebot.net/forums/viewtopic ... 763#p10342

Ram
Post Reply