Search found 21101 matches

by rednoah
Today, 07:01
Forum: Scripting and Automation
Topic: How do I specify a custom format on the command-line?
Replies: 1
Views: 22

Re: help newbie in the area

You mean to use the --format option to specify a custom format: https://www.filebot.net/cli.html https://www.filebot.net/screenshots/cli.png The --mode interactive option can be used to enable console-interactive mode: https://www.filebot.net/forums/viewtopic.php?t=4398 https://i.imgur.com/SKFw41i.p...
by rednoah
Today, 06:08
Forum: Scripting and Automation
Topic: Symlink/Hardlink/Keeplink - torrent share doubts
Replies: 2
Views: 33

Re: Symlink/Hardlink/Keeplink - torrent share doubts

:?: You'll probably want to have everything on the same file system. That'll make everything easier, especially if everything is already on the same physical disk already anyway. Where is the benefit in separating things into separate file systems? It'll just make move/rename operations not instant,...
by rednoah
Today, 05:52
Forum: Help and Support
Topic: How adding season number to folder name (folder include)
Replies: 2
Views: 26

Re: How adding season number to folder name (folder include)

Sorry, I don't understand the problem. Can you paste a screenshot of what you see when you're stuck? https://www.filebot.net/forums/viewtopic.php?t=1868 :idea: Note that FileBot can only rename episode files / episode folders, but not season folders. EDIT: Perhaps [DOCS] Holistic formats with the {m...
by rednoah
Today, 05:13
Forum: Help and Support
Topic: Issue Handling Filename with Unicode Combining Diacritical Marks
Replies: 17
Views: 239

Re: Issue Handling Filename with Unicode Combining Diacritical Marks

Bug ID: JDK-8294884 has been submitted and accepted. Let's see if the JDK developers figure out this mystery.
by rednoah
Yesterday, 05:14
Forum: Scripting and Automation
Topic: AMC Pushover notification no longer showing detail other than tag
Replies: 2
Views: 46

Re: AMC Pushover notification no longer showing detail other than tag

The Pushover code has not changed in years: https://github.com/filebot/scripts/blob/master/amc.groovy#L525 return ut.title ?: (input.findAll{ !it.isSubtitle() } ?: input).collect{ relativeInputPath(it) as File }.root.nameWithoutExtension.unique().collect{ prefix + it }.join(postfix).trim() :idea: Lo...
by rednoah
03 Oct 2022, 16:50
Forum: Scripting and Automation
Topic: Invalid usage: use either script parameters [dir:/b] or file arguments [/a] but not both
Replies: 2
Views: 51

Re: fn:amc works on CLI but no in qBittorrent

