Search found 49 matches

by jchh
22 Jul 2024, 12:06
Forum: macOS
Topic: extracting part of {folder}
Replies: 6
Views: 7785

Re: extracting part of {folder}

awesome - thanks!

I like rabbit holes!

could you expand a little on `f[-2]` - I can't seem to get that to work
by jchh
22 Jul 2024, 10:31
Forum: macOS
Topic: extracting part of {folder}
Replies: 6
Views: 7785

Re: extracting part of {folder}

thanks!

I couldn't find any reference to the `.path` element - where can I learn more about this and any others like it?
by jchh
21 Jul 2024, 18:55
Forum: macOS
Topic: extracting part of {folder}
Replies: 6
Views: 7785

Re: extracting part of {folder}

OK, got it.

`f.path.match()`

I was trying `f.match()` not realising that `path` had to be used.
by jchh
21 Jul 2024, 18:14
Forum: macOS
Topic: extracting part of {folder}
Replies: 6
Views: 7785

extracting part of {folder}

Hi, I'd like to extract a specific folder name within {folder} that will always be one of 3 names, how would I go about doing it? For example, if {folder} gives me: `~/Downloads/example1/Movies/<name of movie>` and the part I want is always one of `example1`, `example2`, `example3`, how can I ...
by jchh
07 Nov 2023, 10:41
Forum: macOS
Topic: If embedded subs exists then...
Replies: 3
Views: 6145

Re: If embedded subs exists then...

Just seen this - thanks!
by jchh
13 Sep 2023, 13:10
Forum: macOS
Topic: If embedded subs exists then...
Replies: 3
Views: 6145

Re: If embedded subs exists then...

OK, for anyone that is interested, this appears to work:

Code: Select all

{textLanguages ? " $textLanguages.ISO2" : null }
by jchh
13 Sep 2023, 12:50
Forum: macOS
Topic: If embedded subs exists then...
Replies: 3
Views: 6145

If embedded subs exists then...

Hi,

Can I do something like the following?

Code: Select all

{textLanguages == undefined ? null: " $textLanguages.ISO2" }
I realise that 'undefined' does not work, neither does 'null'.
Is there a way?
thanks!
by jchh
04 Dec 2021, 13:37
Forum: Help and Support
Topic: Suppressed: For Input String: "6ch"
Replies: 4
Views: 2841

Re: Suppressed: For Input String:

agh, got it - thanks!

yes, I was trying to do the 2nd thing:

Code: Select all

{ af > 2 ? " [$af]" : null }
...and learn at the same time :D
by jchh
04 Dec 2021, 13:21
Forum: Help and Support
Topic: Suppressed: For Input String: "6ch"
Replies: 4
Views: 2841

Re: Suppressed: For Input String:

thanks!

To clarify, both of the following integer checks work:

Code: Select all

{af == 6 ? '6ch' : null}
{af ==~ 6 ? '6ch' : null}
But only the 'not' check works for strings?

Code: Select all

{af==~/2ch/? "]":" [$af]"}
by jchh
04 Dec 2021, 11:52
Forum: Help and Support
Topic: Suppressed: For Input String: "6ch"
Replies: 4
Views: 2841

Suppressed: For Input String: "6ch"

Hi,

What am I doing wrong with this snippet?

Code: Select all

{af==/6ch/? '6ch':null}
I get the error: Suppressed: For Input String: "6ch"

I have also tried:

Code: Select all

{if  (bitdepth==/6ch/) ''}
{af.matches(/6ch/) ? " [$af]":""}

thanks!
by jchh
18 Sep 2021, 16:42
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1036
Views: 1032041

Re: [SNIPPET] Sort into A-Z folders

Brilliant - thanks for your help!
by jchh
18 Sep 2021, 16:29
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1036
Views: 1032041

Re: [SNIPPET] Sort into A-Z folders

that's fantastic - thanks.

how do I either/or that with my snippet?
by jchh
18 Sep 2021, 14:55
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1036
Views: 1032041

Re: [SNIPPET] Sort into A-Z folders

...although I'd like to put films starting with a number (eg: 28 days later) into the folder "A-Z". Any tips on how I could incorporate that into my snippet would be appreciated.

