Search found 22382 matches

by rednoah
Today, 04:02
Forum: Episode / Movie Naming Scheme
Topic: Plex TV Series Naming with Year
Replies: 9
Views: 10215

Re: Plex TV Series Naming with Year

It seems there's been some drift on emby binding. What's the drift? :idea: Note that the recommend format is {plex.id} nowadays. Adding the year is not necessarily for series identification if you already have the series ID in the folder name. Though you could just want the year because you want it...
by rednoah
26 Sep 2023, 16:00
Forum: Scripting and Automation
Topic: Naming formats - using a function on the entire file name
Replies: 3
Views: 162

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

ImaginaryTango wrote: 26 Sep 2023, 15:15 I'm trying to use what I see there - and writing it all in a single {...} grouping, but that doesn't seem to work at all.
:?: Perhaps you could paste what you have so far here, so we can see what exactly doesn't seem to work at all?
by rednoah
26 Sep 2023, 12:30
Forum: Windows
Topic: help required to rename tv series
Replies: 4
Views: 130

Re: help required to rename tv series

You seem to have deleted the first episode, then added another S02E02 with "The Ambush" as title... Why? https://thetvdb.com/series/line-of-duty/seasons/official/2 https://snipboard.io/dG3KgW.jpg Since all the episodes are already there, you just need to click on Edit Translations then Eng...
by rednoah
25 Sep 2023, 22:22
Forum: Windows
Topic: help required to rename tv series
Replies: 4
Views: 130

Re: help required to rename tv series

TMDB / TVDB / TVmaze are built by the community and all of them allow for changes and contributions. Please check the forum for your preferred database if you run into issues contributing episode titles. :arrow: TMDB: You may need to talk to the moderators since some episodes seem to be locked (perh...
by rednoah
25 Sep 2023, 22:08
Forum: Feature Requests and Bug Reports
Topic: add imdb as a match option
Replies: 2
Views: 89

Re: add imdb as a match option

:idea: TMDB / TVDB are machine-readable via an API, and so everyone and their mom (every software product at the very least) has long since switched to TMDB / TVDB. :idea: IMDB is a legacy website, made for humans only, does not have an API, and ToS explicitly prohibit Robots and Screen Scraping . T...
by rednoah
25 Sep 2023, 19:37
Forum: Help and Support
Topic: Rename Series Folders - Cannot get property 'name' on null object
Replies: 4
Views: 96

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
25 Sep 2023, 17:36
Forum: Help and Support
Topic: Rename Series Folders - Cannot get property 'name' on null object
Replies: 4
Views: 96

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
25 Sep 2023, 07:31
Forum: Scripting and Automation
Topic: Naming formats - using a function on the entire file name
Replies: 3
Views: 162

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
25 Sep 2023, 07:16
Forum: unRAID & docker
Topic: Trying to Find a Workflow for Renaming Music Videos
Replies: 5
Views: 121

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
25 Sep 2023, 06:29
Forum: Ubuntu & Desktop Linux
Topic: Rename episodes with multiple segments if there aren't airdates which match
Replies: 13
Views: 384

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
25 Sep 2023, 06:25
Forum: Episode / Movie Naming Scheme
Topic: Comparison between series total episodes and season episodes
Replies: 2
Views: 88

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
24 Sep 2023, 18:09
Forum: unRAID & docker
Topic: Trying to Find a Workflow for Renaming Music Videos
Replies: 5
Views: 121

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
24 Sep 2023, 17:49
Forum: Ubuntu & Desktop Linux
Topic: Rename episodes with multiple segments if there aren't airdates which match
Replies: 13
Views: 384

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
24 Sep 2023, 17:10
Forum: Episode / Movie Naming Scheme
Topic: How do I match information from anywhere in the file path?
Replies: 4
Views: 75

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
24 Sep 2023, 16:26
Forum: unRAID & docker
Topic: Trying to Find a Workflow for Renaming Music Videos
Replies: 5
Views: 121

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
24 Sep 2023, 15:38
Forum: Ubuntu & Desktop Linux
Topic: Rename episodes with multiple segments if there aren't airdates which match
Replies: 13
Views: 384

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
24 Sep 2023, 13:01
Forum: Episode / Movie Naming Scheme
Topic: How do I match information from anywhere in the file path?
Replies: 4
Views: 75

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
24 Sep 2023, 12:01
Forum: Episode / Movie Naming Scheme
Topic: Match Single Genre Documentary Movies
Replies: 4
Views: 57

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
24 Sep 2023, 11:15
Forum: Episode / Movie Naming Scheme
Topic: Match Single Genre Documentary Movies
Replies: 4
Views: 57

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
24 Sep 2023, 10:43
Forum: Scripting and Automation
Topic: Script not running on Windows 11 Task Scheduler
Replies: 2
Views: 61

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
24 Sep 2023, 09:17
Forum: Scripting and Automation
Topic: Suball Script not working when connected to Nord VPN
Replies: 13
Views: 292

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
24 Sep 2023, 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: 54

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
24 Sep 2023, 07:09
Forum: Scripting and Automation
Topic: Suball Script not working when connected to Nord VPN
Replies: 13
Views: 292

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