Page 40 of 42
Re: Q&A for n00bs
Posted: 23 Nov 2020, 08:05
by Oleros
@rednoah, could you please respond to my question above?
Re: Q&A for n00bs
Posted: 23 Nov 2020, 10:35
by rednoah
rednoah wrote: ↑01 Aug 2012, 13:04
Troubleshooting
If something is not working, first
read the Notes above, then just
run the command manually in a new console window and see what happens.
You CANNOT run the command without replacing the VARIABLES. The variables have to be replaced with actual values first. You can find the actual cmdline call in the
µTorrents Logger tab so you can just copy it from there. You may need to enable the Logger tab first
(just right-click one of the other tabs like Info).
I can't really add much that isn't already explained in the manual.
The first step is checking if
filebot is called at all, and then the second step is checking the log produces by the
filebot call:
viewtopic.php?t=3067

If you copy & paste the command
template into CMD then you must also take care of replacing the
%variables with values, just like uT does.
Re: Q&A for n00bs
Posted: 23 Nov 2020, 13:25
by Oleros
rednoah wrote: ↑23 Nov 2020, 10:35
rednoah wrote: ↑01 Aug 2012, 13:04
Troubleshooting
If something is not working, first
read the Notes above, then just
run the command manually in a new console window and see what happens.
You CANNOT run the command without replacing the VARIABLES. The variables have to be replaced with actual values first. You can find the actual cmdline call in the
µTorrents Logger tab so you can just copy it from there. You may need to enable the Logger tab first
(just right-click one of the other tabs like Info).
I can't really add much that isn't already explained in the manual.
The first step is checking if
filebot is called at all, and then the second step is checking the log produces by the
filebot call:
viewtopic.php?t=3067

If you copy & paste the command
template into CMD then you must also take care of replacing the
%variables with values, just like uT does.
File does not exist: C:\%Dstate=%S ut_title=%N ut_kind=%K ut_file=%F ut_dir=%D
No files selected for processing
rednoah wrote: ↑23 Nov 2020, 10:35
rednoah wrote: ↑01 Aug 2012, 13:04
Troubleshooting
If something is not working, first
read the Notes above, then just
run the command manually in a new console window and see what happens.
You CANNOT run the command without replacing the VARIABLES. The variables have to be replaced with actual values first. You can find the actual cmdline call in the
µTorrents Logger tab so you can just copy it from there. You may need to enable the Logger tab first
(just right-click one of the other tabs like Info).
I can't really add much that isn't already explained in the manual.
The first step is checking if
filebot is called at all, and then the second step is checking the log produces by the
filebot call:
viewtopic.php?t=3067

