Search found 22375 matches

by rednoah
Today, 19:37
Forum: Help and Support
Topic: Rename Series Folders - Cannot get property 'name' on null object
Replies: 4
Views: 82

Re: Rename Series Folders - Cannot get property 'name' on null object

Extended Attributes / NTFS Alternate Data Streams is an optional file system feature. If you move / copy files around then xattr may get silently lost if the target file system does not support xattr or if the program doing the move / copy isn't aware of xattr.
by rednoah
Today, 17:36
Forum: Help and Support
Topic: Rename Series Folders - Cannot get property 'name' on null object
Replies: 4
Views: 82

Re: Rename Series Folders - Cannot get property 'name' on null object

:idea: Do files inside the given folders have xattr metadata ? The Rename Series Folders example assumes that the files inside those folders have previously been identified and renamed with FileBot, and thus have xattr metadata attached to each episode file. series.name doesn't work if we don't have...
by rednoah
Today, 07:31
Forum: Scripting and Automation
Topic: Naming formats - using a function on the entire file name
Replies: 1
Views: 103

Re: Naming formats - using a function on the entire file name

Yes, but you would have to write your entire expression inside a single {...} returning one single normalized file path. :arrow: @files › Script Parameter Value happens to have a prime example for this kind of format expression: { [ allOf {ny} { allOf {vf} {group} } , allOf {ny} {'CD'+pi} {lang} ]*....
by rednoah
Today, 07:16
Forum: unRAID & docker
Topic: Trying to Find a Workflow for Renaming Music Videos
Replies: 5
Views: 106

Re: Trying to Find a Workflow for Renaming Music Videos

What was the database that was being used when I was ripping CDs back in the early 2000s? I don't think it was using acoustdb fingerprints. Was it Gracenote, maybe? That sounds right. That was easier, because you had a CD identifier, with which you could get the CD index online, which would then te...
by rednoah
Today, 06:29
Forum: Ubuntu & Desktop Linux
Topic: Rename episodes with multiple segments if there aren't airdates which match
Replies: 13
Views: 360

Re: Rename episodes with multiple segments if there aren't airdates which match

A quick glance on the first ~5 and last ~5 matches show no issues. Can you point out at least on of the mismatches so that I don't have to sift through the log? EDIT: I found an "incomplete" match: [TEST] from [Max and Ruby_S03E07_Max's Fire Flies_Max & Ruby's Fashion Show_Ruby's Sing-...
by rednoah
Today, 06:25
Forum: Episode / Movie Naming Scheme
Topic: Comparison between series total episodes and season episodes
Replies: 1
Views: 43

Re: Comparison between series total episodes and season episodes

e.g. { episodelist.size() != episodelist.findAll{ s == it.s }.e.max() ? absolute : null } :arrow: :arrow: Learn how {expressions} work and useful Helper Functions e.g. maybe you could just do "add absolute numbers to shows that have more than one season" though: { sc > 1 ? absolute : null }
by rednoah
Yesterday, 18:09
Forum: unRAID & docker
Topic: Trying to Find a Workflow for Renaming Music Videos
Replies: 5
Views: 106

Re: Trying to Find a Workflow for Renaming Music Videos

This unfortunately is the real killer for me. If I can't manually lookup the ones that don't match, I don't know how I'll get metadata for the majority of music videos. This sounds like it's a limitation that can't be bypassed though. Is there a way to make acoustdb match on filename? Sorry, we don...
by rednoah
Yesterday, 17:49
Forum: Ubuntu & Desktop Linux
Topic: Rename episodes with multiple segments if there aren't airdates which match
Replies: 13
Views: 360

Re: Rename episodes with multiple segments if there aren't airdates which match

e.g. $ filebot -rename SpongeBob*.mp4 --format '{plex.name}' --db TheTVDB -non-strict --mapper 'any{ if (regular) episode.number(null).map(episodelist.findAll{ airdate == it.airdate && !it.special }.episode).reverse() }{ episode.number(null) }' --action TEST --log INFO [TEST] from [SpongeBob...
by rednoah
Yesterday, 17:10
Forum: Episode / Movie Naming Scheme
Topic: How do I match information from anywhere in the file path?
Replies: 4
Views: 73

Re: How do I match information from anywhere in the file path?

:idea: {folder} is on the list. File::getName is Java API. There is no "all the strings" because you are writing code. Please read the FileBot Groovy Expression Reference Documentation for details. :idea: The built-in action.variables Bindings viewer will give you a list of commonly used s...
by rednoah
Yesterday, 16:26
Forum: unRAID & docker
Topic: Trying to Find a Workflow for Renaming Music Videos
Replies: 5
Views: 106

Re: Trying to Find a Workflow for Renaming Music Videos

I realize that FileBot stores metadata as extended attributes, and it wouldn't be hard for me to write a script to take these extended attributes and create an NFO file from them. Unfortunately, xattr metadata is limited to Movie and Episode objects. AudioTrack objects are not stored to xattr for n...
by rednoah
Yesterday, 15:38
Forum: Ubuntu & Desktop Linux
Topic: Rename episodes with multiple segments if there aren't airdates which match
Replies: 13
Views: 360

Re: Rename episodes with multiple segments if there aren't airdates which match

I have lots of different shows I wanna rename, but some of them need matching for the multiple episodes because they're listed separately. For example SpongeBob is one. How can I do that? :arrow: You do know that I'm gonna ask for sample file paths by now, right? :lol: :arrow: In absence of you pro...
by rednoah
Yesterday, 13:01
Forum: Episode / Movie Naming Scheme
Topic: How do I match information from anywhere in the file path?
Replies: 4
Views: 73

Re: [SNIPPET] Match information from the file path

e.g. match /Badini/ from the file path:

Format: Select all

{ f.path.match(/Badini/) }
e.g. use the parent folder name:

Format: Select all

{ folder.name }
by rednoah
Yesterday, 12:01
Forum: Episode / Movie Naming Scheme
Topic: Match Single Genre Documentary Movies
Replies: 4
Views: 52

Re: Match Single Genre Documentary Movies

Cheers. The code above has been tested with the given movies and works as desired:

Format: Select all

{ genres[0] == 'Documentary' && genres.size() == 1 ? 'Documentary' : 'Other Movie' }
by rednoah
Yesterday, 11:15
Forum: Episode / Movie Naming Scheme
Topic: Match Single Genre Documentary Movies
Replies: 4
Views: 52

Re: Match Single Genre Documentary Movies

:?: Can you provide a specific positive and a specific negative example? i.e. TMDB link for one movie that only has "Documentary" in the genre list, and another that has multiple genres? In general, Conditional Structures (if-then-else) can be arbitrarily complex and check for multiple thi...
by rednoah
Yesterday, 10:43
Forum: Scripting and Automation
Topic: Script not running on Windows 11 Task Scheduler
Replies: 2
Views: 53

Re: Script not running on Windows 11 Task Scheduler

Seems to be a generic Windows problem unrelated to FileBot specifically. Why can't a Task Scheduler job access a mapped network drive? You might get lucky with a general Google search. Please report back if you find a solution for the next guy who stumbles up this thread.
by rednoah
Yesterday, 09:17
Forum: Scripting and Automation
Topic: Suball Script not working when connected to Nord VPN
Replies: 13
Views: 255

Re: Suball Script not working when connected to Nord VPN

:idea: This file is to old as per --def maxAgeDays=21 and thus ignored: Ignore old: W:\Archer\Season 14\Archer S14E02 - 30 for 30.mkv :idea: This file already has English subtitles embedded inside the file itself from the very beginning, and you therefore don't need additional external subtitles, an...
by rednoah
Yesterday, 07:20
Forum: Episode / Movie Naming Scheme
Topic: using the command line, how to refer to a custom format inside a text file
Replies: 1
Views: 53

Re: using the command line, how to refer to a custom format inside a text file

The file path must end with *.groovy if you want this option value to be interpreted as external format file. :arrow: Please read @file syntax › Option Value for details: --format /path/to/MovieFormat.groovy :!: If you're using *.txt files then you're likely using Notepad to edit them, which is prob...
by rednoah
Yesterday, 07:09
Forum: Scripting and Automation
Topic: Suball Script not working when connected to Nord VPN
Replies: 13
Views: 255

Re: Suball Script not working when connected to Nord VPN

The stack dump confirms that FileBot is stuck in a Windows system call, so there's nothing you or FileBot can do about it, the issue is an internal Windows bug / SMB file system driver bug that is perhaps caused by Nord VPN interfering the the TCP/IP stack in unexpected ways: java.lang.Thread.State:...
by rednoah
23 Sep 2023, 18:42
Forum: Windows
Topic: URI has an authority component
Replies: 1
Views: 67

Re: URI has an authority component

:?: Why are you doing this? FILEBOT_OPTS: -Dapplication.dir=V:\Portable\FileBot\Data :?: What does filebot -script fn:sysinfo say if you unset your custom FILEBOT_OPTS environment variable? :!: Looks like you might be launching FileBot portable from an invalid file path, a UNC path perhaps, which Fi...
by rednoah
23 Sep 2023, 18:23
Forum: Ubuntu & Desktop Linux
Topic: Rename episodes with multiple segments if there aren't airdates which match
Replies: 13
Views: 360

Re: Rename episodes with multiple segments if there aren't airdates which match

:idea: Little Bill notably does not require multi-episode matching (i.e. match a file to multiple SxE numbers) as far as I can see: Little Bill - 1x01 - The Treasure Hunt / The Best Way To Play Little Bill - 1x02 - Just A Baby / The Campout Little Bill - 1x03 - The Dollar / The Choice ... :arrow: So...
by rednoah
23 Sep 2023, 15:06
Forum: Windows
Topic: Set Hebrew language for the "Fetch subtitle files" post-processing feature instead of English?
Replies: 1
Views: 47

Re: using "post process subtitles" appropriately

Unfortunately, the "Fetch subtitle files" post-processing feature does not support configuration options. It only supports English (or rather the preferred language that is configured in the Rename tool) since that works for most and subtitles are most likely to exist. :idea: If you want a...
by rednoah
23 Sep 2023, 12:47
Forum: Scripting and Automation
Topic: Suball Script not working when connected to Nord VPN
Replies: 13
Views: 255

Re: Suball Script not working when connected to Nord VPN

Sorry, it's Ctrl+Pause and not just Pause : https://www.baeldung.com/java-thread-dump#2-ctrl--break-windows In Windows operating systems, we can capture a thread dump using the CTRL and Break key combination. To take a thread dump, navigate to the console used to launch the Java application, and pre...
by rednoah
23 Sep 2023, 12:27
Forum: Scripting and Automation
Topic: Suball Script not working when connected to Nord VPN
Replies: 13
Views: 255

Re: Suball Script not working when connected to Nord VPN

The PAUSE key is a key on your keyboard.

Screenshot


kaneelias wrote: 23 Sep 2023, 12:22 Is there a way to point the script to an IP address on the network?
FileBot works with UNC file paths. Presumably you can use the IP instead of the hostname.