Search found 13 matches

by MrEthernet
21 May 2020, 17:51
Forum: Feature Requests and Bug Reports
Topic: Unintuitive button labels! "Override" vs. "Overwrite"
Replies: 5
Views: 4594

Re: Unintuitive button labels! "Override" vs. "Overwrite"

I see where you're coming from with those labels now. :) Fortunately, the option that overwrites the original file has a red circle 🔴, while the one that doesn't potentially cause a loss of data by replacing a file has a green circle. 🟢 In my opinion, those colours are helpful and intuitive. I'm a b...
by MrEthernet
21 May 2020, 00:53
Forum: Feature Requests and Bug Reports
Topic: Unintuitive button labels! "Override" vs. "Overwrite"
Replies: 5
Views: 4594

Unintuitive button labels! "Override" vs. "Overwrite"

The function of the "Override" button is to replace (i.e. overWRITE) an original file with another one of the same name. Surely, this is an act of overWRITing, rather than of overRIDing? These words sound similar but they're not interchangeable! :D As a new FileBot user who is looking at F...
by MrEthernet
18 May 2020, 20:05
Forum: Episode / Movie Naming Scheme
Topic: Exclude all NFO files during renaming
Replies: 2
Views: 2587

Re: Exclude all NFO files during renaming

Good point. I may as well use the {plex} binding here.

The Filter -> Send to: Rename method works perfectly!

This is my first time using the Filter tab. I wasn't sure what its purpose was before and now I know! :lol:

Image
by MrEthernet
18 May 2020, 08:38
Forum: Episode / Movie Naming Scheme
Topic: Exclude all NFO files during renaming
Replies: 2
Views: 2587

Exclude all NFO files during renaming

This is the format expression I use to rename my movies: D:/Movies/{n.colon(' - ').removeIllegalCharacters()} ({y})/{n.colon(' - ').removeIllegalCharacters()} ({y}) Is it possible to add some code to this, so that any files with a ".nfo" file extension are not renamed? For example: https:/...
by MrEthernet
16 May 2020, 13:49
Forum: Feature Requests and Bug Reports
Topic: [Request] Load window size
Replies: 7
Views: 3611

Re: [Request] Load window size

Whenever I load files into FileBot, I always have to resize the Load window (make it bigger). Is there any way the default size could be bigger (3 or 4 times as big as it is now), or have FileBot remember the size you set the window to? +1 Throwing my hat into the ring! It would be nice if FileBot ...
by MrEthernet
15 May 2020, 13:19
Forum: Scripting and Automation
Topic: How do I use String.removeIllegalCharacters() in my custom format?
Replies: 10
Views: 4202

Re: How do I use String.removeIllegalCharacters() in my custom format?

You're way off base. You need neither Java nor Groovy. FileBot uses these technologies as a platform, and FileBot wouldn't work if these technologies weren't already built into the FileBot installer package. Installing Java and Groovy separately, or not, will generally have no effect on FileBot. Th...
by MrEthernet
14 May 2020, 22:50
Forum: Scripting and Automation
Topic: How do I use String.removeIllegalCharacters() in my custom format?
Replies: 10
Views: 4202

Re: How do I use String.removeIllegalCharacters() in my custom format?

You can inspect Groovy properties for any Object like so: {plex.properties} I'm guessing that to be able to do that, I would need Groovy and the Java SE Development Kit 8 installed? So I went ahead and installed them and I think I'm slowly making progress now! The first thing I noticed was that my ...
by MrEthernet
14 May 2020, 06:29
Forum: Scripting and Automation
Topic: How do I use String.removeIllegalCharacters() in my custom format?
Replies: 10
Views: 4202

Re: How do I use String.removeIllegalCharacters() in my custom format?

You can inspect Groovy properties for any Object like so: {plex.properties} Good to know! :arrow: You can check the code. But running tests on a representative set of files is probably better, because the latter you should be doing anyway. ;) Makes sense. I'll probably use a combination of both. I ...
by MrEthernet
14 May 2020, 01:53
Forum: Scripting and Automation
Topic: How do I use String.removeIllegalCharacters() in my custom format?
Replies: 10
Views: 4202

Re: Scripting help (basic question!)

:arrow: Sounds like you just want to use {plex} though, which will take care of everything implicitly: https://www.filebot.net/forums/viewtopic.php?t=4116 Thanks. I'm using {plex} now. :) Is there any way to view all of the expressions contained within a binding, such as {plex}, in order to see exa...
by MrEthernet
13 May 2020, 03:16
Forum: Scripting and Automation
Topic: How do I use String.removeIllegalCharacters() in my custom format?
Replies: 10
Views: 4202

Re: Scripting help (basic question!)

Would you be able to do the same for the format expression for my movies?

Code: Select all

{n.colon(' - ')} ({y})
by MrEthernet
13 May 2020, 02:49
Forum: Scripting and Automation
Topic: How do I use String.removeIllegalCharacters() in my custom format?
Replies: 10
Views: 4202

Re: Scripting help (basic question!)

{n.removeIllegalCharacters()}{'/' + 'Season '+s.pad(2)}{'/' + n.removeIllegalCharacters()}{' - ' + s00e00.lower()}{' - ' + t.removeIllegalCharacters()} Thank you! That works beautifully. :D btw: but why [b].removeIllegalCharacters()[/b] I put the tags around it to try to emphasize the part that was...
by MrEthernet
13 May 2020, 01:06
Forum: Scripting and Automation
Topic: How do I use String.removeIllegalCharacters() in my custom format?
Replies: 10
Views: 4202

How do I use String.removeIllegalCharacters() in my custom format?

I'm using the following format expression: {n}/{'Season '+s.pad(2)}/{n} - {s00e00.lower()} - {t.removeIllegalCharacters()} It works great so far but I would also like illegal characters in the season name string to be excluded. How can I achieve this? I tried the following, but it didn't work as I p...
by MrEthernet
12 May 2020, 02:14
Forum: Feature Requests and Bug Reports
Topic: Option for automatically validate
Replies: 9
Views: 5849

Re: Option for automatically validate

String.removeIllegalCharacters()

"Strip characters which aren't allowed on Windows platforms from the given filename."