Search found 48 matches

by esullivan
20 Dec 2023, 17:08
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Put the The at the end (but before the year) and format special episodes with S00E01

Almost certainly. Removing the "The" is already problematic, but adding at the end just makes things not match the database. If you modify the name by removing the "The" at the beginning then you definitely want to add {tvdb-12345} ID tags so that Plex can use the numeric ID ins...
by esullivan
20 Dec 2023, 16:02
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Put the The at the end (but before the year) and format special episodes with S00E01

rednoah wrote: 20 Dec 2023, 16:00 If you're organizing files for Kodi / Plex / etc then I would strongly recommend not adding ", The" between name and year as that will almost certainly make file names not machine-readable.
Yeah it is for Plex. I was assuming that it would cause issues, hence reaching out.
by esullivan
20 Dec 2023, 15:59
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Put the The at the end (but before the year) and format special episodes with S00E01

You can probably do something like this, i.e. remove any trailing (...) at the end of the String value if any: { n.replaceTrailingBrackets().sortName('$2, $1') } ({y}) ** Note that this code will also remove the (US) in Coupling (US) Thanks. I think I might just stick with stripping the "the\a...
by esullivan
20 Dec 2023, 15:49
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Put the The at the end (but before the year) and format special episodes with S00E01

Putting the The at the end is troublesome if you want to put the The after the name but before the year, so I recommend simply not doing that: { ny } or stripping the The at the beginning and not putting it somewhere else: { ny.sortName() } :idea: Adding a , The between the name and the year is of ...
by esullivan
19 Dec 2023, 17:36
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Put the The at the end (but before the year) and format special episodes with S00E01

If I hear you right, specials are likely best to handle manually? That's fine if so. Thanks!!
by esullivan
19 Dec 2023, 17:27
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Put the The at the end (but before the year) and format special episodes with S00E01

So instead of:

Code: Select all

{'s'+s.pad(2)}.e{e.pad(2)}.{t}
I would use:

Code: Select all

{s00.e00}.{t}
Is that right?
by esullivan
19 Dec 2023, 17:24
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Put the The at the end (but before the year) and format special episodes with S00E01

Is there a good way for the format to know? An "if" statement? I can look it up in the docs, if you can do an if. Thanks
by esullivan
19 Dec 2023, 17:21
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Put the The at the end (but before the year) and format special episodes with S00E01

Looks like it pulled the 162 "episode" number. Is that usable in any way in my current format?
by esullivan
19 Dec 2023, 17:09
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Help with two things

Thanks Red. I had figured the first part out and it's what you said. For the second part, I am using TVMaze and it has a season and episode as far as I can tell, it's listed as "S00E162" unless the backend data that is actually pulled does not reflect that?
by esullivan
19 Dec 2023, 14:59
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Re: Help with two things

I think I figured out the first issue, with the year.

Replacing

Code: Select all

{n.sortName('$2, $1')} ({y})
With

Code: Select all

{ny.sortName('$2, $1')}
by esullivan
19 Dec 2023, 14:11
Forum: Episode / Movie Naming Scheme
Topic: Put the The at the end (but before the year) and format special episodes with S00E01
Replies: 21
Views: 2920

Put the The at the end (but before the year) and format special episodes with S00E01

Morning and happy Tuesday! To start, this is my current format: M:\TV\{n.sortName('$2, $1')} ({y})\{regular ? 'Season' + s.pad(2) : 'Specials'}\{'s'+s.pad(2)}.e{e.pad(2)}.{t} I current would like help changing two things. 1. Doctor Who is a good example, the title when pulling from The TVDB is Docto...
by esullivan
14 Dec 2021, 15:51
Forum: Feature Requests and Bug Reports
Topic: log4j
Replies: 13
Views: 7114

Re: log4j

If you're not limited to built-in PowerShell command, that a dedicated tool will work much better, and also be able to find log4j patterns within nested archives. I tried running that command on the C drive. Took 25 minutes before I stopped it. I am using a combo of the two. The Powershell command ...
by esullivan
14 Dec 2021, 15:28
Forum: Feature Requests and Bug Reports
Topic: log4j
Replies: 13
Views: 7114

