Naming Scheme Question

All about user-defined episode / movie / file name format expressions
Post Reply
xflak
Power User
Posts: 53
Joined: 25 Feb 2015, 01:51

Naming Scheme Question

Post 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
Last edited by xflak on 28 Apr 2016, 20:26, edited 2 times in total.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Naming Scheme Question

Post 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.
:idea: Please read the FAQ and How to Request Help.
xflak
Power User
Posts: 53
Joined: 25 Feb 2015, 01:51

Re: Naming Scheme Question

Post 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!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Naming Scheme Question

Post by rednoah »

Assuming you don't have any actual multi part movies, you could just remove {pi} from your format.
:idea: Please read the FAQ and How to Request Help.
xflak
Power User
Posts: 53
Joined: 25 Feb 2015, 01:51

Re: Naming Scheme Question

Post by xflak »

Thanks! I'll try that.
Post Reply