Search found 70 matches

by CHA0SENG7NE
21 Nov 2021, 18:16
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Movie Your Target/{f =~ /(?i)3D|3\.D|3\-D/ ? '3D Movies' : vf =~ /2160p/ ? '4K Movies' : 'Movies'}/{AZ}/ {ny} /{ny} - [{vf} {vc} {hdr} { def codecList = [ 'MP3' : 'MP3', 'PCM' : 'PCM', 'AAC LC' : 'AAC', 'AAC LC SBR' : 'AAC', 'AC 3' : 'AC3', 'AC 3 Dep' : 'EAC3', 'E AC 3' : 'EAC3', 'E AC 3 JOC' : 'EAC...
by CHA0SENG7NE
20 Nov 2021, 16:24
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Hi Renoah After using all the info you have supplied I have a great way (workaround) that im very happy with. I have used the presets function. Initially I run a preset that renames the subtitles to match the file name in the folder with the (digit) on the end. Then I run the next preset which is my...
by CHA0SENG7NE
19 Nov 2021, 11:44
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Thanks for the info Rednoah that was easy. The format is naming how I want it is pickng up the wrong episode. This is set on opportunistic using this format The files are in the f=same folder called Friends \\192.168.0.160\Multimedia\TV Shows/{n}/Season {s00}/{episode}{" [$vf $vc "}{hdr} {...
by CHA0SENG7NE
19 Nov 2021, 10:15
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Hi Rednoah, might seem a strange question but Im unsure how to upload a screenshot?
by CHA0SENG7NE
18 Nov 2021, 17:55
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Rednoah I added this to the format. {subt} {if (f.subtitle) '(' + { fn.matchAll(/\d+/).last() } + ')' } If i try and rename any version of the subititle with the movie it works perfectly. If its only 1 subititle. If i try and rename anymore than 1 with the movie it does not see them, does the code r...
by CHA0SENG7NE
16 Nov 2021, 20:59
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

So trying to break this down to understand better to prove out with just subtitles like

2_English
3_English

Code: Select all

{ if (f.subtitle) '(' + fn.match(/^(\d+)_/) + ')' }
It will only rename 1 file not multiples
by CHA0SENG7NE
16 Nov 2021, 20:44
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

So this is the full string??

Code: Select all

{ if (f.subtitle) '(' + fn.match(/_(\d{1,2})$|\((\d{1,2})\)$|^(\d+)_$/) + ')' }
by CHA0SENG7NE
16 Nov 2021, 20:07
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

this is as far as i got

Code: Select all

_(\d{1,2})$|\((\d{1,2})\)$|\_(\d+)$\)
by CHA0SENG7NE
16 Nov 2021, 20:02
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Hi Kim
SO i find this very confusing

Code: Select all

_(\d{1,2})$|\((\d{1,2})\)$
Why does this repeat?

Code: Select all

_(\d{1,2})$   and then again  (\d{1,2})\) 
im trying but i think i have become even more confused if that possible!
by CHA0SENG7NE
16 Nov 2021, 13:49
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Hi Kim
Thank you I'm having good fun not getting anywhere!
I have tried but just cant get it to work.
Appreciate the time setting the file up :)
by CHA0SENG7NE
15 Nov 2021, 20:01
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Hi
I have just come across another format
Is it possible to add another option to resolve this..?

2_English
3_English
4_English

Any help appreciated as always :)
by CHA0SENG7NE
14 Nov 2021, 19:46
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Also this format works just great in Emby
by CHA0SENG7NE
14 Nov 2021, 19:41
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Hi
Its working! sorry Kim & Rednoah I placed it in the wrong location. I put it before {[source]}{subt}
Switched around and its worked perfectly.
My bad
Thank you both yet again
Super happy with the format I use :)
by CHA0SENG7NE
13 Nov 2021, 22:39
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Re: Renaming Multiple Same Language Subtitles

Hi
I tried but it just gives the same name using the code above

Movie Name (2021) - [1080p x265 AAC 5.1] [BluRay].eng
Movie Name (2021) - [1080p x265 AAC 5.1] [BluRay].eng
Movie Name (2021) - [1080p x265 AAC 5.1] [BluRay].eng

it does not use the number???
by CHA0SENG7NE
13 Nov 2021, 10:22
Forum: Scripting and Automation
Topic: Renaming Multiple Same Language Subtitles
Replies: 36
Views: 32083

Renaming Multiple Same Language Subtitles

Hi Is it possible to keep all the language versions of subtitles? Some files arrive with english_2, english_3, english_9 etc I would be very happy is it could be named accordingly.... Movie Name (2021) - [1080p x265 AAC 5.1] [BluRay] Movie Name (2021) - [1080p x265 AAC 5.1] [BluRay].eng(1) Movie Nam...
by CHA0SENG7NE
20 May 2020, 21:27
Forum: Help and Support
Topic: Subtitle stored in different folder to movie
Replies: 12
Views: 5470

Re: Subtitle stored in different folder to movie

Hi Rednoah
I have been playing with the plex.name and tail. Also with Kodi. Trying to learn some new things. I then changed my original script from {kodi.name} to {ny}

Hey presto the orphan subs are named the same as the movie file. I added {subt} to the end too.

All working perfectly. Thank you.
by CHA0SENG7NE
18 May 2020, 10:19
Forum: Help and Support
Topic: Subtitle stored in different folder to movie
Replies: 12
Views: 5470

Re: Subtitle stored in different folder to movie

Yes im using the AMC script.
I dont use subtitles unless its required for a foreign film.
So if I can prevent the subtitles being processed then it will stop the mess of my folders it makes.
So if i add

--def ignore=".srt|.idx|.sub"

Should fix this?
by CHA0SENG7NE
18 May 2020, 08:50
Forum: Help and Support
Topic: Subtitle stored in different folder to movie
Replies: 12
Views: 5470

Re: Subtitle stored in different folder to movie

Is it possible to ignore subtitles when naming? To not transfer from downloaded folder?
by CHA0SENG7NE
08 May 2020, 23:39
Forum: Help and Support
Topic: Subtitle stored in different folder to movie
Replies: 12
Views: 5470

Re: Subtitle stored in different folder to movie

That makes sense and works thank you. Subtitles are being moved correctly now.
Always helpful Rednoah
by CHA0SENG7NE
07 May 2020, 19:35
Forum: Help and Support
Topic: Subtitle stored in different folder to movie
Replies: 12
Views: 5470

Re: Subtitle stored in different folder to movie

Thanks Rednoah. Will using {Plex} still allow the movies to be stored into the correct folders i.e 4k 3d and movies?