Search found 1132 matches

by kim
07 Jul 2021, 20:35
Forum: Episode / Movie Naming Scheme
Topic: HDR Snippet with UTorrent
Replies: 11
Views: 4392

Re: HDR Snippet with UTorrent

{hdr = 'HDR' ? allOf{vf}{af}{vc}{ac}{VIDEO[0].HDR_format_commercial}.join('.') : allOf{vf}{af}{vc}{ac}.join('.')} with { any{allOf{vf}{af}{vc}{ac}{VIDEO[0].HDR_format_commercial}.join('.')} {allOf{vf}{af}{vc}{ac}.join('.')} } this handle error,but if no errors maybe you can get away with only this ...
by kim
07 Jul 2021, 15:14
Forum: Episode / Movie Naming Scheme
Topic: HDR Snippet with UTorrent
Replies: 11
Views: 4392

Re: HDR Snippet with UTorrent

In testing older movies without an HDR field even available it said the field was undefined when I used the double equal. It's works as expected on all files with the single =. use this: { any{allOf{vf}{af}{vc}{ac}{VIDEO[0].HDR_format_commercial}.join('.')} {allOf{vf}{af}{vc}{ac}.join('.')} } FYI: ...
by kim
07 Jul 2021, 01:05
Forum: Episode / Movie Naming Scheme
Topic: HDR Snippet with UTorrent
Replies: 11
Views: 4392

Re: HDR Snippet with UTorrent

Code: Select all

{s00e00}
= e.g. S01E23 NOT S1E23
Gui or not

try

Code: Select all

{sxe}
wrong

Code: Select all

hdr = 'HDR'
ok

Code: Select all

hdr == 'HDR'
by kim
04 Jul 2021, 19:05
Forum: Scripting and Automation
Topic: How can I use a variable from one include() script in another include() script?
Replies: 7
Views: 3499

Re: How can I use a variable from one include() script in another include() script?

