Search found 19 matches

by mpegman
25 Mar 2024, 17:39
Forum: macOS
Topic: how do I avoid : being translated to - in plex naming
Replies: 3
Views: 177

Re: how do I avoid : being translated to - in plex naming

is there a possibility to overwrite the name before it goes into plex ?

Groovy: Select all

n=n.replace(' - ','')
					
(~ plex ** var)
by mpegman
24 Mar 2024, 12:58
Forum: macOS
Topic: how do I avoid : being translated to - in plex naming
Replies: 3
Views: 177

how do I avoid : being translated to - in plex naming

The IMDB movie The Naked Gun: From the Files of Police Squad! (1988) {imdb-tt0095705} as an example is translated in the plex variable as The Naked Gun - From the Files of Police Squad! (1988) How do I avoid this and simply get The Naked Gun From the Files of Police Squad! (1988) {imdb-tt0095705} / ...
by mpegman
27 May 2023, 20:16
Forum: macOS
Topic: conversion in rename slow
Replies: 3
Views: 1028

conversion in rename slow

Hi, is it normal that the conversion from the identified movie to the correctly formatted filename is taking +/- a second per entry? Filebot identified that the movie is A Bright Summer Day (1991) now it needs to reformat that to /Volumes/video/1080p/B/A Brighter Summer Day (1991) {imdb-tt0101985}/A...
by mpegman
16 Mar 2023, 20:59
Forum: Episode / Movie Naming Scheme
Topic: Problem with the {tmdb-$id} or the {tvdb-$id}
Replies: 12
Views: 3461

Re: Problem with the {tmdb-$id} or the {tvdb-$id}

thank you rednoah you are a star!
by mpegman
06 Mar 2023, 19:00
Forum: Episode / Movie Naming Scheme
Topic: Problem with the {tmdb-$id} or the {tvdb-$id}
Replies: 12
Views: 3461

Re: Problem with the {tmdb-$id} or the {tvdb-$id}

