Search found 23208 matches

by rednoah
Today, 10:37
Forum: Ubuntu & Desktop Linux
Topic: How can i rename files based on history?
Replies: 9
Views: 123

Re: How can i rename files based on history?

If you're having a hard time writing generic code by yourself / with ChatGPT then here's how you could do it with FileBot Scripting : #!/usr/bin/env -S filebot -script getPersistentRenameLog().each{ src, dst -> println "* $src -> $dst" if (src.exists()) { if (!dst.exists()) { println src.d...
by rednoah
Today, 10:21
Forum: Ubuntu & Desktop Linux
Topic: How can i rename files based on history?
Replies: 9
Views: 123

Re: How can i rename files based on history?

I see. Unlucky there. Looks like filebot -script fn:history only prints history entries where the destination file currently exists: https://github.com/filebot/scripts/blob/master/history.groovy#L6 Looks like you'll have to write the code entirely by yourself... Pick the language of your choice, par...
by rednoah
Today, 09:16
Forum: Ubuntu & Desktop Linux
Topic: How can i rename files based on history?
Replies: 9
Views: 123

Re: How can i rename files based on history?

What does filebot -script fn:history print for the file at hand?

Shell: Select all

filebot -script fn:history | grep 'Bear.Man.2023.1080p.Shafilm.mp4'
by rednoah
Today, 08:18
Forum: Ubuntu & Desktop Linux
Topic: How can i rename files based on history?
Replies: 9
Views: 123

Re: How can i rename files based on history?

Thanks very much, do you have any idea to how i can avoid the duplicate matches like files that are renamed couples times and they have couple matches in the history? What should happen if you have a couple of matches in the history? For $SRC ? For $DST ? For both? Define exactly what you want to d...
by rednoah
Today, 06:02
Forum: Ubuntu & Desktop Linux
Topic: How can i rename files based on history?
Replies: 9
Views: 123

Re: How can i rename files based on history?

You'll probably need to write your own script for that. The history.xml file will tell you all the source / destination files.


Here's something to get you started:

Shell: Select all

#!/bin/sh
filebot -script fn:history --log OFF | while IFS=$'\t' read -r SRC DST
do
	echo "$SRC -> $DST"
done
by rednoah
Today, 03:59
Forum: Episode / Movie Naming Scheme
Topic: 'pt-BR' on .srt files gets deleted?
Replies: 1
Views: 37

Re: 'pt-BR' on .srt files gets deleted?

The target file path, including the pt-BR bit, is up to your custom format. The {plex} format and {subt} subtitle language tag would normally take care of that. Unfortunately, pt-BR is not a recognized language code, so neither {subt} nor {plex} will for out-of-the-box in this particular case. :idea...
by rednoah
12 Jul 2024, 06:27
Forum: macOS
Topic: Problem running FileBot from Mac App Store
Replies: 6
Views: 474

Re: Problem running FileBot from Mac App Store

Apple does seem to have introduced some incompatibilities. I don't know. We only know that the same code works for most users while at the same time not working for a small number of users. The symtom is unexpected NIC properties. The root cause is unknown.
by rednoah
12 Jul 2024, 05:17
Forum: Windows
Topic: Need help removing one space
Replies: 2
Views: 243

Re: Need help removing one space

e.g. {plex} format

Format: Select all

M:/{ plex.id % { allOf{ vf }{ hdr }.joining(' ', ' [', ']') } }

:idea: Learn how {expressions} work and useful Helper Functions
by rednoah
12 Jul 2024, 05:12
Forum: macOS
Topic: Problem running FileBot from Mac App Store
Replies: 6
Views: 474

Re: Problem running FileBot from Mac App Store

Yep, looks like the same issue. Not much we can do for now. If it's a recent purchase, then you can refund via Apple. If it's an older purchase, then we will send you a complimentary 1-year license for the non-Store edition.
by rednoah
11 Jul 2024, 17:27
Forum: Feature Requests and Bug Reports
Topic: TMDB Matching with Tagalog Language
Replies: 1
Views: 268

Re: TMDB Matching with Tagalog Language

:idea: There is no --lang Tagalog option because TMDB does not support tl-PH as site language. The issue at hand is notably unrelated to whichever value you pass in as --lang option. The default --lang English would work just fine in this case, if the movie entry were to be valid. :idea: FileBot doe...
by rednoah
11 Jul 2024, 11:58
Forum: macOS
Topic: Problem running FileBot from Mac App Store
Replies: 6
Views: 474

Re: Problem running FileBot from Mac App Store

:?: Do you get the same console output?
rednoah wrote: 16 Mar 2024, 19:11 :?: Do you get any console output if you launch via Terminal?

Shell: Select all

/Applications/FileBot.app/Contents/MacOS/filebot.launcher
:arrow: FileBot Not Running on Sonoma (14.3)
by rednoah
11 Jul 2024, 03:29
Forum: Ubuntu & Desktop Linux
Topic: Filebot Node exit code 3 (e.g. LOL 2012)
Replies: 1
Views: 304

