Search found 22998 matches

by rednoah
26 Oct 2013, 10:06
Forum: Scripting and Automation
Topic: [TOOL] Escape Tool for escaping cmdline arguments
Replies: 1
Views: 13788

[TOOL] Escape Tool for escaping cmdline arguments

Description:
This little tool will help you escape cmdline arguments. Per default it'll spawn a GUI but if you run it on a headless machine it'll just run a simple CLI.

Start Escape Tool:

Code: Select all

filebot -script fn:escape
View Script:
http://filebot.net/scripts/escape.groovy
by rednoah
26 Oct 2013, 09:47
Forum: Scripting and Automation
Topic: Need help organizing pre-FileBot files
Replies: 8
Views: 5237

Re: Need help organizing pre-FileBot files

Things change once in a while:
http://www.filebot.net/forums/viewtopic.php?f=4&t=215

PS: When the output folder is in your input folder, that's not good at all.
by rednoah
25 Oct 2013, 22:30
Forum: Help and Support
Topic: Is it possible to do this in the gui.
Replies: 1
Views: 1980

Re: Is it possible to do this in the gui.

Not really. I guess at best you can play around with the format and move files certain lastModified dates to some other folder. I'm thinking something along the lines of this: {file.lastModified() < 1382716800000 ? 'X:/OLD/' : './'} That's as much as the GUI can do for you anyway. Sounds more like a...
by rednoah
25 Oct 2013, 20:48
Forum: Help and Support
Topic: Trouble with audio channels
Replies: 47
Views: 28905

Re: Trouble with audio channels

Yep, try the latest FileBot 3.8 RC5 and see if it works better for you. Added that attribute as preferred field for channels and only fall back to the other if the _original isn't set, so {af} should work better the the latest.
by rednoah
25 Oct 2013, 18:03
Forum: Help and Support
Topic: Trouble with audio channels
Replies: 47
Views: 28905

Re: Trouble with audio channels

I guess the channels meta data has been written wrong by the application that made the file. The {af} is using the Channel(s) field for info. You can grab specific media info like this: {audio['Channel(s)']} {audio['Channel(s)_Original']} Have you tried with the latest media info native library? May...
by rednoah
25 Oct 2013, 17:28
Forum: Scripting and Automation
Topic: Using FileBot for machine learning (with MALLET)
Replies: 0
Views: 3044

Using FileBot for machine learning (with MALLET)

Here's a blog entry about using FileBot in interesting ways for helping with machine learning applications: http://www.kevintbaker.com/2013/10/24/a-show-about-something-topic-modeling-seinfeld/ Here's an elegant solution to grab subtitles for a specified series via filebot scripting: http://pastebin...
by rednoah
25 Oct 2013, 16:33
Forum: Help and Support
Topic: Help: Miss matching TV Shows
Replies: 4
Views: 2998

Re: Help: Miss matching TV Shows

1.
The more accurate the name matches the database date the better it'll work. All my test cases for these kinda cases work perfectly. Send me paths that you have issues with.

2.
Again, send me the file names so I can run some tests on it myself and see what's going on.
by rednoah
25 Oct 2013, 03:08
Forum: Scripting and Automation
Topic: Help with Transmission (linux)
Replies: 2
Views: 2989

Re: Help with Transmission (linux)

How about you start by checking if it even runs the script? e.g. #!/bin/bash whoami > "/path/to/filebot-output.txt" Then you'll see if the file has been created or not. Maybe the script is not ran with root privileges even if transmission is running as root? There could be many issues, jus...
by rednoah
25 Oct 2013, 02:55
Forum: Help and Support
Topic: Help with "Sort into drive with the most free space:"
Replies: 13
Views: 6893

Re: Help with "Sort into drive with the most free space:"

It works for an infinite numbers of drives/paths. If your modifications change the logic just use my pristine code. I assume "source drive" = output folders? It's simple logic: 1. have a list of all output folders 2. Primary sort by exists (existing folders will come first) 3. Secondary so...
by rednoah
24 Oct 2013, 17:10
Forum: Help and Support
Topic: Help with "Sort into drive with the most free space:"
Replies: 13
Views: 6893

Re: Help with "Sort into drive with the most free space:"

Just run it: filebot -script fn:escape Then it'll ask you to paste the format, and then it'll output the escaped format, so you can copy that. You understand that if you can't escape the arguments, how can you pass the correct argument to the escape script? If you could pass the arguments correctly ...
by rednoah
24 Oct 2013, 17:02
Forum: Episode / Movie Naming Scheme
Topic: Retaining folder names for Genres
Replies: 2
Views: 4378

Re: Retaining folder names for Genres

Option 1: Grab name of the folder 2 steps up:

Code: Select all

{file.parentFile.parentFile.name}
Option 2: Grab tokens from the path:

Code: Select all

{folder.path.match(/Drama|Comedy/)}
by rednoah
24 Oct 2013, 15:07
Forum: Scripting and Automation
Topic: Remove the language tag from subtitle filenames
Replies: 2
Views: 3107

Re: subs

It's better to keep it. If your software doesn't support that you'll have to just run an extra script and mass-rename your subtitle files after the filebot call.