An example of this is : Wheeler Dealers (2003) [tmdb-10710]/Season 11/Wheeler Dealers - S11E15 - Archive Show - EN - [Audio - 2.0 AAC [EN]] [Video - MICROHD 1080P H264 8 BIT [NOSUB] ].mkv {"@type":"Episode","seriesName":"Wheeler Dealers","season":11,...
by mpegman
06 Mar 2023, 16:50
Forum: Episode / Movie Naming Scheme
Topic: Problem with the {tmdb-$id} or the {tvdb-$id}
Replies: 12
Views: 3461

Re: Problem with the {tmdb-$id} or the {tvdb-$id}

I had the same problem. I solved it following way.

Code: Select all

var =  any { if (db.AniDB.id) '[anidb-'+{db.AniDB.id}+']' } {'[tvdbid-'+db.TheTVDB.id+']'} {'[tmdb-'+tmdbid+']'} 
now I still have a question. When I search using tmdb, can I still retrieve in some way the tvdb id for the series?

thanks!
by mpegman
05 Mar 2023, 13:02
Forum: Episode / Movie Naming Scheme
Topic: trying to use info.certifications
Replies: 8
Views: 741

Re: trying to use info.certifications

many thanks all for your suggestions. in the end I made a combination of this maybe not the most beautiful code... { def folder if ( original =~ /(?i:NLKIDS)/ ) { folder = " kids" } else if ( info.network =~ /(?i:één|een|vtm|vt4|canvas|streamz|play4|play5|play6|play7|vtm2|vtm3|vtm4|vrt|2be...
by mpegman
05 Mar 2023, 12:55
Forum: macOS
Topic: group getting lost
Replies: 2
Views: 804

Re: group getting lost

thank you rednoah !
by mpegman
05 Mar 2023, 11:53
Forum: Help and Support
Topic: Variables in formats
Replies: 6
Views: 3674

Re: Variables in formats

how do you go outside {} with the variable range?

Code: Select all

{def myCondition = 'English' in ['English', 'German']; myCondition ? 'Y' : 'N'}
{ 
	myCondition // <--- this seems to have lost its value
}
by mpegman
03 Mar 2023, 19:52
Forum: Help and Support
Topic: code help : plex + upper / replace ...
Replies: 1
Views: 335

code help : plex + upper / replace ...

I am looking for some coding help : is there a possibility to have the output of the plex variable in uppercase ? is it possible to have other operators run like .replace or .replaceAll? following does not seem to work ~ db.TheTVDB.plex ** any{' ('+y+') '}{' (0000) '} * "[tvdbid-$id]".uppe...
by mpegman
03 Mar 2023, 19:09
Forum: Episode / Movie Naming Scheme
Topic: Release Groups {group}
Replies: 682
Views: 1584348

Re: Release Groups {group}

Please add

SLIGNOME
by mpegman
03 Mar 2023, 19:07
Forum: macOS
Topic: group getting lost
Replies: 2
Views: 804

group getting lost

Hi, I rename a file multiple times using filebot. however somehow the group info seems to get lost, although it is available in the original filename somehow this worked with an earlier version of my script. https://snipboard.io/CxeDbv.jpg Manual Import/Lost (2004) {imdb-tt0411008}/Season 01/Lost (2...
by mpegman
15 Feb 2023, 00:53
Forum: macOS
Topic: Binding "group": undefined
Replies: 4
Views: 917

Re: Binding "group": undefined

I get these warnings on undefined variables quite often. { subt }{ hdr }{ group } all of them are examples... is this normal? On more query on the bound variables. I read in the documentation of 4.9.4 that country binding is added. • Added {country} production country binding as I use 4.9.7 I should...
by mpegman
15 Feb 2023, 00:38
Forum: macOS
Topic: Binding "group": undefined
Replies: 4
Views: 917

Re: Binding "group": undefined

I notice indeed that the group is not in the metadata when I press F7. Is there a way to access this matter metadata and store data in it? Alloo bij de Wegpolitie {tvdb-288592}/Season 04/Alloo bij de Wegpolitie - S04E06 - Aflevering 6 (2018-11-29) [VTM] [0.0★][Audio - Dut 2.0 AAC][Video - MicroHD 10...
by mpegman
14 Feb 2023, 11:32
Forum: Episode / Movie Naming Scheme
Topic: trying to use info.certifications
Replies: 8
Views: 741

Re: trying to use info.certifications

Could following notation be more correct to achieve what I want to do?

Code: Select all

{ 
	any{ info.certifications*.value*.findAll(/\d+/).flatten()*.toInteger().average().toInteger() }{ info.certifications =~ /(PG|A|TP|U)/ ? 12 : 99} < 14 ? 'Kids Movies/' : 'Movies/'
	} 
	
by mpegman
14 Feb 2023, 11:24
Forum: Episode / Movie Naming Scheme
Topic: trying to use info.certifications
Replies: 8
Views: 741

Re: trying to use info.certifications

It does not provide an error. It's more that the programming logic is not correct I think.

I would expect the first output to provide as output 'Kids Movies/The Movie' as it has a GB=U certification
by mpegman
13 Feb 2023, 21:02
Forum: macOS
Topic: Binding "group": undefined
Replies: 4
Views: 917

Binding "group": undefined

There is a similar post on this from 2020, but I didn't find a solution in there. I'm not able to retrieve the group of a file (although it is specified in the filename)... I'm now working around it by pattern matching the filename and putting the filename in the new name. {if (original =~ /NLKIDS/ ...
by mpegman
13 Feb 2023, 19:25
Forum: Episode / Movie Naming Scheme
Topic: trying to use info.certifications
Replies: 8
Views: 741

Re: trying to use info.certifications

Thank you all for your support... I seem to still need to learn some basics about the language (I used to have some programming experience in the past long time ago) { info.certifications } { info.certifications*.value*.findAll(/\d+/).flatten()*.toInteger().average().toInteger() < 14 ? 'Kids Movies/...
by mpegman
11 Feb 2023, 13:47
Forum: Episode / Movie Naming Scheme
Topic: trying to use info.certifications
Replies: 8
Views: 741

trying to use info.certifications

Hi, I'm trying to use the info.certifications to determine if a movie is for kids or for adults for some reason it fails to use the OR statements /completed/outputmovies( { if ( info.certifications.NL.contains('AL') || Double.parseDouble(info.certifications.DE) < 14 || Double.parseDouble(info.certif...