If you copy & paste the command
template into CMD then you must also take care of replacing the
%variables with values, just like uT does.
I have gone through the instructions. I have a very simple and common setup on a brand new machine so not much to tweak..
Yes filebot is called and it initiates operations but then suddenly stops and the cmd window closes. I'm looking for a log file, probably amc.log but can't find spcification where it's located?
Re: Q&A for n00bs
Posted: 23 Nov 2020, 14:26
by rednoah
1.
uT will generate a unique command for each completed download by replacing the
%variables for the specific completed download at hand:
rednoah wrote: ↑01 Aug 2012, 13:04
It's always helpful to check the exact command utorrent ends up executing in the
Logger tab. It'll look something like this:
Code: Select all
[2013-03-05 20:44:24] Executing: filebot -script fn:amc --output "D:/Organized Media" --log-file amc.log --action duplicate --conflict override -non-strict --def "ut_dir=D:\Media\Avatar" "ut_file=" "ut_kind=multi" "ut_title=Avatar" "ut_label=" "ut_state=5"
2.
If you use a relative path as
--log-file argument, the you will find the log file in the application data folder. Please read
Where is the application data folder? for details:
https://www.filebot.net/manual.html
Re: [User Study] Take a screen recording and earn yourself a free license
Posted: 11 Dec 2020, 13:28
by p11ps
Hey noah,
Are this study still available? In case of yes, could it be in Spanish? I guess no, but I'm not a native speaker and my English is not as good as I would like.
Thanks!
Re: [User Study] Take a screen recording and earn yourself a free license
Posted: 11 Dec 2020, 13:42
by rednoah
p11ps wrote: ↑11 Dec 2020, 13:28
Are this study still available? In case of yes, could it be in Spanish? I guess no, but I'm not a native speaker and my English is not as good as I would like.
Yes, but narration would have to be in English and ideally show interesting use cases or usage that exceeds the video tutorials.
Re: How about sharing our format expressions?
Posted: 21 Dec 2020, 04:35
by xaeiou
A special case for replacing '/' (often used on TVDB for titles of combined episodes etc) with '⁄ ', as noted by rednoah here:
viewtopic.php?f=5&t=12343
Top-level bindings such as {t} strip / slash implicitly, among other sanitation operations. However, you can use {episode.title} to access the raw value, which may contain / slash, may be infinitely long, etc.
My groovy format file now uses the raw value like this, and I always manually check the result as inbuilt checks are bypassed:
Code: Select all
{sxe} {episode.title.replace(
'<' : '﹤',
'>' : '﹥',
':' : 'ː',
'"' : '“',
'/' : '⁄',
'|' : '⼁',
'?' : '?',
'*' : '﹡',
'\\': '∖'
)}
Re: [User Study] Take a screen recording and earn yourself a free license
Posted: 21 Dec 2020, 05:58
by substance
Hi rednoah, I´m new to the forum. I just recorded a couple videos using the software, I tried sending you a PM, but it seems that new users aren´t allowed, is there any other way to send you the video links on private? thank you.
EDIT: I tried a second time, I think after the my first post it allowed me this time.
Re: [User Study] Take a screen recording and earn yourself a free license
Posted: 22 Dec 2020, 03:55
by rednoah
substance wrote: ↑21 Dec 2020, 05:58
I just recorded a couple videos using the software
Thank you for your time! Your complimentary license should be in your inbox already.
EDIT:
Note that this is by far the most useful screen recording to date. Few have bothered to narrate the thought process. There's a few interesting bits where you're searching for features that you thought should exist
(and do exist but perhaps a bit hidden) but just couldn't find at the time. So if you have another ~3 friends that might benefit from a free 1yr license, please PM me their emails.

You can use
Double-Click New Names ➔ Edit Match to fix matches. See
FAQ #2 for details.

You can use
Presets for pre-defined actions and associated keyboard shortcuts

