changeset 363:4635b9d2de68

Update to latest ren (more rules).
author Edho Arief <edho@myconan.net>
date Thu, 31 May 2012 23:20:52 +0700
parents 909b9fc4203e
children 7833673f4860
files bin/ren
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/ren	Thu May 31 23:20:10 2012 +0700
+++ b/bin/ren	Thu May 31 23:20:52 2012 +0700
@@ -46,7 +46,7 @@
   $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/\] Yakitate Japan (- |Ep)/] 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;
@@ -322,7 +322,7 @@
   #720p
   $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;
+  $newname =~ s/(\(|\[) *(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
@@ -499,6 +499,7 @@
   $newname =~ s/ Mahoujin Guruguru - 2 - Doki Doki Densetsu - / Mahoujin Guruguru 2 - Doki Doki Densetsu - /;
   $newname =~ s/ The World God Only Knows - 2 - / The World God Only Knows 2 - /;
   $newname =~ s/ Legend of Galactic Heroes Gaiden - 2 - / Legend of Galactic Heroes Gaiden 2 - /;
+  $newname =~ s/ Yes!* Pretty Cure - 5 Go Go! / Yes! Pretty Cure 5 Go Go! - /i;
   $newname =~ s/ Kara no Kyoukai - (\d+) / Kara no Kyoukai - Chapter $1/;
   $newname =~ s/ Persona - 4 The Animation / Persona 4 - /;
   $newname =~ s/ Persona - 4 / Persona 4 - /;