Re: Filebot Node exit code 3

:?: Can you reproduce the issue with any other movie name? :idea: In this case, the amc script cannot reliably tell if the file at hand is a movie or an episode, and will thus do nothing: Group files by movie or series Group: {Movie=null} => [LOL.2012.1080p.AMZN.WEB-DL.DDP.5.1.H.264-PiRaTeS.mkv, ref...
by rednoah
08 Jul 2024, 09:20
Forum: unRAID & docker
Topic: Problem with activating license in Docker
Replies: 8
Views: 909

Re: Problem with activating license in Docker

:idea: This warning means that the user data folder does not yet exist on startup, i.e. filebot is running for the first time for all accounts and purposes, likely due to -v / volumes not being configured correctly, because you're definitely not calling filebot for the first time at this point: WARN...
by rednoah
05 Jul 2024, 08:32
Forum: Feature Requests and Bug Reports
Topic: Feaure Request for multiple file selection
Replies: 7
Views: 1743

Re: Feaure Request for multiple file selection

I know this is an old post but I would like to add my support for this request. I often add a folder of files but want to either remove items or exclude items from being renamed. The X button tooltip even says "Exclude selected items" so why can't we select more than one? Support for mult...
by rednoah
03 Jul 2024, 11:42
Forum: Windows
Topic: JAVA_TOOL_OPTIONS: -agentpath:"C:\Windows\system32\Aternity\Java\JavaHookLoader.dll"="C:\ProgramData\Aternity\hooks"
Replies: 1
Views: 335

Re: FileBot 5.1.3 (r10185) - JVM EXCEPTION_ACCESS_VIOLATION (0xc0000005)

:!: You are trying to inject custom code into the FileBot process: Picked up JAVA_TOOL_OPTIONS: -agentpath:"C:\Windows\system32\Aternity\Java\JavaHookLoader.dll"="C:\ProgramData\Aternity\hooks" java.lang.IllegalArgumentException: Unsupported class file major version 61 at com.ate...
by rednoah
02 Jul 2024, 06:20
Forum: Windows
Topic: Rename files from YouTube
Replies: 1
Views: 220

Re: Rename files from YouTube

:?: How are your files currently named? :arrow: Please post sample file paths as text . Please read How to Request Help for details. :idea: If your files cannot be matched to series / episode information on TheMovieDB / TheTVDB / etc, then you may be able to use Plain File Mode for generic batch fil...
by rednoah
02 Jul 2024, 06:07
Forum: Ubuntu & Desktop Linux
Topic: tvdb lookup problem
Replies: 7
Views: 635

Re: tvdb lookup problem

Yes, if you incorrectly rename files, then that match is somewhat locked-in, i.e. FileBot will be inclined to match the file to the same series / episode that was matched previously. :arrow: FileBot knows the previously matched episode because it stores xattr metadata after processing files. If you ...
by rednoah
30 Jun 2024, 18:38
Forum: unRAID & docker
Topic: Problem with activating license in Docker
Replies: 8
Views: 909

Re: Problem with activating license in Docker

How do I activate my license? wrote: Your license will then be stored in -v data:/data (i.e. bind named persistent volume data as /data into the container file system) which is the persistent application data folder common to all FileBot docker containers. Please read Run your app in production ➔ M...
by rednoah
30 Jun 2024, 13:59
Forum: unRAID & docker
Topic: Problem with activating license in Docker
Replies: 8
Views: 909

Re: Problem with activating license in Docker

:?: What exactly are you doing? What is the command you use to install your license? What is the command you use to call filebot to rename files? Please post verbatim all docker commands and corresponding complete console output . :idea: The answer is almost certainly explained in How do I activate ...
by rednoah
30 Jun 2024, 06:28
Forum: Ubuntu & Desktop Linux
Topic: tvdb lookup problem
Replies: 7
Views: 635

Re: tvdb lookup problem

:?: Please post sample file paths including parent folder names as text via the F7 key . (NOTE: we cannot copy & paste full file paths for testings from a screenshot) :idea: Pressing the F7 key would have saved you and me time. Logging in via SSH and running an ls command that adds leading and ...
by rednoah
30 Jun 2024, 05:57
Forum: Windows
Topic: script not downloading to designated drive
Replies: 1
Views: 178

Re: script not downloading to designated drive

:?: What does the log say when it does not work?


:idea: You use --log-file amc.log so you will find the amc.log log file in your user data folder.


:arrow: Please read Automated Media Center › Troubleshooting for general troubleshooting advice.
by rednoah
30 Jun 2024, 04:57
Forum: Ubuntu & Desktop Linux
Topic: tvdb lookup problem
Replies: 7
Views: 635

Re: tvdb lookup problem

:?: Please post sample file paths including parent folder names as text via the F7 key. (NOTE: we cannot copy & paste full file paths for testings from a screenshot) :arrow: You can always SHIFT-CLICK <Episode Mode: TheTVDB> and then enter 443124 when prompted. Please read FAQ #2 and Manual Matc...