Page 1 of 1

Naming Scheme Question

Posted: 28 Apr 2016, 00:51
by xflak
Hi all,

I'm using the following format:

Code: Select all

\\Nas\video\Movies\{n} {'^('+y+'^)'}{' ['+vf.match^(/720[pP]^|1080[pP]/^)+']'}/{n} {'^('+y+'^)'}{' ['+vf.match^(/720[pP]^|1080[pP]/^)+']'}{' ^(Part'+pi+'^)'}{lang =~ 'eng' ? null : '.'+ lang}
And for some reason, lately all my subtitle files have been labelled as Part1 Part2, etc. instead of appending the lang code. Can you please advise? Thanks in advance.

Code: Select all

    <sequence date="2016-04-27T18:33:43.489-04:00">
        <rename dir="C:\Users\Admin\Downloads\Movie\Deadpool 2016 1080p BluRay x264 DTS-JYK\Subs" from="English(SDH).srt" to="\\Nas\video\Movies (2)\Deadpool (2016) [1080p]\Deadpool (2016) [1080p] (Part1).srt"/>
        <rename dir="C:\Users\Admin\Downloads\Movie\Deadpool 2016 1080p BluRay x264 DTS-JYK\Subs" from="English.srt" to="\\Nas\video\Movies (2)\Deadpool (2016) [1080p]\Deadpool (2016) [1080p] (Part2).srt"/>
        <rename dir="C:\Users\Admin\Downloads\Movie\Deadpool 2016 1080p BluRay x264 DTS-JYK\Subs" from="French.srt" to="\\Nas\video\Movies (2)\Deadpool (2016) [1080p]\Deadpool (2016) [1080p] (Part3).srt"/>
        <rename dir="C:\Users\Admin\Downloads\Movie\Deadpool 2016 1080p BluRay x264 DTS-JYK\Subs" from="Spanish.srt" to="\\Nas\video\Movies (2)\Deadpool (2016) [1080p]\Deadpool (2016) [1080p] (Part4).srt"/>
        <rename dir="C:\Users\Admin\Downloads\Movie\Deadpool 2016 1080p BluRay x264 DTS-JYK" from="Deadpool 2016 1080p BluRay x264 DTS-JYK.mkv" to="\\Nas\video\Movies (2)\Deadpool (2016) [1080p]\Deadpool (2016) [1080p].mkv"/>
edit: inserted TV episode naming scheme by mistake

Re: Naming Scheme Question

Posted: 28 Apr 2016, 04:35
by rednoah
1.
This (episode) format has nothing to do with the (movie) files you've renamed.

2.
Badly organized subtitles (i.e. not matching the movie by name) won't be handled as well as well-organized video/subtitle pairs.

Re: Naming Scheme Question

Posted: 28 Apr 2016, 20:25
by xflak
thanks for your quick response rednoah. I updated the first post with this movie naming scheme:

Code: Select all

\\Nas\video\Movies\{n} {'^('+y+'^)'}{' ['+vf.match^(/720[pP]^|1080[pP]/^)+']'}/{n} {'^('+y+'^)'}{' ['+vf.match^(/720[pP]^|1080[pP]/^)+']'}{' ^(Part'+pi+'^)'}{lang =~ 'eng' ? null : '.'+ lang}
Note that this is the simplified version of what I'm actually using which is:

Code: Select all

\\Nas\video\Movies\{n} {'('+y+')'}{fn.contains('3D') || fn.contains('3-D') || fn.contains('3d') || fn.contains('3-d') ? ' (3D)': null }{fn.contains('Extended') || fn.contains('EXTENDED') || fn.contains('extended') ? ' (Extended)': null }{fn.contains('Special Edition') || fn.contains('SPECIAL EDITION') || fn.contains('SPECIAL.EDITION') || fn.contains('special.edition') || fn.contains('special edition') ? ' (Special Edition)': null }{fn.contains('Unrated') || fn.contains('UNRATED') || fn.contains('unrated') ? ' (Unrated)': null }{fn.contains('Uncensored') || fn.contains('UNCENSORED') || fn.contains('uncensored') ? ' (Uncensored)': null }{fn.contains('Remastered') || fn.contains('REMASTERED') || fn.contains('remastered') ? ' (Remastered)': null }{' ['+vf.match(/720[pP]|1080[pP]/)+']'}/{n} {'('+y+')'}{fn.contains('3D') || fn.contains('3-D') || fn.contains('3d') || fn.contains('3-d') ? ' (3D)': null }{fn.contains('Extended') || fn.contains('EXTENDED') || fn.contains('extended') ? ' (Extended)': null }{fn.contains('Special Edition') || fn.contains('SPECIAL EDITION') || fn.contains('SPECIAL.EDITION') || fn.contains('special.edition') || fn.contains('special edition') ? ' (Special Edition)': null }{fn.contains('Unrated') || fn.contains('UNRATED') || fn.contains('unrated') ? ' (Unrated)': null }{fn.contains('Uncensored') || fn.contains('UNCENSORED') || fn.contains('uncensored') ? ' (Uncensored)': null }{fn.contains('Remastered') || fn.contains('REMASTERED') || fn.contains('remastered') ? ' (Remastered)': null }{' ['+vf.match(/720[pP]|1080[pP]/)+']'}{' (Part'+pi+')'}{lang =~ 'eng' ? null : '.'+ lang}
Are there any adjustments I can make to stop each different subtitle from being renamed to Part1, Part2 etc.?

Thanks!

Re: Naming Scheme Question

Posted: 28 Apr 2016, 20:48
by rednoah
Assuming you don't have any actual multi part movies, you could just remove {pi} from your format.

Re: Naming Scheme Question

Posted: 28 Apr 2016, 22:35
by xflak
Thanks! I'll try that.