Mercurial > ec-dotfiles
changeset 343:32897d383f97
[bin/ren] Even more rules.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sun, 25 Mar 2012 18:21:30 +0700 |
parents | 4a37643931c4 |
children | 759f9a63a497 |
files | bin/ren |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/ren Sun Mar 25 16:56:14 2012 +0700 +++ b/bin/ren Sun Mar 25 18:21:30 2012 +0700 @@ -47,6 +47,7 @@ $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; $newname =~ s/\] Inu × Boku SS - /] Inu x Boku SS - /i; $newname =~ s/\] Inu x Boku Secret Service - /] Inu x Boku SS - /i; + $newname =~ s/\] Black Rock Shooter - 0/] Black Rock Shooter - /i; $newname =~ s/\] Mashiro iro symphony - /] Mashiro-iro Symphony - /i; $newname =~ s/\] To Aru Kagaku no Railgun /] Toaru Kagaku no Railgun /i; $newname =~ s/\] To Aru Majutsu no Index /] Toaru Majutsu no Index /i; @@ -305,7 +306,7 @@ #nothing $newname =~ s/(\(|\[) *(H264 704x400|640x480 DivX511 120fps mp3|640x480 DivX511 mp3|h\.264-Hi10P|720x480|10-?bit|10bit 480p H264|640x360|640x360 H264 AAC|h264\.aac|hi10p|10bit|\d+th Release|x264\.aac|xvid|divx5\.2\.1|divx5\.1|divx5\.05|divx5\.1\.1|h\.?264 AC3|848x480|H264 848x480|h264-480p AAC|h\.264-480p) *(\)|\])//i; #dvd - $newname =~ s/(\(|\[) *(DVD\]\[1024x576 -|DVD Hi10P 640x480|DVD-480p-AAC|DVD x264 10-bit AC3|DVD 10bit) *(\)|\])/[DVD]/i; + $newname =~ s/(\(|\[) *(DVD\]\[1024x576 -|DVD H264 Hi10P 640x480|DVD Hi10P 640x480|DVD-480p-AAC|DVD x264 10-bit AC3|DVD 10bit) *(\)|\])/[DVD]/i; #dvd again $newname =~ s/(\(|\[) *(R2 DVD\.H264\.AC3|DVD H264 720x480|DVD 720x480 x264 FLAC|R1DVD 720x480 x264 AC-3|DVD 712x480 AC-3|DVD 720x480 AC-3|R\d DVD\.H264\.AC3|DVD 1024x576 x264 FLAC|DVD H264 640x480|DVD H264 720x480 AAC|DVD 704x480 H264 AC3|DVD 704x480|DVDRip\.Xvid\.864x480\.Vorbis|DVD H264 848x480|DVD 720x480|DVD H264 720x480|DVD, wmv, mp3) *(\)|\])/[DVD]/i; #1080p BD