main: include ('Constants') println Constants() Constants: def Constants() { String airDateOrderMatcherRegexStatic = /(?i)\b(?<![\.\[(])((S\d{1,2}|\d{1,2})(?>\.|\s)?([ExS]\d{1,4})[_]?(?>v\d{1,2})?)\b(?![\.\])=])/ String airDateOrderMatcherRegexPublic = /(?i)\b(?<![\.\[(])((S\d{1,2}|\d{1,2})(?>\.|\s)...
by kim
04 Jul 2021, 12:39
Forum: Scripting and Automation
Topic: How can I use a variable from one include() script in another include() script?
Replies: 7
Views: 3499

Re: How can I use a variable from one include() script in another include() script?

Including a groovy script in another groovy: https://stackoverflow.com/questions/9136328/including-a-groovy-script-in-another-groovy for global var. to work it needs to like this (outside any function) airDateOrderMatcherRegex = /(?i)\b(?<![\.\[(])((S\d{1,2}|\d{1,2})(?>\.|\s)?([ExS]\d{1,4})[_]?(?>v\...
by kim
11 Jun 2021, 20:14
Forum: Episode / Movie Naming Scheme
Topic: Move "The" to the end
Replies: 3
Views: 2151

Re: Move "The" to the end

are you using GUI or cmd ?

GUI try
replace

Code: Select all

\\s 
with

Code: Select all

\s
cmd

Code: Select all

\\s
https://en.wikipedia.org/wiki/Escape_character
by kim
06 May 2021, 20:49
Forum: Help and Support
Topic: Link key words in title
Replies: 4
Views: 2479

Re: Link key words in title

Looks like the Vegas part is just a location and not a part of the name (show or title) "UFC Vegas" https://www.themoviedb.org/search?query=UFC+Vegas are you using themoviedb or thetvdb ? folder AND filname ? NOTE: probably under movies not tv if using themoviedb https://thetvdb.com/search?query=UFC...
by kim
04 May 2021, 17:32
Forum: Feature Requests and Bug Reports
Topic: Not Matching: Director's Cut (2018)
Replies: 2
Views: 2298

Re: Not Matching: Director's Cut (2018)

Or try
make nfo file in same path
write tt3294732 in file, save then Filebot looks up via the imdb id ;)

https://www.imdb.com/title/tt3294732

sample file:
movie.nfo

Code: Select all

<movie>
  <imdb id='tt3294732'>https://www.imdb.com/title/tt3294732</imdb>
</movie>
by kim
02 May 2021, 16:33
Forum: Episode / Movie Naming Scheme
Topic: Naming files from local PLEX database
Replies: 28
Views: 13608

Re: Naming files from local PLEX database

yeah i'm sorry but i found out too late that there is no filepath exported to work with :/ e.g. <location>/mnt/media/Spielshows/Denn sie wissen nicht was passiert/Denn.sie.wissen.nicht.was.passiert.S03E04.GERMAN.1080p.HDTV.x264-aWake-xpost/awa-desiwiniwapas03e04xd.mkv</location> or ...file="/mnt/me...
by kim
29 Apr 2021, 19:38
Forum: Episode / Movie Naming Scheme
Topic: Naming files from local PLEX database
Replies: 28
Views: 13608

Re: Naming files from local PLEX database

for S00E00 format replace "${n} - ${s}x${e.pad 2} - ${t}" with "${n} - S${s.pad(2)}E${e.pad(2)} - ${t}" e.g. Denn sie wissen nicht, was passiert - S03E04 - Folge 12 btw: if using "location" { // find <part> element for the file at hand def dom = xml('/path/to/library.xml') def part = dom.show.season...
by kim
28 Apr 2021, 16:53
Forum: Episode / Movie Naming Scheme
Topic: Naming files from local PLEX database
Replies: 28
Views: 13608

Re: Naming files from local PLEX database

Looks like most info is there but missing episode id e.g. E04 in S03E04 but the file path maybe has this info like here: { "addedAt": "2020-08-23T22:18:35", "audienceRating": 7.0, "contentRating": null, "duration": null, "durationHuman": "0", "leafCount": 3, "librarySectionID": 63, "librarySectionKe...
by kim
28 Apr 2021, 15:10
Forum: Episode / Movie Naming Scheme
Topic: {y} tag on show with special episodes
Replies: 5
Views: 733

Re: {y} tag on show with special episodes

looks like

Code: Select all

{y}
=
getStartDate().getYear()
so:

Code: Select all

{startDate.year}
vs

Code: Select all

{airdate.year}
change startDate to airdate on {y} = DONE ;)
by kim
28 Apr 2021, 14:50
Forum: Episode / Movie Naming Scheme
Topic: {y} tag on show with special episodes
Replies: 5
Views: 733

Re: {y} tag on show with special episodes

I think emby use a sort of this method we are talking, exluding the specials..and IMHO is the correct way to name a show! the correct way is the way the DB being used is using... my guess is exclude the specials on 99% of the time DB's: imdb thetvdb themoviedb btw: Cobra Kai = 1984 is 100% WRONG "T...
by kim
25 Mar 2021, 16:53
Forum: Feature Requests and Bug Reports
Topic: Format Expressions "source"
Replies: 11
Views: 2892

Re: Format Expressions "source"

NF.NetflixHD
or just
NetflixHD

replace e.g.
WEBRip
by kim
24 Mar 2021, 18:20
Forum: Feature Requests and Bug Reports
Topic: Format Expressions "source"
Replies: 11
Views: 2892

Re: Format Expressions "source"

netflix = NF
file must be named e.g ...NF.WEBRip...
then
{source} = NF.WEBRip
{vs} = WEB-DL

This is how ppl name files on the web ;)
by kim
24 Mar 2021, 13:46
Forum: Feature Requests and Bug Reports
Topic: Format Expressions "source"
Replies: 11
Views: 2892

Re: Format Expressions "source"

the correct is e.g. :

Code: Select all

DSNP.WEBRip
viewtopic.php?f=5&t=11265
by kim
21 Mar 2021, 18:32
Forum: Scripting and Automation
Topic: AMC and the Show "Debris"
Replies: 11
Views: 2910

Re: AMC and the Show "Debris"

Sound like you made an include list not exclude ?

include = lines + "383491 Debris (2021)"
exclude = !lines + "329038 Space Debris (2015)"

only exclude will work for other shows

if correct you need to share the log
by kim
20 Mar 2021, 17:18
Forum: Scripting and Automation
Topic: AMC and the Show "Debris"
Replies: 11
Views: 2910

Re: AMC and the Show "Debris"

You can use e.g. this: --filter "!readLines('Path\\tvdb_excludes.txt').join().findAll(/\d+[^(\d{4})]/)*.toInteger().contains(id)" tvdb_excludes.txt: id Name of TV Show / Movie ------------------------------- 329038 Space Debris (2015) EDIT: [DEPRECATED] readLines() is deprecated. Please use lines() ...
by kim
20 Mar 2021, 17:00
Forum: Scripting and Automation
Topic: AMC and the Show "Debris"
Replies: 11
Views: 2910

Re: AMC and the Show "Debris"

A quick test in GUI:

on 1st run:
problem = group = "afi"
Filebot is not the best a handling if e.g. show name is not 1st...
test remove "afi"

if 2+ run aka = renamed / "tagged":
problem is "tagged" aka xattr info or nfo file
clear xattr
by kim
20 Mar 2021, 01:30
Forum: Scripting and Automation
Topic: AMC and the Show "Debris"
Replies: 11
Views: 2910

Re: AMC and the Show "Debris"

Looks like you are testing on a file that already is "tagged" and renamed

Code: Select all

xattr: [afi-debris.s01e03.1080p.mkv] => [Space Debris - 1x03 - There Be Monsters]

try clear xattr
viewtopic.php?t=324
viewtopic.php?p=5394#p5394
by kim
17 Mar 2021, 14:49
Forum: Windows 10
Topic: Expression to deal with multiple episodes in a single file
Replies: 4
Views: 2719

Re: Expression to deal with multiple episodes in a single file

e.g.

Code: Select all

01x01-03
will fail and detect as only

Code: Select all

01x01
by kim
16 Mar 2021, 18:33
Forum: Windows 10
Topic: Just add title to scene release
Replies: 3
Views: 2768

Re: Just add title to scene release

e.g.

Code: Select all

{fn.before(s00e00) + s00e00 + '.' + t.space('.') + fn.after(s00e00)}
or

Code: Select all

{fn.split(s00e00).inject({ name, attr -> name + s00e00 + '.' + t.space('.') + attr })}