Re: log4j

You can also use this on any jar files you found. From a security company, works well to double check

https://github.com/mergebase/log4j-detector
by esullivan
14 Dec 2021, 15:02
Forum: Feature Requests and Bug Reports
Topic: log4j
Replies: 13
Views: 7114

Re: log4j

I found that PS command yesterday, thanks. You said you had a script to search inside the jar file? Yes, the select-string "JndiLookup.class" $_ part does that. It'll just check the binary content for a "JndiLookup.class" character sequence, and that works since zip files don't ...
by esullivan
14 Dec 2021, 14:17
Forum: Feature Requests and Bug Reports
Topic: log4j
Replies: 13
Views: 7114

Re: log4j

I found that PS command yesterday, thanks. You said you had a script to search inside the jar file?

We use PDQ, they wrote a script to check against known vulnerable hashes: https://www.pdq.com/blog/log4j-vulnerab ... 021-44228/
by esullivan
14 Dec 2021, 13:54
Forum: Feature Requests and Bug Reports
Topic: log4j
Replies: 13
Views: 7114

Re: log4j

HI, I am not a java developer by a long shot but in the commons-logging.jar Filebot is using, there is at least a reference for LOG4J I think in form of a hashtable. What use does this function have if you don't mind explaining? Or is this just an underlying lib you are using? I just ran a script w...
by esullivan
14 Dec 2021, 13:38
Forum: Feature Requests and Bug Reports
Topic: log4j
Replies: 13
Views: 7114

Re: log4j

@rednoah thanks for looking into that a little more. My entire yesterday and my entire today was and will be spent scanning my 800 computers for the java programs and log4j. It just popped into my head that Filebot uses Java.
by esullivan
14 Dec 2021, 01:05
Forum: Feature Requests and Bug Reports
Topic: log4j
Replies: 13
Views: 7114

Re: log4j

Cool thanks.
by esullivan
13 Dec 2021, 17:05
Forum: Feature Requests and Bug Reports
Topic: log4j
Replies: 13
Views: 7114

log4j

Does Filebot use log4j and if so, do you have an updating coming for it?
by esullivan
10 Dec 2021, 00:24
Forum: Scripting and Automation
Topic: Create log of rename?
Replies: 3
Views: 5519

Re: Create log of rename?

I am trying a file I know went missing. I am using TVMaze because I had issues with TVDB showing TBA for many Disney+ shows. This file is Hawkeye, TVDB still shows TBA. TVMaze does not seem to match it at all, just stays blank. Attached is a GIF of what happens when I do this manually. Not sure what...
by esullivan
10 Dec 2021, 00:10
Forum: Scripting and Automation
Topic: Create log of rename?
Replies: 3
Views: 5519

Create log of rename?

I have a powershell script that uses filebot cli. Every now and then a file goes "missing". I see there is an error log but is there a way to write to a log when something is renamed? Just so I can see it was processed by filebot and where filebot put it
by esullivan
10 Nov 2021, 14:19
Forum: Windows
Topic: Folder structure year can double
Replies: 4
Views: 5964

Re: Folder structure year can double

Thanks! I'll play with these suggestions later. Sorry, for some reason I am not getting emails on your replies even though I am subscribed so I am forgetting to check. (edit: I guess you are not subscribed by post, you have to manually do it. I should get replies now.)
by esullivan
09 Nov 2021, 13:11
Forum: Windows
Topic: Folder structure year can double
Replies: 4
Views: 5964

Re: Folder structure year can double

Like I said, I do have the year in the format as I like to see the year of the show. However some times the year is already in the show title that Filebot pulls, so it ends up doubling. I'm not saying it's a "bug" I'm just wondering if you think there is anything that can be added to futur...
by esullivan
09 Nov 2021, 13:05
Forum: Help and Support
Topic: Shift all matches up one
Replies: 3
Views: 9560

Re: Shift all matches up one

Also. I 1000% love that you use Firefly as examples. #MuchLove