changeset 442:f1aaf5045975

[bin/ren] Updated rules.
author Edho Arief <edho@myconan.net>
date Thu, 17 Jan 2013 00:15:12 +0700
parents a7a4142d0114
children 8d96292f6c0b
files bin/ren
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bin/ren	Mon Jan 07 18:43:23 2013 +0700
+++ b/bin/ren	Thu Jan 17 00:15:12 2013 +0700
@@ -53,8 +53,9 @@
   $newname =~ s/\] *Pocket Monsters - (\d+) - .*\[(H264 |)SUB\]/] Pokemon - $1 /i;
   $newname =~ s/\] Ebiten - Koritsu Ebisugawa Koukou Tenmon-Bu - /] Ebiten - /i;
   $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /;
+  $newname =~ s/\] Amnesia - /] Amnesia - /i;
   $newname =~ s/\] Major OVA - World Series - /] Major World Series OVA - /i;
-  $newname =~ s/\] D\.C\.III ~Da Capo III~ /] Da Capo III /i;
+  $newname =~ s/\] D\.C\.( )?III ~Da Capo III~ /] Da Capo III /i;
   $newname =~ s/\] Ore no Kanojo to Osananajimi ga Shuraba( )?Sugiru( - My Girlfriend and Childhood Friend Fight Too Much)? /] Ore no Kanojo to Osananajimi ga Shuraba Sugiru /i;
   $newname =~ s/\] Sukitte Ii na yo\. - /] Sukitte Iinayo - /i;
   $newname =~ s/\] .+80%8CK.+80%8D - /] K - /i;
@@ -72,6 +73,7 @@
   $newname =~ s/\] To Aru Majutsu no Index /] Toaru Majutsu no Index /i;
   $newname =~ s/\] Shakugan no Shana III /] Shakugan no Shana Final /i;
   $newname =~ s/\] Boku Ha Tomodachi Ga Sukunai - /] Boku wa Tomodachi ga Sukunai - /i;
+  $newname =~ s/\] Boku Ha Tomodachi Ga Sukunai next - /] Boku wa Tomodachi ga Sukunai NEXT - /i;
   $newname =~ s/\] Seikon no Qwaser II BD - (\d+) \[720p\]/] Seikon no Qwaser II - $1 [720p BD]/i;
   $newname =~ s/\] Seikon no Qwaser Picture Drama - (\d+) /] Seikon no Qwaser - Picture Drama $1 /i;
   $newname =~ s/\] Fortune Arterial Akai Yakusoku - /] Fortune Arterial - /;
@@ -339,9 +341,9 @@
   #1080p BD
   $newname =~ s/(\(|\[) *(BD\]\[1080p-AAC|1080p BD|1080p -Hi10P|1080p x264-Hi10P FLAC|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/(\(|\[) *(BD 1280x720|1280x720 8bit|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;
+  $newname =~ s/(\(|\[) *(1280x720 10bit|1280x720 10bit h264 AAC|1280x720 8bit|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/(\(|\[) *(BDRip 1280x720 10bit|BDRip 720p H\.264 AACx2|BDRip 720p H\.264 AAC|BDRip 720i H\.264 AAC|BDRip 720i|BD 10-bit 1280x720 x264 AAC|BD\]\[720p-|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;
+  $newname =~ s/(\(|\[) *(BD 1280x720|BDRip 1280x720 10bit|BDRip 720p H\.264 AACx2|BDRip 720p H\.264 AAC|BDRip 720i H\.264 AAC|BDRip 720i|BD 10-bit 1280x720 x264 AAC|BD\]\[720p-|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
   $newname =~ s/(\(|\[) *(Blu-Ray|BD 540p) *(\)|\])/[BD]/i;
   #576p