The error message is quite clear: Invalid usage: use either script parameters [label:TV, title:La tierra de los muertos vivientes (2005) (Unrated Director's Cut) [BDRip 1080p x264 DTS 5.1].mkv, kind:multi, dir:/mnt/downloads/La tierra de los muertos vivientes (2005) (Unrated Director's Cut) [BDRip 1...
by rednoah
03 Oct 2022, 16:40
Forum: Scripting and Automation
Topic: {vbr} not working in CLI but working in GUI
Replies: 4
Views: 73

Re: {vbr} not working in CLI but working in GUI

Does MediaInfo give you the size of the video stream? If yes, then divide by video duration. If no, then out of luck.
viewtopic.php?t=4285
by rednoah
03 Oct 2022, 03:32
Forum: Tips, Tricks and Tutorials
Topic: Manual Matching
Replies: 0
Views: 104

Manual Matching

If FileBot does not automatically match the correct Episode or Movie for any given file, then you can manually select the correct Episode (or multiple episodes for multi-episode files) or Movie instead via Double-Click ➔ https://www.filebot.net/resources/action.match.select.png Edit Match . https://...
by rednoah
02 Oct 2022, 14:45
Forum: Scripting and Automation
Topic: {vbr} not working in CLI but working in GUI
Replies: 4
Views: 73

Re: {vbr} not working in CLI but working in GUI

vbr is not a String type object, so String.replace() won't work. :arrow: You can do String.replace() but you need to convert the vbr object to a String value first: vbr.toString().replace(' Mbps', 'mbps') EDIT: Newer revisions add AutoScaleInteger.replace(a, b) that simply does toString().replace(a...
by rednoah
02 Oct 2022, 12:05
Forum: Help and Support
Topic: Issue Handling Filename with Unicode Combining Diacritical Marks
Replies: 17
Views: 239

Re: Issue Handling Filename with Unicode Combining Diacritical Marks

After a good day of lots of random trial and error, and lots of random Googling, I'm now ready to give up. I'm pretty sure that there's nothing (i.e. changes in either your PowerShell code or my Java code) we can do to make it work. :!: :!: :!: I did however learn that cmd / PowerShell really do not...
by rednoah
02 Oct 2022, 08:26
Forum: Help and Support
Topic: Issue Handling Filename with Unicode Combining Diacritical Marks
Replies: 17
Views: 239

Re: Issue Handling Filename with Unicode Combining Diacritical Marks

Sorry, my bad. I was testing with sample String values in the IDE: def nfc = '\u00e9' def nfd = '\u0065\u0301' def args = [nfc, nfd] args.each{ a -> println a println a.chars().collect{ c -> String.format('%04x', c) } def f = new File(a) println f.exists() println f.length() println "---------" } Bu...
by rednoah
02 Oct 2022, 05:31
Forum: Help and Support
Topic: Issue Handling Filename with Unicode Combining Diacritical Marks
Replies: 17
Views: 239

Re: Issue Handling Filename with Unicode Combining Diacritical Marks

I can confirm that Windows / NTFS indeed (very unexpected!!!) allows you to have multiple unicode-equivalent (but canonically different) file paths. Even macOS / APFS doesn't allow that. I have further narrowed down the issue to the Console Host GUI which seems to mangle e` (NFD) at some point, and ...
by rednoah
02 Oct 2022, 03:21
Forum: Help and Support
Topic: Issue Handling Filename with Unicode Combining Diacritical Marks
Replies: 17
Views: 239

Re: Issue Handling Filename with Unicode Combining Diacritical Marks

file.encoding is for reading / writing text files (i.e. file content) and not "file system path encoding" which is always UTF-8 on Windows and macOS. :idea: On Linux, the "file system path encoding" can be set via sun.jnu.encoding (this property has no effect on Windows) because on Linux a file nam...
by rednoah
01 Oct 2022, 04:15
Forum: Ubuntu & Linux
Topic: Filebot Docker install crashing
Replies: 7
Views: 165

Re: Filebot Docker install crashing

Also HOW can I launch this container in Portainer so I can have it start automatically if the server is rebooted instead of launching from a command prompt on the docker server? I'm not familiar with Portainer. You'll probably need to understand the docker command, so that you can then translate th...
by rednoah
01 Oct 2022, 04:04
Forum: Ubuntu & Linux
Topic: Filebot Docker install crashing
Replies: 7
Views: 165

Re: Filebot Docker install crashing

$PWD is the current working directory, the folder you cd into most recently: https://www.shellscript.sh/ e.g. these two commands are functionally equivalent, except one will pass a relative path to input, to be resolved by ls against its current working directory, and one will pass an absolute path...
by rednoah
01 Oct 2022, 03:53
Forum: Help and Support
Topic: Issue Handling Filename with Unicode Combining Diacritical Marks
Replies: 17
Views: 239

Re: Issue Handling Filename with Unicode Combining Diacritical Marks

:idea: Keep in mind that you have a unicode equivalence problem, and not a character encoding problem. Both PowerShell and Java/FileBot are using unicode. You can confirm this by passing 你好.mp4 or any other unicode file path where NFD / NFC doesn't come into play. :idea: dpcmd.exe is a tool made by ...
by rednoah
01 Oct 2022, 03:08
Forum: Ubuntu & Linux
Topic: Filebot Docker install crashing
Replies: 7
Views: 165

Re: Filebot Docker install crashing

:?: What does the console output say? :?: What does -v input:/input do? It will create a named volume (an internally managed file system, that is not mapped to any specific folder on your host) . You likely mean -v "$PWD/input:/input" which does something entirely different, i.e. the thing you mean ...
by rednoah
01 Oct 2022, 02:57
Forum: Help and Support
Topic: Problem with Movie Languages
Replies: 3
Views: 64

Re: Problem with Movie Languages

The {localize} binding is part of your custom format.

Image


:idea: If you are not yet familiar with custom formats, then I recommend just waiting for a few weeks for the next release that fixes the issue internally.
by rednoah
30 Sep 2022, 16:02
Forum: Help and Support
Topic: AMC auto-extract movie/TV file but auto-rename to foldername
Replies: 1
Views: 43

Re: AMC auto-extract movie/TV file but auto-rename to foldername

:idea: If you want to not identify and rename movies / episode then the amc script is not suitable for your use case. :arrow: If you want to just extract archives and rename files based on locally available information, then you'll want to have a custom script that first extracts archives (with file...
by rednoah
30 Sep 2022, 04:11
Forum: Help and Support
Topic: Issue Handling Filename with Unicode Combining Diacritical Marks
Replies: 17
Views: 239

Re: Issue Handling Filename with Unicode Combining Diacritical Marks

2 arguments means that PowerShell (not FileBot) sees two files or folders. If Windows Explorer / DrivePool show you 1 folder but PowerShell somehow sees 2 folders, then that would be most disturbing. :?: What do you see when you list the parent folder with PowerShell? https://linuxhint.com/list-file...
by rednoah
30 Sep 2022, 03:31
Forum: Help and Support
Topic: Issue Handling Filename with Unicode Combining Diacritical Marks
Replies: 17
Views: 239

Re: Issue Handling Filename with Unicode Combining Diacritical Marks

:?: PowerShell expands G:\auto-media\*giovent* to 2 arguments? The output suggests that you have the same folder twice, perhaps once for each diacritic encoding? That would be most unsual: args[2] = G:\PoolPart.2a73f37a-d6ff-4f7c-a0de-69a72e1d9a63\torrents\auto-media\La meglio gioventu? 2003 1080p B...
by rednoah
30 Sep 2022, 02:50
Forum: Help and Support
Topic: Issue Handling Filename with Unicode Combining Diacritical Marks
Replies: 17
Views: 239

Re: Issue Handling Filename with Unicode Combining Diacritical Marks

:?: Are you using CMD or PowerShell?


:?: What happens if you select the file via a glob pattern?

Code: Select all

filebot -script fn:sysenv G:\auto-media\*giovent*
by rednoah
30 Sep 2022, 02:41
Forum: Ubuntu & Linux
Topic: Filebot Docker install crashing
Replies: 7
Views: 165

Re: Filebot Docker install crashing

:?: Which 3rd party docker container are you using?


:?: Can you reproduce the issue with official docker container?
https://www.filebot.net/linux/docker.html
by rednoah
26 Sep 2022, 07:45
Forum: Help and Support
Topic: Problem with Movie Languages
Replies: 3
Views: 64

Re: Problem with Movie Languages

Here's what I get: $ filebot -list --db TheMovieDB --q 00162 --lang German Edward mit den Scherenhänden (1990) :?: Do you get a different result when you run the same command? EDIT: :?: Is there a nearby NFO file? If yes, then Strange behavior, title language (if there is a nearby *.nfo file) is a k...
by rednoah
26 Sep 2022, 07:37
Forum: Windows
Topic: How to refresh series image cache?
Replies: 2
Views: 162

Re: How to refresh series image cache?

The thumbnail images are FileBot-specific and pre-generated for for popular shows. They're notably not live nor guaranteed to be available for all shows. You can clear the cache but this won't help you if the thumbnail you need doesn't yet exist. The thumbnail image for TheTVDB::396325 notably does ...