# HG changeset patch # User Edho Arief # Date 1335890767 -25200 # Node ID 2aa08f309adafc3b69841deedb282186245ef9d2 # Parent 477443d4e3572cc89ab0640f7bb40816054f1cd8 [bin/ren] More rules. diff -r 477443d4e357 -r 2aa08f309ada bin/ren --- a/bin/ren Mon Apr 16 20:03:13 2012 +0700 +++ b/bin/ren Tue May 01 23:46:07 2012 +0700 @@ -46,7 +46,10 @@ $newname =~ s/ (Inazuma Eleven - )(\d{2}) / $1 0$2 /; $newname =~ s/\] *Pocket Monsters - (\d+) - .*\[(H264 |)SUB\]/] Pokemon - $1 /i; $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; + $newname =~ s/\] Yakitate Japan - /] Yakitate!! Japan - /i; $newname =~ s/\] Inu × Boku SS - /] Inu x Boku SS - /i; + $newname =~ s/\] Tasogare Otome × Amnesia - /] Tasogare Otome x Amnesia - /i; + $newname =~ s/\] Haiyore! Nyarlko-san - /] Haiyore! Nyarlko - /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; @@ -71,6 +74,8 @@ $newname =~ s/\] Mayo Chiki - /] Mayo Chiki! - /i; $newname =~ s/\] Kaitou Tenshi Twin Angel Kyun Kyun Tokimeki Paradise - /] Twin Angel - Twinkle Paradise - /i; $newname =~ s/\] Mai Hime - /] My-HiME - /i; + $newname =~ s/\] EUREKA SEVEN AO - /] Eureka Seven AO - /; + $newname =~ s/\] Nazo no Kanojo X - /] Mysterious Girlfriend X - /i; $newname =~ s/\] Naruto Shippuden - /] Naruto Shippuuden - /i; $newname =~ s/\] -* *Ef - a Tale of Me(l|m)o(d|r)ies - /] ef - a tale of me$1o$2ies /i; $newname =~ s/\] Maji de Watashi ni Koi Shinasai!! /] Maji de Watashi ni Koi Shinasai! /i; @@ -315,7 +320,7 @@ #1080p BD $newname =~ s/(\(|\[) *(BD\]\[10bit-1080p-AAC|BDRip 1080p x264 FLAC|BD Hi10P 1920x1080|BD Hi10P 1920x1080 H264 FLAC|BD 1920x1080 x264 Hi10P FLAC|BD 1920x1080 Hi10P|1920x1080 BD AAC|BD\]\[h264-1080p FLAC|BD-h264-10bit-1080p|BD\]\[1080p-FLAC|BD 1080|1920x1080 Hi10p h264 AAC|BD 1920x1080 x264 AAC|BD 1080p Hi10P|BDRip 1080p x264 FLAC|BD-1080p-|BD-1080p-FLAC|1920x1038 Blu-Ray FLAC|1920x1080 Blu-Ray FLAC|1920x1080 h264 BD FLAC|1920x1080 BD|BD\.1080p\.FLAC|BD 1080p H\.264 AAC 5\.1|BD 1080p) *(\)|\])/[1080p BD]/i; #720p - $newname =~ s/(\(|\[) *(AT-X Hi10P 1280x720 H264|AT-X Hi10P 1280x720|1280x720 Hi10p|AT-X Hi10P 1280x720|1280x720 Hi10p AAC|AT-X 1280x720 H264|Hi10P 1280x720 H264|Hi10P 1280x720|1280x720 Hi10P|1280x720 5\.1|1280x720 x264 AAC|1280x720 H264 AAC|720p H264 AAC|1280x720|1280x720 H\.?264 AAC) *(\)|\])/[720p]/i; + $newname =~ s/(\(|\[) *(1280x720 x264-Hi10P AAC|AT-X Hi10P 1280x720 H264|AT-X Hi10P 1280x720|1280x720 Hi10p|AT-X Hi10P 1280x720|1280x720 Hi10p AAC|AT-X 1280x720 H264|Hi10P 1280x720 H264|Hi10P 1280x720|1280x720 Hi10P|1280x720 5\.1|1280x720 x264 AAC|1280x720 H264 AAC|720p H264 AAC|1280x720|1280x720 H\.?264 AAC) *(\)|\])/[720p]/i; #720p BD $newname =~ s/(\(|\[) *(BD, 720p, 10bit, AAC|BDRip 720p x264 FLAC|BDRip 720p|BD 720p DA|Blu-Ray 960x720 Dual Audio FLAC|BD, 720p|BD\]\[h264-720p\]\[FLAC|BD Hi10P 1280x720|BD, 720p, 10bit,|BD, 720, 10bit, AAC|BDrip 720p Vorbis|BD 720p Hi10P AAC|BD, 720p,|BD 720p H264-AAC|BDRip 720p|BD, 720p, ,|1280x720 BD|BD 1280x720 H264 AAC|BD 720p|BD 720p FLAC|BD 1280x720 H264 AAC) *(\)|\])/[720p BD]/i; #BD