Search found 9 matches

by SnakeBonD
14 Dec 2023, 18:45
Forum: Windows
Topic: Use {episodelist} binding to count episodes per season and check if a season is complete via the {model} binding
Replies: 4
Views: 1290

Re: Use {episodelist} binding to count episodes per season and check if a season is complete via the {model} binding

It works well with normal episodes, but when there are double episodes it returns me an incomplete season because the number of files is not good.
Image
Is there a solution for this?
by SnakeBonD
18 Jul 2023, 00:19
Forum: Episode / Movie Naming Scheme
Topic: Movie Renaming Expression for "Studio" ?
Replies: 17
Views: 5160

Re: Movie Renaming Expression for "Studio" ?

et voila : {file.path[0]}:/_MOVIES/ {any {def anime = null if (info.productionCompanies =~ /Toei Animation/) anime = 'ANIMATION' else if (info.keywords =~ /live action and animation/) anime = 'ANIMATION' else if (info.keywords =~ /cartoon/) anime = 'ANIMATION' else if (genre =~ /Animation/) anime = ...
by SnakeBonD
17 Jul 2023, 19:24
Forum: Episode / Movie Naming Scheme
Topic: Movie Renaming Expression for "Studio" ?
Replies: 17
Views: 5160

Re: Movie Renaming Expression for "Studio" ?

Great news !
You reduced 200 lines of code to 15 lines! Thanks, that will make my job easier.
I didn't know, it will be easier to use an external file.
by SnakeBonD
17 Jul 2023, 15:53
Forum: Episode / Movie Naming Scheme
Topic: Movie Renaming Expression for "Studio" ?
Replies: 17
Views: 5160

Re: Movie Renaming Expression for "Studio" ?

Yep, I think use that { if (info.productionCompanies =~ /DC Films|DC Comics|DC Entertainment/) return '/STUDIO/DC─COMICS/'+ {collection .replaceAll(/[*\s]+/, " ") .replaceAll(/[`´‘’ʻ""“”.]/, "") .replaceAll(/[:*?"<()>|?]/) .replaceAll(/-/, "") .replaceAll...
by SnakeBonD
17 Jul 2023, 13:18
Forum: Episode / Movie Naming Scheme
Topic: Movie Renaming Expression for "Studio" ?
Replies: 17
Views: 5160

Re: Movie Renaming Expression for "Studio" ?

I found another solution. I put priority studios first with any function: {// Classement des films par STUDIO, COLLECTION ou GENRE any {//Ranking by priority studios info.productionCompanies*.match(/DC Films/ : '/STUDIO/DC─COMICS/').find()} {//Ranking by others studios info.productionCompanies*.matc...
by SnakeBonD
17 Jul 2023, 12:53
Forum: Episode / Movie Naming Scheme
Topic: Movie Renaming Expression for "Studio" ?
Replies: 17
Views: 5160

Re: Movie Renaming Expression for "Studio" ?

Thanx rednoah, it's work for prioritize, but expression if word in need have exactly same word. Can I use more than one by request or I need one by one ? if ('DC Films, DC Entertainment' in info.productionCompanies) return '/STUDIO/DC─COMICS/' if ('DC Films' in info.productionCompanies) return '/STU...
by SnakeBonD
17 Jul 2023, 11:12
Forum: Episode / Movie Naming Scheme
Topic: Movie Renaming Expression for "Studio" ?
Replies: 17
Views: 5160

Re: Movie Renaming Expression for "Studio" ?

I try to classify my movies by 'STUDIO' like this : {info.productionCompanies*.match( /DC Films/ : '/STUDIO/DC─COMICS/', /Warner Bros. Pictures/ : '/STUDIO/WARNER BROS/' ).find() } Example of Aquaman {info.productionCompanies } [ Warner Bros. Pictures , The Safran Company, DC Films ] The script clas...
by SnakeBonD
23 Jan 2022, 16:07
Forum: Episode / Movie Naming Scheme
Topic: How about sharing our format expressions?
Replies: 33
Views: 494145

Re: How about sharing our format expressions?

Hi, For my first message, I would like to thank the FileBot developers for this application, as well as all members of this forum for their sharing of examples. ;) I spent a lot of time in this forum, because there are many ideas to find a solution for each way to rename media files. :idea: Here is ...