Mercurial > ec-dotfiles
comparison bin/ren @ 139:9ff99d9bf388
Merge.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Tue, 01 Nov 2011 22:41:09 +0700 |
parents | f963d52c031a |
children | fbb03c862b63 |
comparison
equal
deleted
inserted
replaced
136:7dd9ad7f977c | 139:9ff99d9bf388 |
---|---|
14 # GROUP NAMES | 14 # GROUP NAMES |
15 $newname =~ s/\[UTW Mazui\]/[UTW-Mazui]/i; | 15 $newname =~ s/\[UTW Mazui\]/[UTW-Mazui]/i; |
16 $newname =~ s/\[t-n\]/[T-N]/i; | 16 $newname =~ s/\[t-n\]/[T-N]/i; |
17 #TITLE AND NAMES | 17 #TITLE AND NAMES |
18 $newname =~ s/^(\(|\[)W B(\)|\])/[W_B]/; | 18 $newname =~ s/^(\(|\[)W B(\)|\])/[W_B]/; |
19 if ($newname =~ m/\[Doremi/) { | 19 if ($newname =~ m/\[(Doremi|Elysium)/) { |
20 $newname =~ s/\.([a-z0-9]+)$/,$1/i; | 20 $newname =~ s/\.([a-z0-9]+)$/,$1/i; |
21 $newname =~ s/\./ /g; | 21 $newname =~ s/\./ /g; |
22 $newname =~ s/,([a-z0-9]+)$/.$1/i; | 22 $newname =~ s/,([a-z0-9]+)$/.$1/i; |
23 } | 23 } |
24 $newname =~ s/^Genesis of Aquarion - (\d+) \[3xR\]\[Blu-ray.720p.H264.FLAC.AC3\](v2|)/[3xR] Genesis of Aquarion - $1 [$2 720p BD]/; | 24 $newname =~ s/^Genesis of Aquarion - (\d+) \[3xR\]\[Blu-ray.720p.H264.FLAC.AC3\](v2|)/[3xR] Genesis of Aquarion - $1 [$2 720p BD]/; |
38 $newname =~ s/^Arigatou\.Tokyo\.Majin\.Ep(\d+)\./[Arigatou] Tokyo Majin - $1 /; | 38 $newname =~ s/^Arigatou\.Tokyo\.Majin\.Ep(\d+)\./[Arigatou] Tokyo Majin - $1 /; |
39 $newname =~ s/ (Inazuma Eleven - )(\d{2}) / $1 0$2 /; | 39 $newname =~ s/ (Inazuma Eleven - )(\d{2}) / $1 0$2 /; |
40 $newname =~ s/\] *Pocket Monsters - (\d+) - .*\[(H264 |)SUB\]/] Pokemon - $1 /i; | 40 $newname =~ s/\] *Pocket Monsters - (\d+) - .*\[(H264 |)SUB\]/] Pokemon - $1 /i; |
41 $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; | 41 $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; |
42 $newname =~ s/\] Mashiro iro symphony - /] Mashiro-iro Symphony - /i; | 42 $newname =~ s/\] Mashiro iro symphony - /] Mashiro-iro Symphony - /i; |
43 $newname =~ s/\] To Aru Kagaku no Railgun /] Toaru Kagaku no Railgun /i; | |
44 $newname =~ s/\] To Aru Majutsu no Index /] Toaru Majutsu no Index /i; | |
43 $newname =~ s/\] Shakugan no Shana III /] Shakugan no Shana Final /i; | 45 $newname =~ s/\] Shakugan no Shana III /] Shakugan no Shana Final /i; |
44 $newname =~ s/\] Boku Ha Tomodachi Ga Sukunai - /] Boku wa Tomodachi ga Sukunai - /i; | 46 $newname =~ s/\] Boku Ha Tomodachi Ga Sukunai - /] Boku wa Tomodachi ga Sukunai - /i; |
45 $newname =~ s/\] Seikon no Qwaser II BD - (\d+) \[720p\]/] Seikon no Qwaser II - $1 [720p BD]/i; | 47 $newname =~ s/\] Seikon no Qwaser II BD - (\d+) \[720p\]/] Seikon no Qwaser II - $1 [720p BD]/i; |
46 $newname =~ s/\] Seikon no Qwaser Picture Drama - (\d+) /] Seikon no Qwaser - Picture Drama $1 /i; | 48 $newname =~ s/\] Seikon no Qwaser Picture Drama - (\d+) /] Seikon no Qwaser - Picture Drama $1 /i; |
47 $newname =~ s/\] Fortune Arterial Akai Yakusoku - /] Fortune Arterial - /; | 49 $newname =~ s/\] Fortune Arterial Akai Yakusoku - /] Fortune Arterial - /; |
54 $newname =~ s/\] Mayo Chiki - / ] Mayo Chiki! - /i; | 56 $newname =~ s/\] Mayo Chiki - / ] Mayo Chiki! - /i; |
55 $newname =~ s/\] Naruto Shippuden - /] Naruto Shippuuden - /i; | 57 $newname =~ s/\] Naruto Shippuden - /] Naruto Shippuuden - /i; |
56 $newname =~ s/\] Maji de Watashi ni Koi Shinasai!! /] Maji de Watashi ni Koi Shinasai! /i; | 58 $newname =~ s/\] Maji de Watashi ni Koi Shinasai!! /] Maji de Watashi ni Koi Shinasai! /i; |
57 $newname =~ s/\] Sei Juushi Bismarck /] Sei Juushi Bismark /i; | 59 $newname =~ s/\] Sei Juushi Bismarck /] Sei Juushi Bismark /i; |
58 $newname =~ s/\] Tamayura - hitotose - /] Tamayura ~hitotose~ - /i; | 60 $newname =~ s/\] Tamayura - hitotose - /] Tamayura ~hitotose~ - /i; |
61 $newname =~ s/\] Yumekui Merry /] Dream Eater Merry /i; | |
59 $newname =~ s/^Arigatou\.Tsubasa\.Chronicles\.(|2\.)(\d{2})(|v2)\./[Arigatou] Tsubasa Chronicles $1 - $2$3/; | 62 $newname =~ s/^Arigatou\.Tsubasa\.Chronicles\.(|2\.)(\d{2})(|v2)\./[Arigatou] Tsubasa Chronicles $1 - $2$3/; |
60 $newname =~ s/^Niea\.Under\.Seven\.(\d+)\.\(Dual\.Audio\)\.XVID\.\[AM\]/[AM] Niea Under Seven - $1/; | 63 $newname =~ s/^Niea\.Under\.Seven\.(\d+)\.\(Dual\.Audio\)\.XVID\.\[AM\]/[AM] Niea Under Seven - $1/; |
61 $newname =~ s/ Tsubasa Chronicles 2\. - / Tsubasa Chronicles 2 /; | 64 $newname =~ s/ Tsubasa Chronicles 2\. - / Tsubasa Chronicles 2 /; |
62 $newname =~ s/ *Moritasan wa Mukuchi */ Morita-san wa Mukuchi /i; | 65 $newname =~ s/ *Moritasan wa Mukuchi */ Morita-san wa Mukuchi /i; |
63 $newname =~ s/ Hanasakeru Seishonen / Hanasakeru Seishounen /i; | 66 $newname =~ s/ Hanasakeru Seishonen / Hanasakeru Seishounen /i; |
203 $newname =~ s/Natsu no Arashi - Akinai-chuu/Summer Storm! - Open for Business/; | 206 $newname =~ s/Natsu no Arashi - Akinai-chuu/Summer Storm! - Open for Business/; |
204 $newname =~ s/Natsu no Arashi/Summer Storm!/; | 207 $newname =~ s/Natsu no Arashi/Summer Storm!/; |
205 $newname =~ s/Naruto (\d+-\d+) /Naruto - $1 /; | 208 $newname =~ s/Naruto (\d+-\d+) /Naruto - $1 /; |
206 $newname =~ s/Lupin III Series 1 - (\d+) - .+ \[neo1024\]/[neo1024] Lupin III - $1 /; | 209 $newname =~ s/Lupin III Series 1 - (\d+) - .+ \[neo1024\]/[neo1024] Lupin III - $1 /; |
207 $newname =~ s/Mitsudomoe Picture Drama - 0/Mitsudomoe Picture Drama - /; | 210 $newname =~ s/Mitsudomoe Picture Drama - 0/Mitsudomoe Picture Drama - /; |
208 $newname =~ s/^(Star Driver .*)(\[AtsA\])/$2 $1 /i; | 211 $newname =~ s/^(Fullmetal Alchemist Brotherhood .*|Star Driver .*)(\[AtsA\])/$2 $1 /i; |
209 $newname =~ s/(Sora no Woto|Ichiban Ushiro no Daimaou|Mayoi Neko Overrun!) - ([^ ]+|OP Clean|ED Clean|Theater [a-z0-9]+) \[BD 1080p\]\[AtsA\]/[AtsA] $1 - $2 [1080p BD]/; | 212 $newname =~ s/(Sora no Woto|Ichiban Ushiro no Daimaou|Mayoi Neko Overrun!) - ([^ ]+|OP Clean|ED Clean|Theater [a-z0-9]+) \[BD 1080p\]\[AtsA\]/[AtsA] $1 - $2 [1080p BD]/; |
210 $newname =~ s/(Sora no Woto|Ichiban Ushiro no Daimaou|Mayoi Neko Overrun!) ([^ ]+|Opening Clean|Ending Clean|Theater - [a-z0-9]+) \[1080p BD\]\[AtsA\]/[AtsA] $1 - $2 [1080p BD]/; | 213 $newname =~ s/(Sora no Woto|Ichiban Ushiro no Daimaou|Mayoi Neko Overrun!) ([^ ]+|Opening Clean|Ending Clean|Theater - [a-z0-9]+) \[1080p BD\]\[AtsA\]/[AtsA] $1 - $2 [1080p BD]/; |
211 $newname =~ s/Battle\.Programmer\.Shirase\./Battle Programmer Shirase /; | 214 $newname =~ s/Battle\.Programmer\.Shirase\./Battle Programmer Shirase /; |
212 $newname =~ s/Battle Programmer Shirase - 0/Battle Programmer Shirase - /; | 215 $newname =~ s/Battle Programmer Shirase - 0/Battle Programmer Shirase - /; |
213 $newname =~ s/ Kuragehime / Princess Jellyfish /; | 216 $newname =~ s/ Kuragehime / Princess Jellyfish /; |
259 $newname =~ s/ TV Broadcast \[720p/ [LQ 720p/; | 262 $newname =~ s/ TV Broadcast \[720p/ [LQ 720p/; |
260 $newname =~ s/ ED(\d+[a-z]*)/ - Ending $1 /i; | 263 $newname =~ s/ ED(\d+[a-z]*)/ - Ending $1 /i; |
261 $newname =~ s/ OP(\d+[a-z]*)/ - Opening $1 /i; | 264 $newname =~ s/ OP(\d+[a-z]*)/ - Opening $1 /i; |
262 $newname =~ s/ ED / - Ending /; | 265 $newname =~ s/ ED / - Ending /; |
263 $newname =~ s/ Clean (Opening|Ending) v2/ - $1 (Clean) [v2]/i; | 266 $newname =~ s/ Clean (Opening|Ending) v2/ - $1 (Clean) [v2]/i; |
264 $newname =~ s/ Creditless Opening (\d+) / - Opening $1 (Clean) /i; | 267 $newname =~ s/ Creditless (Opening|Ending) (\d+) / - $1 $2 (Clean) /i; |
265 $newname =~ s/ Ep(\d+) Creditless Ending / - Ending $1 (Clean) /i; | 268 $newname =~ s/ Ep(\d+) Creditless Ending / - Ending $1 (Clean) /i; |
266 $newname =~ s/ (NCED|Ending Clean) / - Ending (Clean) /i; | 269 $newname =~ s/ (NCED|Ending Clean) / - Ending (Clean) /i; |
267 $newname =~ s/ NCED(\d+) / - Ending $1 (Clean) /i; | 270 $newname =~ s/ NCED(\d+) / - Ending $1 (Clean) /i; |
268 $newname =~ s/ (NCOP|Opening Clean) / - Opening (Clean)/i; | 271 $newname =~ s/ (NCOP|Opening Clean) / - Opening (Clean)/i; |
269 $newname =~ s/ OP / - Opening /; | 272 $newname =~ s/ OP / - Opening /; |
275 $newname =~ s/(\(|\[) *(720x480|10-?bit|10bit 480p H264|640x360|640x360 H264 AAC|h264\.aac|hi10p|10bit|\d+th Release|x264\.aac|xvid|divx5\.2\.1|divx5\.1|divx5\.05|divx5\.1\.1|h\.?264 AC3|848x480|H264 848x480|h264-480p AAC|h\.264-480p) *(\)|\])//i; | 278 $newname =~ s/(\(|\[) *(720x480|10-?bit|10bit 480p H264|640x360|640x360 H264 AAC|h264\.aac|hi10p|10bit|\d+th Release|x264\.aac|xvid|divx5\.2\.1|divx5\.1|divx5\.05|divx5\.1\.1|h\.?264 AC3|848x480|H264 848x480|h264-480p AAC|h\.264-480p) *(\)|\])//i; |
276 $newname =~ s/\[(DVD 10bit)\]/[DVD]/i; | 279 $newname =~ s/\[(DVD 10bit)\]/[DVD]/i; |
277 $newname =~ s/(\(|\[) *(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; | 280 $newname =~ s/(\(|\[) *(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; |
278 $newname =~ s/(\(|\[) *(BD\]\[1080p-FLAC|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; | 281 $newname =~ s/(\(|\[) *(BD\]\[1080p-FLAC|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; |
279 $newname =~ s/(\(|\[) *(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; | 282 $newname =~ s/(\(|\[) *(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; |
280 $newname =~ s/(\(|\[) *(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; | 283 $newname =~ s/(\(|\[) *(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; |
284 $newname =~ s/(\(|\[) *(BD 540p) *(\)|\])/[BD]/i; | |
281 $newname =~ s/(\(|\[) *(1024x576|H264 1024x576) *(\)|\])/[576p]/i; | 285 $newname =~ s/(\(|\[) *(1024x576|H264 1024x576) *(\)|\])/[576p]/i; |
282 $newname =~ s/(\(|\[) *(1920x1080) *(\)|\])/[1080p]/i; | 286 $newname =~ s/(\(|\[) *(1920x1080) *(\)|\])/[1080p]/i; |
283 ##SLICED BREAD pt.2 | 287 ##SLICED BREAD pt.2 |
284 $newname =~ s/(\d+)v(\d+)/$1 [v$2]/i; | 288 $newname =~ s/(\d+)v(\d+)/$1 [v$2]/i; |
285 $newname =~ s/\[BD\]\[1920x1080 H264-Flac\]/[1080p BD]/i; | 289 $newname =~ s/\[BD\]\[1920x1080 H264-Flac\]/[1080p BD]/i; |
426 $newname =~ s/ Ultraviolet Code - 044 - / Ultraviolet Code 044 - /; | 430 $newname =~ s/ Ultraviolet Code - 044 - / Ultraviolet Code 044 - /; |
427 $newname =~ s/ Persona - 3 Picture Drama - She Goes For A Walk / Persona 3 Picture Drama - She Goes For A Walk - /; | 431 $newname =~ s/ Persona - 3 Picture Drama - She Goes For A Walk / Persona 3 Picture Drama - She Goes For A Walk - /; |
428 $newname =~ s/ SP0/ - Special /; | 432 $newname =~ s/ SP0/ - Special /; |
429 $newname =~ s/ SP(\d+) / - Special $1 /; | 433 $newname =~ s/ SP(\d+) / - Special $1 /; |
430 $newname =~ s/ Special - / - Special /; | 434 $newname =~ s/ Special - / - Special /; |
435 $newname =~ s/ Animated Commentary - / - Animated Commentary /; | |
436 $newname =~ s/ Fullmetal Alchemist Brotherhood (- |)Skit - / Fullmetal Alchemist Brotherhood - Skit /i; | |
431 $newname =~ s/ - Picture Drama - / - Picture Drama /; | 437 $newname =~ s/ - Picture Drama - / - Picture Drama /; |
432 $newname =~ s/ (Mayoi Neko Overrun! - Theater) - / $1 /; | 438 $newname =~ s/ (Mayoi Neko Overrun! - Theater) - / $1 /; |
433 $newname =~ s/ Opening - / Opening /; | 439 $newname =~ s/ Opening - / Opening /; |
434 $newname =~ s/ Ending - / Ending /; | 440 $newname =~ s/ Ending - / Ending /; |
435 $newname =~ s/ Hidamari Sketch Hoshimittsu - Special / Hidamari Sketch Hoshimittsu Special - /; | 441 $newname =~ s/ Hidamari Sketch Hoshimittsu - Special / Hidamari Sketch Hoshimittsu Special - /; |