Search found 18 matches

by pjburnhill
10 Nov 2017, 14:30
Forum: Episode / Movie Naming Scheme
Topic: Move only genre
Replies: 5
Views: 3294

Re: Move only genre

The genre is only known once FileBot has identified the file, so you at that point might as well process all files because all the work has been done already. Make sure to enable xattr this time around, so all the metadata is stored for next time you might need it. I had issues with xattr on ubuntu...
by pjburnhill
10 Nov 2017, 09:35
Forum: Episode / Movie Naming Scheme
Topic: Move only genre
Replies: 5
Views: 3294

Re: Move only genre

rednoah wrote: 10 Nov 2017, 02:10 you can do --db xattr --filter "genres =~ /Horror/" to process only xattr tagged files where genres contains Horror.
Unfortunately I'm working on fuse on linux and have disabled xattr with filebot, so none of the files have xattr info.. Any other way?
by pjburnhill
09 Nov 2017, 23:35
Forum: Episode / Movie Naming Scheme
Topic: Move only genre
Replies: 5
Views: 3294

Move only genre

Hi,

I'm sure there is a simple answer to this, but how do I use -rename and --action=move to only move movies containing certain genre (i.e. Horror), leaving all others untouched?
by pjburnhill
21 Oct 2017, 21:04
Forum: Scripting and Automation
Topic: fn:cleaner - way to clean root?
Replies: 5
Views: 4432

Re: fn:cleaner - way to clean root?

aria* doesn't do what you think it does. aria.+ is what you meant. Please read up on regular expressions for details. ;) @see https://regexr.com/ Thanks, I've used aria.+ and aria2 but files still remain, as do .torrent files even though they're both on the list.. as a side-note, all those files ar...
by pjburnhill
21 Oct 2017, 20:52
Forum: Scripting and Automation
Topic: Help with matching issues
Replies: 7
Views: 4576

Re: Help with matching issues

2. You can do a lot of customization via the --filter option. You could use it to make FileBot only consider movies before or after certain years. e.g. check the year in your bash script for each file, and then pass in --filter accordingly to only allow movie matches from that year (+-1) when calli...
by pjburnhill
21 Oct 2017, 11:46
Forum: Scripting and Automation
Topic: Help with matching issues
Replies: 7
Views: 4576

Re: Help with matching issues

rename "Private.Hell.Thirty.Six" to "Private Hell 36" https://www.filebot.net/forums/viewtopic.php?f=6&t=5340&p=30742#p30742 btw: looks like you have a "MediaInfo" problem Yes, I'm aware of the number in the title issue, my question is how can I automate fixing...
by pjburnhill
20 Oct 2017, 21:05
Forum: Scripting and Automation
Topic: fn:cleaner - way to clean root?
Replies: 5
Views: 4432

Re: fn:cleaner - way to clean root?

Sorry, do you mean another --def or the --def exts? I already have both torrent and aria2 on there?
by pjburnhill
20 Oct 2017, 20:38
Forum: Scripting and Automation
Topic: Help with matching issues
Replies: 7
Views: 4576

Help with matching issues

