Perfect !
Thank you, this work well !
Search found 9 matches
- 14 Dec 2023, 20:04
- 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: 1313
- 18 Jul 2023, 00:19
- Forum: Episode / Movie Naming Scheme
- Topic: Movie Renaming Expression for "Studio" ?
- Replies: 17
- Views: 5343
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 = ...
- 17 Jul 2023, 19:24
- Forum: Episode / Movie Naming Scheme
- Topic: Movie Renaming Expression for "Studio" ?
- Replies: 17
- Views: 5343
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.
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.
- 17 Jul 2023, 15:53
- Forum: Episode / Movie Naming Scheme
- Topic: Movie Renaming Expression for "Studio" ?
- Replies: 17
- Views: 5343
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...
- 17 Jul 2023, 13:18
- Forum: Episode / Movie Naming Scheme
- Topic: Movie Renaming Expression for "Studio" ?
- Replies: 17
- Views: 5343
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...
- 17 Jul 2023, 12:53
- Forum: Episode / Movie Naming Scheme
- Topic: Movie Renaming Expression for "Studio" ?
- Replies: 17
- Views: 5343
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...
- 17 Jul 2023, 11:12
- Forum: Episode / Movie Naming Scheme
- Topic: Movie Renaming Expression for "Studio" ?
- Replies: 17
- Views: 5343
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...
- 23 Jan 2022, 16:07
- Forum: Episode / Movie Naming Scheme
- Topic: How about sharing our format expressions?
- Replies: 33
- Views: 504721
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 ...