POSTBUCKET - where random posts in unrelated topics go

Any questions? Need some help?
Oleros
Donor
Posts: 24
Joined: 10 Aug 2016, 14:32

Re: Q&A for n00bs

Post by Oleros »

@rednoah, could you please respond to my question above?
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Q&A for n00bs

Post 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


:idea: 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.
:idea: Please read the FAQ and How to Request Help.
Oleros
Donor
Posts: 24
Joined: 10 Aug 2016, 14:32

Re: Q&A for n00bs

Post 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


:idea: 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


:idea: 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?
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Q&A for n00bs

Post 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
:idea: Please read the FAQ and How to Request Help.
p11ps
Posts: 11
Joined: 26 Oct 2017, 01:16

Re: [User Study] Take a screen recording and earn yourself a free license

Post 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!
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [User Study] Take a screen recording and earn yourself a free license

Post 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.
:idea: Please read the FAQ and How to Request Help.
xaeiou
Posts: 15
Joined: 22 Oct 2019, 06:24

Re: How about sharing our format expressions?

Post 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(
	'<' : '﹤',
	'>' : '﹥',
	':' : 'ː',
	'"' : '“',
	'/' : '⁄',
	'|' : '⼁',
	'?' : '?',
	'*' : '﹡',
	'\\': '∖'
)}
substance
Posts: 1
Joined: 21 Dec 2020, 05:48

Re: [User Study] Take a screen recording and earn yourself a free license

Post 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.
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [User Study] Take a screen recording and earn yourself a free license

Post 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. ;)


:idea: You can use Double-Click New Names ➔ Edit Match to fix matches. See FAQ #2 for details.
:idea: You can use Presets for pre-defined actions and associated keyboard shortcuts
:idea: 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.
:idea: Please read the FAQ and How to Request Help.
Brax
Posts: 16
Joined: 31 Mar 2018, 09:58

Re: Conditional Structures (if-then-else)

Post 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
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Conditional Structures (if-then-else)

Post 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}
Brax
Posts: 16
Joined: 31 Mar 2018, 09:58

Re: Conditional Structures (if-then-else)

Post 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
tjrktu
Posts: 1
Joined: 28 Jan 2021, 19:51

Re: Q&A for n00bs

Post 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.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Q&A for n00bs

Post 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!

Code: Select all

include('lib/htpc')
= lib folder

Maybe use my amc script ?
viewtopic.php?p=31191#p31191
alyssa369
Posts: 1
Joined: 04 Mar 2021, 12:59

Re: How about sharing our format expressions?

Post by alyssa369 »

AbedlaPaille wrote: 11 Jun 2020, 21:12 Image

I'm nearly done with my OCD :D

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

Image

I use year first in several ones, like Directors, Studios, Year

Image

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
dincervolkan
Posts: 2
Joined: 05 Apr 2021, 07:30

Re: [FAQ] How to request a refund?

Post 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.
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FAQ] How to request a refund?

Post 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.


:idea: 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.
:idea: Please read the FAQ and How to Request Help.
noahnchina
Posts: 1
Joined: 06 Sep 2021, 23:55

Re: Q&A for n00bs

Post 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.
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Q&A for n00bs

Post 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:

Code: Select all

--def subtitles=en
:idea: Please monitor the console output for further details. It may ask you to enter your OpenSubtitles username and password.
:idea: Please read the FAQ and How to Request Help.
jchh
Posts: 49
Joined: 02 Nov 2020, 15:13

Re: [SNIPPET] Sort into A-Z folders

Post 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/)}
jchh
Posts: 49
Joined: 02 Nov 2020, 15:13

Re: [SNIPPET] Sort into A-Z folders

Post 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
Last edited by jchh on 18 Sep 2021, 16:34, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [SNIPPET] Sort into A-Z folders

Post by rednoah »

e.g.

Code: Select all

{ n =~ /^\d/ ? 'A-Z' : n[0] }
:idea: Please read the FAQ and How to Request Help.
jchh
Posts: 49
Joined: 02 Nov 2020, 15:13

Re: [SNIPPET] Sort into A-Z folders

Post by jchh »

that's fantastic - thanks.

how do I either/or that with my snippet?
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [SNIPPET] Sort into A-Z folders

Post by rednoah »

e.g.

Code: Select all

{ n =~ /^\d/ ? 'A-Z' : n.replaceFirst(/(?i)(The |A |An |)(.).*/, /$2/) }
:idea: Please read the FAQ and How to Request Help.
jchh
Posts: 49
Joined: 02 Nov 2020, 15:13

Re: [SNIPPET] Sort into A-Z folders

Post by jchh »

Brilliant - thanks for your help!
Post Reply