Hi, Sysinfo: FileBot 4.7.9 (r4984) JNA Native: 5.1.0 MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'mediainfo': Native library (linux-x86-64/libmediainfo.so) not found in resource path ([file:/usr/share/fileb...
by pjburnhill
20 Oct 2017, 19:34
Forum: Scripting and Automation
Topic: fn:cleaner - way to clean root?
Replies: 5
Views: 4432

fn:cleaner - way to clean root?

Hi, /usr/bin/filebot -script fn:cleaner --def exts="/jpg|jpeg|png|gif|nfo|xml|htm|html|log|srt|sub|idx|md5|sfv|txt|rtf|url|db|dna|log|tgmd|json|data|srv|srr|nzb|z|aria*|torrent|par\d+|part\d+/" --action test /myfiles/ Above is the command I run, and it works fine on subfolders under /myfil...
by pjburnhill
24 Apr 2017, 17:36
Forum: Scripting and Automation
Topic: Issue with IF statement
Replies: 2
Views: 2121

Re: Issue with IF statement

Thanks! I think I got it.. using this for the folders now, hopefully it works! {if (fn =~ /HARDCODED|HC|KORSUB/) 'Unsorted' else {self.genre == 'Documentary' ? 'Documentaries' : 'Films'}} Not really sure why it threw 'null' with the previous version.. Also, how does the command line version determin...
by pjburnhill
23 Apr 2017, 18:33
Forum: Scripting and Automation
Topic: Issue with IF statement
Replies: 2
Views: 2121

Issue with IF statement

My arguments (movie processing): /usr/bin/filebot -script fn:amc --output "/GD/Media/Plex" --action move "/GD/Media/Plex/Incoming/Film" --def @/root/.filebot/args.txt --def excludeList -no-xattr --def subtitles=en --def pushbullet=[mykey] --def storeReport=y --def clean=y --def &...
by pjburnhill
15 Apr 2017, 10:54
Forum: Scripting and Automation
Topic: Move to a different folder if name includes specific string
Replies: 5
Views: 3288

Re: Move to a different folder if name includes specific string

2. What happens if a file cannot be identified or just can't be moved to the destination folder for some reason? I am using the --def unsorted=y and I haven't had an issue with not being able to be moved into the Films folder. The incoming folder and the Films folder are on the same drive with unli...
by pjburnhill
14 Apr 2017, 21:59
Forum: Scripting and Automation
Topic: Move to a different folder if name includes specific string
Replies: 5
Views: 3288

Re: Move to a different folder if name includes specific string

1 Destination path is up to your format: f =~ /KORSUB|HC|HARDCODED/ ? 'Not Movies' : 'Movies' @see https://www.filebot.net/forums/viewtopic.php?f=5&t=4191 2. You may need to read up on the --def excludeList option. Thanks! Was totally unaware that conditional structures were supported. 2. Did y...
by pjburnhill
13 Apr 2017, 20:16
Forum: Scripting and Automation
Topic: Move to a different folder if name includes specific string
Replies: 5
Views: 3288

Move to a different folder if name includes specific string

Sorry if this is a daft question, but how would I move specific media to another folder (i.e. not /Movies) if the name includes a specific string (like '.KORSUB.', '.HC.' or '.HARDCODED.')? Currently using this: /usr/bin/filebot -script fn:amc --output "/GD/Media/Plex" --action move -non-s...
by pjburnhill
16 Mar 2017, 19:07
Forum: Scripting and Automation
Topic: java.nio.file.FileSystemException: Input/output error with Fuse mount
Replies: 2
Views: 3914

Re: java.nio.file.FileSystemException: Input/output error with Fuse mount

Update: Hmm.. I noticed that it kept on failing on that specific file, so decided to remove it and now filebot seems to be continuing fine.. I also realised that there was a file with that name already too and tried different conflict resolutions, but no help. Not sure what was going on with that fi...
by pjburnhill
16 Mar 2017, 18:44
Forum: Scripting and Automation
Topic: java.nio.file.FileSystemException: Input/output error with Fuse mount
Replies: 2
Views: 3914

java.nio.file.FileSystemException: Input/output error with Fuse mount

Hi, I've got my Amazon drive mounted using Rclone (Ubuntu 16.04) and I'm trying to perform some filebot move operations on it. It reads everything fine and manages to match correctly, but the script only manages to move about 5 files until I get this: [MOVE] Failure: java.nio.file.FileSystemExceptio...
by pjburnhill
16 Mar 2017, 09:37
Forum: Scripting and Automation
Topic: AMC Multiple Versions Handling
Replies: 2
Views: 1960

Re: AMC Multiple Versions Handling

Excellent, thank you @rednoah EDIT: Never mind, sorry, shoul've seen this before: --def excludeList=amc.txt Keep a list of previously processed files to be ignored in future runs (if you run this script on the same files repeatedly you must enable this option) Also, if I run -script fn:amc hourly on...
by pjburnhill
15 Mar 2017, 20:56
Forum: Scripting and Automation
Topic: AMC Multiple Versions Handling
Replies: 2
Views: 1960

AMC Multiple Versions Handling

Hi, Tried to search for this but couldn't find an answer (probably very obvious). I've got a VPS set to hoarding (downloading everything via RSS onto Amazon) and I get lots of different versions of movie with different resolutions, codecs, audio codecs etc... How does the AMC script deal with multip...