Mercurial > ec-dotfiles
comparison bin/ren @ 349:2aa08f309ada
[bin/ren] More rules.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Tue, 01 May 2012 23:46:07 +0700 |
parents | 477443d4e357 |
children | 4635b9d2de68 |
comparison
equal
deleted
inserted
replaced
348:477443d4e357 | 349:2aa08f309ada |
---|---|
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/\] 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; | |
52 $newname =~ s/\] Haiyore! Nyarlko-san - /] Haiyore! Nyarlko - /i; | |
50 $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; |
51 $newname =~ s/\] Black Rock Shooter - 0/] Black Rock Shooter - /i; | 54 $newname =~ s/\] Black Rock Shooter - 0/] Black Rock Shooter - /i; |
52 $newname =~ s/\] Mashiro iro symphony - /] Mashiro-iro Symphony - /i; | 55 $newname =~ s/\] Mashiro iro symphony - /] Mashiro-iro Symphony - /i; |
53 $newname =~ s/\] To Aru Kagaku no Railgun /] Toaru Kagaku no Railgun /i; | 56 $newname =~ s/\] To Aru Kagaku no Railgun /] Toaru Kagaku no Railgun /i; |
54 $newname =~ s/\] To Aru Majutsu no Index /] Toaru Majutsu no Index /i; | 57 $newname =~ s/\] To Aru Majutsu no Index /] Toaru Majutsu no Index /i; |
69 $newname =~ s/\] Soredemo Machi wa Mawatte Iru - /] Soredemo Machi wa Mawatteiru - /; | 72 $newname =~ s/\] Soredemo Machi wa Mawatte Iru - /] Soredemo Machi wa Mawatteiru - /; |
70 $newname =~ s/\] Spiral - (\d+) .* \[640 x 480\]\[H\.264\]/] Spiral - $1 /; | 73 $newname =~ s/\] Spiral - (\d+) .* \[640 x 480\]\[H\.264\]/] Spiral - $1 /; |
71 $newname =~ s/\] Mayo Chiki - /] Mayo Chiki! - /i; | 74 $newname =~ s/\] Mayo Chiki - /] Mayo Chiki! - /i; |
72 $newname =~ s/\] Kaitou Tenshi Twin Angel Kyun Kyun Tokimeki Paradise - /] Twin Angel - Twinkle Paradise - /i; | 75 $newname =~ s/\] Kaitou Tenshi Twin Angel Kyun Kyun Tokimeki Paradise - /] Twin Angel - Twinkle Paradise - /i; |
73 $newname =~ s/\] Mai Hime - /] My-HiME - /i; | 76 $newname =~ s/\] Mai Hime - /] My-HiME - /i; |
77 $newname =~ s/\] EUREKA SEVEN AO - /] Eureka Seven AO - /; | |
78 $newname =~ s/\] Nazo no Kanojo X - /] Mysterious Girlfriend X - /i; | |
74 $newname =~ s/\] Naruto Shippuden - /] Naruto Shippuuden - /i; | 79 $newname =~ s/\] Naruto Shippuden - /] Naruto Shippuuden - /i; |
75 $newname =~ s/\] -* *Ef - a Tale of Me(l|m)o(d|r)ies - /] ef - a tale of me$1o$2ies /i; | 80 $newname =~ s/\] -* *Ef - a Tale of Me(l|m)o(d|r)ies - /] ef - a tale of me$1o$2ies /i; |
76 $newname =~ s/\] Maji de Watashi ni Koi Shinasai!! /] Maji de Watashi ni Koi Shinasai! /i; | 81 $newname =~ s/\] Maji de Watashi ni Koi Shinasai!! /] Maji de Watashi ni Koi Shinasai! /i; |
77 $newname =~ s/\] Sei Juushi Bismarck /] Sei Juushi Bismark /i; | 82 $newname =~ s/\] Sei Juushi Bismarck /] Sei Juushi Bismark /i; |
78 $newname =~ s/\] Tamayura - hitotose - /] Tamayura ~hitotose~ - /i; | 83 $newname =~ s/\] Tamayura - hitotose - /] Tamayura ~hitotose~ - /i; |
313 #dvd again | 318 #dvd again |
314 $newname =~ s/(\(|\[) *(R2 DVD\.H264\.AC3|DVD H264 720x480|DVD 720x480 x264 FLAC|R1DVD 720x480 x264 AC-3|DVD 712x480 AC-3|DVD 720x480 AC-3|R\d DVD\.H264\.AC3|DVD 1024x576 x264 FLAC|DVD H264 640x480|DVD H264 720x480 AAC|DVD 704x480 H264 AC3|DVD 704x480|DVDRip\.Xvid\.864x480\.Vorbis|DVD H264 848x480|DVD 720x480|DVD H264 720x480|DVD, wmv, mp3) *(\)|\])/[DVD]/i; | 319 $newname =~ s/(\(|\[) *(R2 DVD\.H264\.AC3|DVD H264 720x480|DVD 720x480 x264 FLAC|R1DVD 720x480 x264 AC-3|DVD 712x480 AC-3|DVD 720x480 AC-3|R\d DVD\.H264\.AC3|DVD 1024x576 x264 FLAC|DVD H264 640x480|DVD H264 720x480 AAC|DVD 704x480 H264 AC3|DVD 704x480|DVDRip\.Xvid\.864x480\.Vorbis|DVD H264 848x480|DVD 720x480|DVD H264 720x480|DVD, wmv, mp3) *(\)|\])/[DVD]/i; |
315 #1080p BD | 320 #1080p BD |
316 $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; |
317 #720p | 322 #720p |
318 $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; | 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; |
319 #720p BD | 324 #720p BD |
320 $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, 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; |
321 #BD | 326 #BD |
322 $newname =~ s/(\(|\[) *(Blu-Ray|BD 540p) *(\)|\])/[BD]/i; | 327 $newname =~ s/(\(|\[) *(Blu-Ray|BD 540p) *(\)|\])/[BD]/i; |
323 #576p | 328 #576p |