[edit]: that was a typo - I'd want to put in into a folder called 0-9
by jchh
18 Sep 2021, 14:41
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1036
Views: 1032041

Re: [SNIPPET] Sort into A-Z folders

I got this to work by myself before realising {az} existed, but... it files "Riddick (2013)" into /C/ (presumably because the 1st film was "The Chronicles of Riddick") so I am not sure if this is a bug or not. I would prefer to file it into /R/ . The second snippet works except movies starting with ...
by jchh
07 May 2021, 10:11
Forum: macOS
Topic: Matching right episode, wrong title
Replies: 6
Views: 16134

Re: Matching right episode, wrong title

that worked - thanks!
by jchh
07 May 2021, 10:05
Forum: macOS
Topic: Matching right episode, wrong title
Replies: 6
Views: 16134

Re: Matching right episode, wrong title

Hi,

Clearing the cache made no difference.
by jchh
07 May 2021, 09:56
Forum: macOS
Topic: Matching right episode, wrong title
Replies: 6
Views: 16134

Re: Matching right episode, wrong title

Sorry, any reference to season 4 was my mistake. I meant episode 4. Filebot sees it different to you... The episode panels shows as follows (3 and 4 are swapped): QI XL - 13x01 - Medley of Maladies QI XL - 13x02 - Military Matters QI XL - 13x03 - Miscellany QI XL - 13x04 - M-Places QI XL - 13x05 ...
by jchh
07 May 2021, 09:38
Forum: macOS
Topic: Matching right episode, wrong title
Replies: 6
Views: 16134

Matching right episode, wrong title

FileBot is matching QI XL s13e03 to the correct episode number, but the title of s04.

The TVDB shows the title correctly so why might this be happening?

[Edit: s04 was a typo - should have been e04]
by jchh
27 Mar 2021, 10:42
Forum: macOS
Topic: Match confusion
Replies: 13
Views: 23987

Re: Match confusion

brilliant - thanks!
by jchh
27 Mar 2021, 08:42
Forum: macOS
Topic: Match confusion
Replies: 13
Views: 23987

Re: Match confusion

agh, I see now - thanks.

I wasn't getting that dialogue screen - it was going directly to renaming with "QI QS". Is there a way to force this screen?
by jchh
26 Mar 2021, 08:51
Forum: macOS
Topic: Match confusion
Replies: 13
Views: 23987

Re: Match confusion

You can force manual query input & selection by holding SHIFT when clicking on TheTVDB. Thanks, doing this and selecting "QI" worked - and now both "QI" and "QI QS" are being found correctly. if you confirm this "QI ➔ QI XS" mapping with Image enabled I cannot find this "all" button. Where is it?
by jchh
25 Mar 2021, 12:38
Forum: macOS
Topic: Match confusion
Replies: 13
Views: 23987

Re: Match confusion

OK, there were 3 episodes: ~/Downloads/downloads - GiA/QI XS/QI XS (2020) - S01E01 - Quite Internal.mp4 ~/Downloads/downloads - GiA/QI XS/QI XS (2020) - S01E02 - International.mp4 ~/Downloads/downloads - GiA/QI XS/QI XS (2020) - S01E03 - Insubordinate.mp4 ...I simply renamed them normally. But ...
by jchh
25 Mar 2021, 07:49
Forum: macOS
Topic: Match confusion
Replies: 13
Views: 23987

Re: Match confusion

Right. That's what it did to me ...worked perfectly until I renamed a couple of episodes from the show "QI XS" and then it went wrong.

Can you try renaming a show from "QI XS" and then see if "QI" still works for you?
by jchh
24 Mar 2021, 13:44
Forum: macOS
Topic: Match confusion
Replies: 13
Views: 23987

Re: Match confusion

and original name...

QI (2003) - s09e12 - Illumination_edit.ts
by jchh
24 Mar 2021, 13:43
Forum: macOS
Topic: Match confusion
Replies: 13
Views: 23987

Re: Match confusion

Hi - Sorry - just seen this.

/Volumes/media/TV DVR Hidden/QI (2003)/Season 09