comparison bin/ren @ 583:0d928126fcf6

Update renames
author nanaya <me@myconan.net>
date Tue, 23 Feb 2016 15:52:19 +0900
parents ee4ce7e78d2d
children
comparison
equal deleted inserted replaced
582:3e051a850ecf 583:0d928126fcf6
256 $newname =~ s/Les Miserables Shoujo Cosette /Les Miserables /; 256 $newname =~ s/Les Miserables Shoujo Cosette /Les Miserables /;
257 $newname =~ s/\[Elysium\]Baka\.to\.Test\.to\.Shoukanjuu\.(EP)?/[Elysium] Baka to Test to Shokanju/; 257 $newname =~ s/\[Elysium\]Baka\.to\.Test\.to\.Shoukanjuu\.(EP)?/[Elysium] Baka to Test to Shokanju/;
258 $newname =~ s/\[Elysium\] Baka to Test to Shokanju/[Elysium] Baka to Test to Shokanju /; 258 $newname =~ s/\[Elysium\] Baka to Test to Shokanju/[Elysium] Baka to Test to Shokanju /;
259 $newname =~ s/ Baka to Test to Shou?kanjuu? / Baka to Test to Shokanju /; 259 $newname =~ s/ Baka to Test to Shou?kanjuu? / Baka to Test to Shokanju /;
260 $newname =~ s/\(BD\.1080p\.FLAC\)/[1080p BD]/; 260 $newname =~ s/\(BD\.1080p\.FLAC\)/[1080p BD]/;
261 $newname =~ s/\(1920x1080\) \[BD\]/[1080p BD]/i;
262 $newname =~ s/\[1080p\]\[BD\]/[1080p BD]/i;
261 $newname =~ s/Saizen & SD/Saizen-SD/; 263 $newname =~ s/Saizen & SD/Saizen-SD/;
262 $newname =~ s/Bleach - (\d{2}) /Bleach - 0$1 /; 264 $newname =~ s/Bleach - (\d{2}) /Bleach - 0$1 /;
263 $newname =~ s/Omamori Himari - ED \(Clean\) - 0(\d) / Omamori Himari - Ending $1 (Clean) /; 265 $newname =~ s/Omamori Himari - ED \(Clean\) - 0(\d) / Omamori Himari - Ending $1 (Clean) /;
264 $newname =~ s/Omamori Himari - Opening \(Clean\) - (\d{2}) / Omamori Himari - Opening $1 (Clean) /; 266 $newname =~ s/Omamori Himari - Opening \(Clean\) - (\d{2}) / Omamori Himari - Opening $1 (Clean) /;
265 $newname =~ s/\(B-A\)Great Teacher Onizuka - Lesson /[B-A] Great Teacher Onizuka - /; 267 $newname =~ s/\(B-A\)Great Teacher Onizuka - Lesson /[B-A] Great Teacher Onizuka - /;
477 $newname =~ s/\.DVD/ [DVD]/i; 479 $newname =~ s/\.DVD/ [DVD]/i;
478 $newname =~ s/ DVD / [DVD] /i; 480 $newname =~ s/ DVD / [DVD] /i;
479 $newname =~ s/\(DVD ?\)/ [DVD] /i; 481 $newname =~ s/\(DVD ?\)/ [DVD] /i;
480 $newname =~ s/ Ep(\d+) / - $1 /; 482 $newname =~ s/ Ep(\d+) / - $1 /;
481 $newname =~ s/ Ep(\d+)v2 / - $1 [v2]/; 483 $newname =~ s/ Ep(\d+)v2 / - $1 [v2]/;
482 $newname =~ s/ (\d+) / - $1 /; 484 #$newname =~ s/ (\d+) / - $1 /;
483 $newname =~ s/ (\d+)v(2|3) / $1 [v${2}]/; 485 $newname =~ s/ (\d+)v(2|3) / $1 [v${2}]/;
484 $newname =~ s/\[720x480 AR FLAC\]//i; 486 $newname =~ s/\[720x480 AR FLAC\]//i;
485 $newname =~ s/\[DVD 640x480\]/[DVD]/; 487 $newname =~ s/\[DVD 640x480\]/[DVD]/;
486 $newname =~ s/\[BD 1280x720\]/[720p BD]/i; 488 $newname =~ s/\[BD 1280x720\]/[720p BD]/i;
487 $newname =~ s/\[v(\d+) (1280x)(720)\]/[v$1 $3p]/i; 489 $newname =~ s/\[v(\d+) (1280x)(720)\]/[v$1 $3p]/i;
498 $newname =~ s/( -)+ / - /g; 500 $newname =~ s/( -)+ / - /g;
499 $newname =~ s/(\[|\()([0-9a-fA-F]{8})(\]|\))/[\U$2]/; 501 $newname =~ s/(\[|\()([0-9a-fA-F]{8})(\]|\))/[\U$2]/;
500 $newname =~ s/ +(\.\w{3})$/$1/; 502 $newname =~ s/ +(\.\w{3})$/$1/;
501 $newname =~ s/\[\]//g; 503 $newname =~ s/\[\]//g;
502 $newname =~ s/\(\)//g; 504 $newname =~ s/\(\)//g;
503 $newname =~ s/ - (\d+) - (\d+) / $1 - $2 /; 505 #$newname =~ s/ - (\d+) - (\d+) / $1 - $2 /;
504 #EXCEPTIONS 506 #EXCEPTIONS
505 $newname =~ s/^\[DB&L-E\]/[DB L-E]/; 507 $newname =~ s/^\[DB&L-E\]/[DB L-E]/;
506 $newname =~ s/ VS Knight Lamune & - 40 fire / VS Knight Lamune & 40 fire /; 508 $newname =~ s/ VS Knight Lamune & - 40 fire / VS Knight Lamune & 40 fire /;
507 $newname =~ s/ RAINBOW / Rainbow /; 509 $newname =~ s/ RAINBOW / Rainbow /;
508 $newname =~ s/ (Infinite Ryvius - Ryvius Illusion|Infinite Ryvius - Ryvius VJ Mix|Kara no Kyoukai - Cinema Intro) - / $1 /; 510 $newname =~ s/ (Infinite Ryvius - Ryvius Illusion|Infinite Ryvius - Ryvius VJ Mix|Kara no Kyoukai - Cinema Intro) - / $1 /;
554 $newname =~ s/ *(\.[^ ]+$)/$1/; 556 $newname =~ s/ *(\.[^ ]+$)/$1/;
555 $newname =~ s/(- )+/- /; 557 $newname =~ s/(- )+/- /;
556 $newname =~ s/^\[N - F\]/[N-F]/; 558 $newname =~ s/^\[N - F\]/[N-F]/;
557 $newname =~ s/^\[K-F & AKUPX\]/[K-F AKUPX]/; 559 $newname =~ s/^\[K-F & AKUPX\]/[K-F AKUPX]/;
558 $newname =~ s/^\[([&!\.\s\w\- ]+)\] (Love Get Chu|Air Master|Crystal Blaze|Fairy Tail|Yawara|Ultraviolet Code 044|Gintama|Prince of Tennis|Lupin III S2|Kyou Kara Maou|Bleach|Naruto|One Piece|Detective Conan) - (Ending \d+|Opening \d+|Special \d+|\d+|\d+-\d+) /$2 - $3 [$1]/; 560 $newname =~ s/^\[([&!\.\s\w\- ]+)\] (Love Get Chu|Air Master|Crystal Blaze|Fairy Tail|Yawara|Ultraviolet Code 044|Gintama|Prince of Tennis|Lupin III S2|Kyou Kara Maou|Bleach|Naruto|One Piece|Detective Conan) - (Ending \d+|Opening \d+|Special \d+|\d+|\d+-\d+) /$2 - $3 [$1]/;
561 $newname =~ s/ (Senran Kagura|Aquarion EVOL|Amagami SS Plus) - (Opening|Ending) 0/ $1 - $2 /;
559 $newname =~ s/^Naruto - (\d{2}) /Naruto - 0$1 /; 562 $newname =~ s/^Naruto - (\d{2}) /Naruto - 0$1 /;
560 $newname =~ s/^Fairy Tail - (\d{2}) /Fairy Tail - 0$1 /; 563 $newname =~ s/^Fairy Tail - (\d{2}) /Fairy Tail - 0$1 /;
561 $newname =~ s/^Naruto - (\d{2})-(\d{2}) /Naruto - 0$1-0$2 /; 564 $newname =~ s/^Naruto - (\d{2})-(\d{2}) /Naruto - 0$1-0$2 /;
562 $newname =~ s/\[(v\d+)\]\[(DVD)\]/[$1 $2]/i; 565 $newname =~ s/\[(v\d+)\]\[(DVD)\]/[$1 $2]/i;
563 if ($^O eq "MSWin32") { $newname =~ s/ *\\ */\\/g; } 566 if ($^O eq "MSWin32") { $newname =~ s/ *\\ */\\/g; }