Here's a script for that:
http://www.filebot.net/forums/viewtopic ... &t=5#p2100
by rednoah
24 Oct 2013, 11:14
Forum: Help and Support
Topic: Filebot on a readynas + transmission
Replies: 5
Views: 4227

Re: Filebot on a readynas + transmission

I don't support this ReadyNAS packaging format. So your ReadyNAS is Arch Linux based? In that case the AUR might be easiest, or the deb if it's more Debian based. Really depends on your flavour of Linux. In the end it's just unpacking some files really, so the portable package might be more generic ...
by rednoah
24 Oct 2013, 08:31
Forum: Help and Support
Topic: Help with "Sort into drive with the most free space:"
Replies: 13
Views: 6893

Re: Help with "Sort into drive with the most free space:"

I wrote this scriptlet to help you escape the format expression for cmdline:

Code: Select all

filebot -script fn:escape
It's just 2-line hack and plenty of room for improvement, but it sure beats manually escaping quotes...
by rednoah
24 Oct 2013, 04:06
Forum: Help and Support
Topic: Filebot on a readynas + transmission
Replies: 5
Views: 4227

Re: Filebot on a readynas + transmission

First you need to get Java running on your NAS. The pre-release builds of Java 8 for ARM work best. If Java runs, FileBot/AMC will run, and you can simply make transmission call filebot on completed downloads. Plenty of peoople running filebot/amc on these devices, synology, qnap, etc, so it's possi...
by rednoah
24 Oct 2013, 03:58
Forum: Help and Support
Topic: Particular Series
Replies: 23
Views: 11812

Re: Particular Series

This is how it should work: filebot -rename . --db thetvdb -non-strict --order absolute && filebot -rename . --db thetvdb -non-strict --order airdate [MOVE] Rename [X:\[HorribleSubs] Naruto Shippuuden - 309 [720p].mkv] to [Naruto Shippuuden - 309 - An A-Rank Mission The Contest.mkv] Processe...
by rednoah
24 Oct 2013, 03:55
Forum: Help and Support
Topic: Particular Series
Replies: 23
Views: 11812

Re: Particular Series

Send me some file names to play with. 101 is interpreted as both E101 as well as 1x01 where 1x01 always takes precedence unless there is other factors indicating otherwise. If you switch to --order absolute everything is always absolute since the episode data is fetch with absolute numbers only and ...
by rednoah
24 Oct 2013, 03:45
Forum: Help and Support
Topic: Automated Media Center
Replies: 1
Views: 1872

Re: Automated Media Center

I guess XBMC should have all it needs from the files generated by FileBot/AMC but I guess it's best to try yourself and see what works best.
by rednoah
23 Oct 2013, 08:29
Forum: Help and Support
Topic: Filebot checks wrong folder?
Replies: 3
Views: 3533

Re: Filebot checks wrong folder?

Your format: D:\TV/{n}/{fn} Output as specified by your format: D:\TV\The Walking Dead\[www.Cpasbien.me] The.Walking.Dead.S03E01.FRENCH.LD.HDTV.XviD-MiND.avi Works perfectly, as specified by you. Why use original filename binding {fn} when you say you don't want the original filename? You do underst...
by rednoah
23 Oct 2013, 03:36
Forum: Help and Support
Topic: Help with "Sort into drive with the most free space:"
Replies: 13
Views: 6893

Re: Help with "Sort into drive with the most free space:"

Support Donation before I even answer? Very much appreciated. :) You can easily prototype the format in the GUI. This looks wrong: [s1, s2 , s3].collect{"/" as File} The point is to convert the String objects into File objects, but you're just casting "/" to File. I think my exam...
by rednoah
22 Oct 2013, 10:35
Forum: Help and Support
Topic: Filebot checks wrong folder?
Replies: 3
Views: 3533

Re: Filebot checks wrong folder?

This is what the docs says (in big fat red letters): The folder paths to Location of Downloaded Files must not end with backslash \ because the value gets passed through as the %D token. So the final backslash \ will escape the double-quote " and mess up everything This is your command: --outpu...
by rednoah
22 Oct 2013, 10:31
Forum: Scripting and Automation
Topic: Noob question
Replies: 1
Views: 1899

Re: Noob question

You can use the absolute path to the filebot.sh shell script as well if u can't manage to link it into /bin. Learn how to use the console first.

Code: Select all

/Applications/FileBot.app/Contents/MacOS/filebot <args>
by rednoah
22 Oct 2013, 09:32
Forum: Help and Support
Topic: MyEpisodes intergration has stopped working
Replies: 8
Views: 6651

Re: MyEpisodes intergration has stopped working

Should be fixed with r1802.
by rednoah
22 Oct 2013, 09:25
Forum: Feature Requests and Bug Reports
Topic: (Incorrect Match) Atlantis
Replies: 4
Views: 3361

Re: (Incorrect Match) Atlantis

That file has already been tagged the first time around, you'll need to remove xattr metadata first before you can try again.

Use this script to view/remove xattr metadata:
http://www.filebot.net/forums/viewtopic ... &t=5#p5394
by rednoah
22 Oct 2013, 01:36
Forum: Feature Requests and Bug Reports
Topic: [Feature] Mkv subtitle detection
Replies: 8
Views: 5882

Re: [Feature] Mkv subtitle detection

That's pretty easy. Check how AMC forces anime-mode by checking Japnese audio + ASS subtitles.