You can use a custom format such as
{collection}/{ci.pad 2} - {ny} (ci ... collection index) to generate file paths like
Star Wars Collection/04 - Star Wars: Episode I - The Phantom Menace (1999). Though for Star Wars Episode 1..9 the
"watch order" might be tricky, and the best option here might be just passing through the number from the original filename. It's easier for other collections. In any case, this particular topic probably deserves it's own thread.
Re: Conditional Structures (if-then-else)
Posted: 06 Jan 2021, 14:01
by Brax
Hi RedNoah and Happy New Year !
Thanks to your help i'm using and arguments file to dispatch my files according to their characteristics in various drives/folders like this :
2160P HDR --> B:\2160P HDR10\
2160P non HDR --> B:\2160P\
720P --> B:\720P\
DVDRIP --> H:\DVDRIPS\
1080P --> S:\1080P\
I use the following arguments file
Code: Select all
ut_label=Movies
movieFormat={hd.replaceAll("UHD", replacement = "B:/2160P").replaceAll("SD", replacement = "H:/DVDRIPS").replaceAll("HD", replacement = vf.replaceAll("720p", replacement = "B:/720P").replaceAll("1080p", replacement = "S:/1080P"))} {hdr}/{collection.ascii()}/{ny.ascii().upperInitial()} [{imdbid}]/{ny.ascii().upperInitial()} [{imdbid}] {if (hd =~ /HD/) vf} {hdr}
seriesFormat="E:/TV Shows/{n}/{n}.{s00e00}.{t}"
animeFormat="E:/Anime/{n}/{n}.{s00e00}.{t}"
I now have to separate 1080P Files according to them belonging or not to a collection like follows :
2160P HDR --> B:\2160P HDR10\
2160P non HDR --> B:\2160P\
720P --> B:\720P\
DVDRIP --> H:\DVDRIPS\
1080P and part of a collection --> S:\1080P - Sagas\
1080P and not part of a collection --> I:\1080P\
I tried without success modifying my arguments file like follows :
Code: Select all
ut_label=Movies
movieFormat={hd.replaceAll("UHD", replacement = "B:/2160P").replaceAll("SD", replacement = "H:/DVDRIPS").replaceAll("HD", replacement = vf.replaceAll("720p", replacement = "B:/720P").replaceAll("1080p", {any{collection}.replaceall{"S:/Sagas - 1080P"}{"I:/1080P"}}))} {hdr}/{collection.ascii()}/{ny.ascii().upperInitial()} [{imdbid}]/{ny.ascii().upperInitial()} [{imdbid}] {if (hd =~ /HD/) vf} {hdr}
seriesFormat="E:/TV Shows/{n}/{n}.{s00e00}.{t}"
animeFormat="E:/Anime/{n}/{n}.{s00e00}.{t}"
Could you please help me ?
Many thanks
Re: Conditional Structures (if-then-else)
Posted: 06 Jan 2021, 15:12
by kim
my take on it
Code: Select all
{ def pathList = ['SD' : 'H:/DVDRIPS','HD720p' : 'B:/720p','HD1080ptrue' : 'B:/1080p - Sagas','HD1080pfalse' : 'B:/1080p','UHD2160p' : 'B:/2160P']; any{pathList.get(hd)}{pathList.get(hd + vf)}{pathList.get(hd + vf + any{collection ? true : true}{false})}{'UNKNOWN_PATH'}} {hdr}/{collection.ascii()}/{ny.ascii().upperInitial()}{' ['+imdbid +']'}/{ny.ascii().upperInitial()}{' ['+imdbid +']'} {if (hd =~ /HD/) vf} {hdr}
Re: Conditional Structures (if-then-else)
Posted: 06 Jan 2021, 20:22
by Brax
Good evening Kim
Thanks a lot !!!
I spent days trying to figure the right way to do it and you crunched this in no time... Impressive
I did spend a lot of time in the forum reading exemples and in the FAQ and did not see how to use the pathList, neither the use of .get... And I would not have been able to think ot the concatenation trick for 1080P with the any{collection ? true : true}{false}
Works like a charm, and helps me understand better all those functions which make filebot so powerfull
Many thanks again for your help and happy New Year too
Best regards
Re: Q&A for n00bs
Posted: 28 Jan 2021, 19:55
by tjrktu
Hi, apologies if I'm posting in the wrong place. I have tried to find the answer out myself elsewhere.
I use the command:
Code: Select all
filebot -script fn:artwork.tmdb FILE_DIR
To download artwork and nfo files for my movies. It has worked really well for a couple of years now, I love it.
I have noticed that the nfo files generated don't have a language property even though original_language is offered from the tmdb API.
Is there any way to get the nfo file to contain language also?
Thanks very much.
Re: Q&A for n00bs
Posted: 29 Jan 2021, 03:25
by kim
It's not official KODI info:
https://kodi.wiki/view/NFO_files/Movies
but you can add e.g. this...
Code: Select all
i.spokenLanguages.each{
languages(it)
}
(I'm not sure but I think you can replace the 'spokenLanguages' with 'originalLanguage' e.g. 'originalLanguage(i.originalLanguage)' )
...to local copy of this file:
https://github.com/filebot/scripts/blob ... tpc.groovy
+
https://github.com/filebot/scripts/blob ... mdb.groovy
NOTICE!
= lib folder
Maybe use my amc script ?
viewtopic.php?p=31191#p31191
Re: How about sharing our format expressions?
Posted: 04 Mar 2021, 13:11
by alyssa369
AbedlaPaille wrote: ↑11 Jun 2020, 21:12
I'm nearly done with my OCD
Films is the main one, it's a close relative to plex but with multi entry collection folders and no 'The' prefix. That's how i browse my full library in explorer.
Plex is where things are tidy.
Collections and Studios use a --filter. The All folder in Collections is for single entry collections.
Directors, Genres, Bitrate, Resolution, Size, Ratings, Language, Year have no filter, they're just different sorting orders with different schemes.
For example Language/Other looks like this
I use year first in several ones, like Directors, Studios, Year
If you want to know more just ask
Looks great. Please let me know how to show folders under some category, (ex. first image). is it a separate magic app or just windows file explorer
Re: [FAQ] How to request a refund?
Posted: 06 Apr 2021, 00:17
by dincervolkan
I paid for a years license but the license was not sent to me despite my posting here requesting one. It has been 3 days now and not even a reply. Great Job!!!
Please refund my money.
Re: [FAQ] How to request a refund?
Posted: 06 Apr 2021, 02:39
by rednoah
Please
contact Paddle for refunds, especially if you have
mistyped your email address. Your "v" key may have a mechanical defect, since a manual search of recent orders did reveal a
dincerolkan. Please do make sure to double-check your email address in this regard, as to avoid unnecessary displeasure in the future.

We can find your order based on your
Order Number but only Paddle can find your
Order Number based on your
Payment Details. Paddle Staff typically replies within 1-3 working
(i.e. Monday to Friday) days.
Re: Q&A for n00bs
Posted: 07 Sep 2021, 00:06
by noahnchina
I know that I should be able to figure this out on my own. But, I haven't been able to if there is a place I should be redirected to learn this on my own I am not resistant to that, in fact I might appreciate it.
II have my media locally and then use the following AMC "script" (I do not even know if what I am doing is a script I just call it that in my head) from the command line before I move my media into Plex. This has been life changing from using filebot to rename individually.
I am looking to add download english subtitles to this script if possible:
Code: Select all
filebot -script fn:amc --output "/path/to/output" --action duplicate -non-strict "/path/to/input" --log-file amc.log --def excludeList=amc.txt
Thanks in advance sorry for my ignorance and I appreciate any help.
Re: Q&A for n00bs
Posted: 07 Sep 2021, 02:19
by rednoah
rednoah wrote: ↑01 Aug 2012, 13:04
--def subtitles=en,de,fr Download subtitles
The
amc script already has an option for that, so you can just add it to your command-line:

Please monitor the console output for further details. It may ask you to enter your OpenSubtitles username and password.
Re: [SNIPPET] Sort into A-Z folders
Posted: 18 Sep 2021, 14:41
by jchh
I got this to work by myself before realising
{az} existed, but... it files "Riddick (2013)" into
/C/ (presumably because the 1st film was "The Chronicles of Riddick") so I am not sure if this is a bug or not. I would prefer to file it into
/R/.
The second snippet works except movies starting with "A" or "The" etc (filing it into /A/ or /T/ respectfully).
The following worked for me:
Code: Select all
{n.replaceFirst(/(?i)(The |A |An |)(.).*/, /$2/)}
Re: [SNIPPET] Sort into A-Z folders
Posted: 18 Sep 2021, 14:55
by jchh
...although I'd like to put films starting with a number (eg: 28 days later) into the folder "A-Z". Any tips on how I could incorporate that into my snippet would be appreciated.
[edit]: that was a typo - I'd want to put in into a folder called 0-9
Re: [SNIPPET] Sort into A-Z folders
Posted: 18 Sep 2021, 15:10
by rednoah
Re: [SNIPPET] Sort into A-Z folders
Posted: 18 Sep 2021, 16:29
by jchh
that's fantastic - thanks.
how do I either/or that with my snippet?
Re: [SNIPPET] Sort into A-Z folders
Posted: 18 Sep 2021, 16:32
by rednoah
e.g.
Code: Select all
{ n =~ /^\d/ ? 'A-Z' : n.replaceFirst(/(?i)(The |A |An |)(.).*/, /$2/) }
Re: [SNIPPET] Sort into A-Z folders
Posted: 18 Sep 2021, 16:42
by jchh
Brilliant - thanks for your help!