Search found 15 matches

by xaeiou
10 Feb 2022, 15:01
Forum: Feature Requests and Bug Reports
Topic: Feature Request: Improved subtitle matching
Replies: 2
Views: 590

Re: Feature Request: Improved subtitle matching - RESOLVED in BETA FileBot 4.9.5 (r9099)

This particular issue might have been fixed already in the latest beta. Yup it is fixed in BETA FileBot 4.9.5 (r9099). I tested it on the full 9 seasons of Seinfeld (over 5800 files with the full sub pack) and it worked perfectly. Thanks very much! I've made a note to check the beta next time I fin...
by xaeiou
10 Feb 2022, 04:59
Forum: Feature Requests and Bug Reports
Topic: Feature Request: Improved subtitle matching
Replies: 2
Views: 590

Feature Request: Improved subtitle matching

Hi, This is a feature request (or possibly a bug report) to improve matching logic when there are multiple instances of subtitles with the same language. To distill the situation to a simple example consider this tree: $ find Seinfeld.S01-S09/ Seinfeld.S01-S09/ Seinfeld.S01-S09/Seinfeld.S01 Seinfeld...
by xaeiou
30 Aug 2021, 12:42
Forum: Episode / Movie Naming Scheme
Topic: groovy ordinal suffix (i.e. "1st" "2nd" "3rd"...etc)
Replies: 4
Views: 8379

Re: groovy ordinal suffix (i.e. "1st" "2nd" "3rd"...etc)

That works great!

Also I can see how to use this as a template to integrate other functionality from a few bash scripts I have into my Groovy format file.

Thanks very much :D
by xaeiou
30 Aug 2021, 05:54
Forum: Episode / Movie Naming Scheme
Topic: groovy ordinal suffix (i.e. "1st" "2nd" "3rd"...etc)
Replies: 4
Views: 8379

Re: groovy ordinal suffix (eg "20th" "31st" etc)

Thanks, as always your response is much appreciated, and I'll read through the fuller java documentation. Googling around I see a few pre-made functions people have come up with in various languages (java included), and as you say they are 10+ lines to handle the basic cases and longer if you handle...
by xaeiou
30 Aug 2021, 03:41
Forum: Episode / Movie Naming Scheme
Topic: groovy ordinal suffix (i.e. "1st" "2nd" "3rd"...etc)
Replies: 4
Views: 8379

groovy ordinal suffix (i.e. "1st" "2nd" "3rd"...etc)

Sometimes I want to add an ordinal suffix to a title - most often in dates, but it can be in other fields. I've played around with a few ways to do this, but not yet found an elegant way to do it in Groovy - but then I'm still a Groovy newbie :D Specifically for dates, I found this pretty good summa...
by xaeiou
22 Apr 2021, 05:02
Forum: Feature Requests and Bug Reports
Topic: Additional or free form of "--order" option?
Replies: 2
Views: 4097

Re: Additional or free form of "--order" option?

According to the URL, this listing is indeed DVD order. However, the API response only includes episodes that are part of the main order with DVD numbers attached to them, and won't include episodes that are only part custom order. The latter case wasn't possible until recent introduction of custom...
by xaeiou
22 Apr 2021, 01:51
Forum: Feature Requests and Bug Reports
Topic: Additional or free form of "--order" option?
Replies: 2
Views: 4097

Additional or free form of "--order" option?

Hi, I think this may be a feature request, or perhaps a need for hint on more sophisticated use of the CLI. I came across this entry on TVDB: https://www.thetvdb.com/series/long-way-down/seasons/dvd/1 The episode order is listed under "Extended" or "Extended Version". Using "--order DVD" doesn't wor...
by xaeiou
21 Dec 2020, 04:35
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 889
Views: 393737

Re: How about sharing our format expressions?

A special case for replacing '/' (often used on TVDB for titles of combined episodes etc) with '⁄ ', as noted by rednoah here: https://www.filebot.net/forums/viewtopic.php?f=5&t=12343 Top-level bindings such as {t} strip / slash implicitly, among other sanitation operations. However, you can use {ep...
by xaeiou
21 Dec 2020, 04:19
Forum: Episode / Movie Naming Scheme
Topic: Problem replacing Forward Slash / in Filenames
Replies: 5
Views: 5398

Re: Problem replacing Forward Slash / in Filenames

Top-level bindings such as {t} strip / slash implicitly, among other sanitation operations. However, you can use {episode.title} to access the raw value, which may contain / slash, may be infinitely long, etc. That works perfectly thank as always for your fast response. I'll add a note with appropr...
by xaeiou
20 Dec 2020, 23:10
Forum: Episode / Movie Naming Scheme
Topic: Problem replacing Forward Slash / in Filenames
Replies: 5
Views: 5398

Problem replacing Forward Slash / in Filenames

Hi, As we know, the forward slash is used quite often on TVDB episode titles. Many people choose to substitute another character, and I want to do that too, but replace it with a similar looking unicode character according to the filter described here: https://www.filebot.net/forums/viewtopic.php?f=...
by xaeiou
04 Dec 2020, 01:14
Forum: Episode / Movie Naming Scheme
Topic: How about sharing our format expressions?
Replies: 30
Views: 435635

Re: How about sharing our format expressions?

Here is my format expression replacing characters illegal on the Windows filesystem with similar looking unicode characters. I don't use Windows, but I do share files from my Linux NAS via samba - this format is necessary for the samba clients to see the filenames correctly, otherwise they will be t...
by xaeiou
02 Dec 2020, 09:29
Forum: Episode / Movie Naming Scheme
Topic: Replace invalid Windows filename characters with unicode "equivalents"
Replies: 3
Views: 4805

Re: Replace invalid Windows filename characters with unicode "equivalents"

Thanks. I'm new to groovy, I didn't realise you could combine replaces like that. :!: Do make sure to avoid using right-to-left character as replacement, as that will result is really funky cursor movement that will be utterly incomprehensible to non-technical users. Yes, you're right. I have lots o...
by xaeiou
02 Dec 2020, 08:33
Forum: Episode / Movie Naming Scheme
Topic: Replace invalid Windows filename characters with unicode "equivalents"
Replies: 3
Views: 4805

Re: Replace invalid Windows filename characters with unicode "equivalents"

Here is my format for the above (including my preferred change for "?"), prefixed here with the string I used to test the replaces: {'<>:"/\\|?*'.replace('<', '﹤').replace('>', '﹥').replace(':', 'ː').replace('"', '“').replace('/', '⁄').replace('\\', '∖').replace('|', '⼁').replace('?', '?').replace('...
by xaeiou
02 Dec 2020, 00:32
Forum: Episode / Movie Naming Scheme
Topic: Replace invalid Windows filename characters with unicode "equivalents"
Replies: 3
Views: 4805

Replace invalid Windows filename characters with unicode "equivalents"

Hi, I read through this excellent summary of formatting rules pinned here: https://www.filebot.net/forums/viewtopic.php?f=5&t=2 There are rules in that thread which replace characters invalid in the Windows filenames with more regular characters (eg ":" to "-"). However, unless I missed it, there ar...
by xaeiou
22 Oct 2019, 06:34
Forum: Synology & QNAP & Embedded Linux
Topic: [README] Unsupported class file major version 57
Replies: 24
Views: 27846

Re: Unsupported class file major version 57

I had the same problem as the thread starter and can confirm 4.8.6 fixes it. Thanks! I installed manually via DSM GUI (DSM 6.2.2-24922 Update 3) without any issues - didn't need to install via the script. Maybe this thread is worth pinning as I expect almost everyone on Synology is going to hit this...