Mercurial > ec-dotfiles
changeset 483:ee4ce7e78d2d
Update rules.
author | edogawaconan <me@myconan.net> |
---|---|
date | Sat, 12 Oct 2013 23:57:56 +0700 |
parents | 20521d872fab |
children | 487e8d6b9081 324c5842af87 |
files | bin/ren |
diffstat | 1 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/ren Tue Sep 24 17:29:18 2013 +0900 +++ b/bin/ren Sat Oct 12 23:57:56 2013 +0700 @@ -22,6 +22,7 @@ $newname =~ s/\./ /g; $newname =~ s/,([a-z0-9]+)$/.$1/i; } + $newname =~ s/Pocket Monsters Best Wishes Season 2 Decolora Adventure (\d+) .+\[H264 720P\]/ Pokemon Best Wishes S2 Decolora Adventure - $1 [720p]/i; $newname =~ s/^Gundam Seed (\d+|\d+\[v2\])\.DVD\(H264\.AAC\)\[KAA\]/[KAA] Gundam SEED - $1 [DVD]/i; $newname =~ s/(\[ACX\])(Spiral)( - \d+) - .* (\[[a-f0-9]{8}\]\.mkv)$/$1 $2$3 $4/i; $newname =~ s/^Genesis of Aquarion - (\d+) \[3xR\]\[Blu-ray.720p.H264.FLAC.AC3\](v2|)/[3xR] Genesis of Aquarion - $1 [$2 720p BD]/; @@ -31,6 +32,7 @@ $newname =~ s/ A\+Channel / A Channel - Special /; $newname =~ s/ Arcana✴Famiglia / Arcana Famiglia /i; $newname =~ s/ Yuru Yuri♪♪ / Yuru Yuri S2 /i; + $newname =~ s/\[Retrofit\] *\[AI A-F&Ishin\] Kanon 2002 /[Retrofit] Kanon (2002) /i; $newname =~ s/ The Story of Perrine / Perrine /i; $newname =~ s/\] Chitose Get you!!? - /] Chitose Get You!! - /i; $newname =~ s/ Dog Days' / Dog Days S2 /i; @@ -55,6 +57,9 @@ $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; $newname =~ s/\] Senyuu\. - /] Senyuu - /i; $newname =~ s/\] Amnesia - /] Amnesia - /i; + $newname =~ s/\] Date A Live - /] Date A Live - /i; + $newname =~ s/\] Yahari Ore no Seishun Love Comedy wa Machigatteiru - My Teenage RomCom SNAFU - /] Yahari Ore no Seishun Love Comedy wa Machigatteiru - /i; + $newname =~ s/\] Ore no Imouto ga Konnani Kawaii Wake ga Nai. - My Little Sister Can't Be This Cute. - /] Ore no Imouto ga Konnani Kawaii Wake ga Nai S2 - /i; $newname =~ s/\] Kotoura-san - /] Kotoura - /i; $newname =~ s/\] Sasami-san\@Ganbaranai - /] Sasami\@Ganbaranai - /i; $newname =~ s/\] Major OVA - World Series - /] Major World Series OVA - /i; @@ -98,6 +103,7 @@ $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/\] kill la kill - /] Kill la Kill - /; $newname =~ s/\] CØDE:BREAKER - /] Code Breaker - /i; $newname =~ s/\] Nazo no Kanojo X - /] Mysterious Girlfriend X - /i; $newname =~ s/\] Naruto Shippuden - /] Naruto Shippuuden - /i; @@ -149,6 +155,7 @@ $newname =~ s/ THE iDOLM\@STER / The Idolm\@ster /i; $newname =~ s/^- (\d+) - (\[neo1024\])/$2 Luping III S3 - $2/i; $newname =~ s/ Luping III S3 / Lupin III S3 /i; + $newname =~ s/\] GARO - The One Who Shines in the Darkness - /] Garo - The One Who Shines in the Darkness - /i; $newname =~ s/( Transformers Headmasters - \d+) - .*\[/$1 [/i; $newname =~ s/^cor\.tv\.getbackers\.(\d+)\./[cor] GetBackers - $1 /; $newname =~ s/^cor\.extras\.getbackers\.(opening|ending)(\d+)\./[cor] GetBackers - $1 $2 /; @@ -164,6 +171,7 @@ $newname =~ s/^\[RaX\] *Kiba - (\d+) - .* (\[v2\] \[|\[)/[RaX] Kiba - $1 $2/; $newname =~ s/ (Gosick - \d+) \(Batch\) / $1 /; $newname =~ s/ Clannad - After Story - / Clannad After Story - /; + $newname =~ s/ Uta no Prince Sama 2 - / Uta no Prince-sama 2 - /; $newname =~ s/ Ikoku Meiro no Croisée / Ikoku Meiro no Kurowaaze /i; $newname =~ s/^Mahoujin Guruguru TV2 - Doki Doki Densetsu Ep(\d+) \((Chamelenia)\)/[Chamelenia] Mahoujin Guruguru 2 - Doki Doki Densetsu - $1/i; $newname =~ s/\.divx5\.ogm$/.ogm/; @@ -202,9 +210,13 @@ $newname =~ s/ C³ / C3 - Cube x Cursed x Curious /i; $newname =~ s/ C3 Cube x Cursed x Curious / C3 - Cube x Cursed x Curious /i; $newname =~ s/ Fate( ⁄ | )Zero / Fate-Zero /i; + $newname =~ s/ Fate( ⁄ | )Kaleid / Fate-Kaleid /i; + $newname =~ s/ Rozen Maiden Zurückspulen / Rozen Maiden (2013) /i; + $newname =~ s/ Watashi ga Motenai no wa Dou Kangaete ?mo Omaera ga Warui!? / Watashi ga Motenai no wa Dou Kangaete mo Omaera ga Warui! /i; $newname =~ s/ Pollyanna Episode / Pollyanna /; $newname =~ s/ Ef - A Fairy Tale of the Two / ef - A Fairy Tale of the Two /i; $newname =~ s/ Ef - A Fairy Tale of the Two-/ ef - A Fairy Tale of the Two -/i; + $newname =~ s/ -Momoiro Paradox- / - Momoiro Paradox - /i; $newname =~ s/^Legend of Galactic Heroes - (\d+) \(([A-F0-9]{8})\) \[Central Anime\]/[Central Anime] Legend of Galactic Heroes - $1 [$2]/; $newname =~ s/\[Hnk\]/[HnK]/; $newname =~ s/^Inuyasha - (\d+|\d+-\d+)\[167\] - .*(\[DVD\]\[AHQ\])/Inuyasha - $1 $2/; @@ -347,9 +359,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/(\(|\[) *(Hi10P 720p-FLAC|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; + $newname =~ s/(\(|\[) *(720p 10bit|10-bit 720p( AAC)?|720|Hi10P 720p-FLAC|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/(\(|\[) *(BD, 720p|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; + $newname =~ s/(\(|\[) *(BD 720p AAC|BD 720p|BD, 720p|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 @@ -513,6 +525,9 @@ $newname =~ s/ Hidamari Sketch Hoshimittsu - Special / Hidamari Sketch Hoshimittsu Special - /; $newname =~ s/ Spice and Wolf S2 - BD Menu - 0/ Spice and Wolf S2 - BD Menu /; $newname =~ s/ Canvas - 2 - / Canvas 2 - /; + $newname =~ s/ Devil Survivor - 2 The Animation - / Devil Survivor 2 The Animation - /; + $newname =~ s/ Hentai Ouji to Warawanai Neko\. - / Hentai Ouji to Warawanai Neko - /i; + $newname =~ s/\] *Photokano *- /] Photo Kano - /i; $newname =~ s/ To Heart - 2 / To Heart 2 /; $newname =~ s/ Tsubasa Chronicles - 2 (\d{2}) / Tsubasa Chronicles 2 - $1 /; $newname =~ s/ Mitsudomoe - 2 - / Mitsudomoe 2 - /;