Mercurial > ec-dotfiles
comparison bin/ren @ 363:4635b9d2de68
Update to latest ren (more rules).
author | Edho Arief <edho@myconan.net> |
---|---|
date | Thu, 31 May 2012 23:20:52 +0700 |
parents | 2aa08f309ada |
children | e4e89f69453a |
comparison
equal
deleted
inserted
replaced
362:909b9fc4203e | 363:4635b9d2de68 |
---|---|
44 $newname =~ s/ (Ryvius Illusion \d+) - introduction / $1 - Introduction /; | 44 $newname =~ s/ (Ryvius Illusion \d+) - introduction / $1 - Introduction /; |
45 $newname =~ s/^Arigatou\.Tokyo\.Majin\.Ep(\d+)\./[Arigatou] Tokyo Majin - $1 /; | 45 $newname =~ s/^Arigatou\.Tokyo\.Majin\.Ep(\d+)\./[Arigatou] Tokyo Majin - $1 /; |
46 $newname =~ s/ (Inazuma Eleven - )(\d{2}) / $1 0$2 /; | 46 $newname =~ s/ (Inazuma Eleven - )(\d{2}) / $1 0$2 /; |
47 $newname =~ s/\] *Pocket Monsters - (\d+) - .*\[(H264 |)SUB\]/] Pokemon - $1 /i; | 47 $newname =~ s/\] *Pocket Monsters - (\d+) - .*\[(H264 |)SUB\]/] Pokemon - $1 /i; |
48 $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; | 48 $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; |
49 $newname =~ s/\] Yakitate Japan - /] Yakitate!! Japan - /i; | 49 $newname =~ s/\] Yakitate Japan (- |Ep)/] Yakitate!! Japan - /i; |
50 $newname =~ s/\] Inu × Boku SS - /] Inu x Boku SS - /i; | 50 $newname =~ s/\] Inu × Boku SS - /] Inu x Boku SS - /i; |
51 $newname =~ s/\] Tasogare Otome × Amnesia - /] Tasogare Otome x Amnesia - /i; | 51 $newname =~ s/\] Tasogare Otome × Amnesia - /] Tasogare Otome x Amnesia - /i; |
52 $newname =~ s/\] Haiyore! Nyarlko-san - /] Haiyore! Nyarlko - /i; | 52 $newname =~ s/\] Haiyore! Nyarlko-san - /] Haiyore! Nyarlko - /i; |
53 $newname =~ s/\] Inu x Boku Secret Service - /] Inu x Boku SS - /i; | 53 $newname =~ s/\] Inu x Boku Secret Service - /] Inu x Boku SS - /i; |
54 $newname =~ s/\] Black Rock Shooter - 0/] Black Rock Shooter - /i; | 54 $newname =~ s/\] Black Rock Shooter - 0/] Black Rock Shooter - /i; |
320 #1080p BD | 320 #1080p BD |
321 $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; | 321 $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; |
322 #720p | 322 #720p |
323 $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; | 323 $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; |
324 #720p BD | 324 #720p BD |
325 $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; | 325 $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; |
326 #BD | 326 #BD |
327 $newname =~ s/(\(|\[) *(Blu-Ray|BD 540p) *(\)|\])/[BD]/i; | 327 $newname =~ s/(\(|\[) *(Blu-Ray|BD 540p) *(\)|\])/[BD]/i; |
328 #576p | 328 #576p |
329 $newname =~ s/(\(|\[) *(1024x576|H264 1024x576) *(\)|\])/[576p]/i; | 329 $newname =~ s/(\(|\[) *(1024x576|H264 1024x576) *(\)|\])/[576p]/i; |
330 #1080p | 330 #1080p |
497 $newname =~ s/ Eyeshield 21 - (\d{2})-(\d{2}) / Eyeshield 21 - 0$1-0$2 /; | 497 $newname =~ s/ Eyeshield 21 - (\d{2})-(\d{2}) / Eyeshield 21 - 0$1-0$2 /; |
498 $newname =~ s/ - 2010 Young Animator / 2010 Young Animator /; | 498 $newname =~ s/ - 2010 Young Animator / 2010 Young Animator /; |
499 $newname =~ s/ Mahoujin Guruguru - 2 - Doki Doki Densetsu - / Mahoujin Guruguru 2 - Doki Doki Densetsu - /; | 499 $newname =~ s/ Mahoujin Guruguru - 2 - Doki Doki Densetsu - / Mahoujin Guruguru 2 - Doki Doki Densetsu - /; |
500 $newname =~ s/ The World God Only Knows - 2 - / The World God Only Knows 2 - /; | 500 $newname =~ s/ The World God Only Knows - 2 - / The World God Only Knows 2 - /; |
501 $newname =~ s/ Legend of Galactic Heroes Gaiden - 2 - / Legend of Galactic Heroes Gaiden 2 - /; | 501 $newname =~ s/ Legend of Galactic Heroes Gaiden - 2 - / Legend of Galactic Heroes Gaiden 2 - /; |
502 $newname =~ s/ Yes!* Pretty Cure - 5 Go Go! / Yes! Pretty Cure 5 Go Go! - /i; | |
502 $newname =~ s/ Kara no Kyoukai - (\d+) / Kara no Kyoukai - Chapter $1/; | 503 $newname =~ s/ Kara no Kyoukai - (\d+) / Kara no Kyoukai - Chapter $1/; |
503 $newname =~ s/ Persona - 4 The Animation / Persona 4 - /; | 504 $newname =~ s/ Persona - 4 The Animation / Persona 4 - /; |
504 $newname =~ s/ Persona - 4 / Persona 4 - /; | 505 $newname =~ s/ Persona - 4 / Persona 4 - /; |
505 $newname =~ s/\[G P\]/[G_P]/i; | 506 $newname =~ s/\[G P\]/[G_P]/i; |
506 $newname =~ s/\[-'\]/[-__-']/; | 507 $newname =~ s/\[-'\]/[-__-']/; |