Mercurial > ec-dotfiles
comparison bin/ren @ 450:27c5847dfe36
More rules.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Fri, 08 Feb 2013 00:19:45 +0700 |
parents | b6ff64346e71 |
children | ee4ce7e78d2d |
comparison
equal
deleted
inserted
replaced
449:e9b25cf035d9 | 450:27c5847dfe36 |
---|---|
54 $newname =~ s/\] Ebiten - Koritsu Ebisugawa Koukou Tenmon-Bu - /] Ebiten - /i; | 54 $newname =~ s/\] Ebiten - Koritsu Ebisugawa Koukou Tenmon-Bu - /] Ebiten - /i; |
55 $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; | 55 $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; |
56 $newname =~ s/\] Senyuu\. - /] Senyuu - /i; | 56 $newname =~ s/\] Senyuu\. - /] Senyuu - /i; |
57 $newname =~ s/\] Amnesia - /] Amnesia - /i; | 57 $newname =~ s/\] Amnesia - /] Amnesia - /i; |
58 $newname =~ s/\] Kotoura-san - /] Kotoura - /i; | 58 $newname =~ s/\] Kotoura-san - /] Kotoura - /i; |
59 $newname =~ s/\] Sasami-san\@Ganbaranai - /] Sasami\@Ganbaranai- /i; | 59 $newname =~ s/\] Sasami-san\@Ganbaranai - /] Sasami\@Ganbaranai - /i; |
60 $newname =~ s/\] Major OVA - World Series - /] Major World Series OVA - /i; | 60 $newname =~ s/\] Major OVA - World Series - /] Major World Series OVA - /i; |
61 $newname =~ s/\] D\.C\.( )?III ~Da Capo III~ /] Da Capo III /i; | 61 $newname =~ s/\] D\.C\.( )?III ~Da Capo III~ /] Da Capo III /i; |
62 $newname =~ s/\] Ore no Kanojo to Osananajimi ga Shuraba( )?Sugiru( - My Girlfriend and Childhood Friend Fight Too Much)? /] Ore no Kanojo to Osananajimi ga Shuraba Sugiru /i; | 62 $newname =~ s/\] Ore no Kanojo to Osananajimi ga Shuraba( )?Sugiru( - My Girlfriend and Childhood Friend Fight Too Much)? /] Ore no Kanojo to Osananajimi ga Shuraba Sugiru /i; |
63 $newname =~ s/\] Sukitte Ii na yo\. - /] Sukitte Iinayo - /i; | 63 $newname =~ s/\] Sukitte Ii na yo\. - /] Sukitte Iinayo - /i; |
64 $newname =~ s/\] .+80%8CK.+80%8D - /] K - /i; | 64 $newname =~ s/\] .+80%8CK.+80%8D - /] K - /i; |
65 $newname =~ s/\] Kono Naka ni Hitori Imouto ga Iru - /] Kono Naka ni Hitori Imouto ga Iru - /i; | 65 $newname =~ s/\] Kono Naka ni Hitori Imouto ga Iru - /] Kono Naka ni Hitori Imouto ga Iru - /i; |
66 $newname =~ s/\] Yakitate Japan (- |Ep)/] Yakitate!! Japan - /i; | 66 $newname =~ s/\] Yakitate Japan (- |Ep)/] Yakitate!! Japan - /i; |
67 $newname =~ s/\] Inu × Boku SS - /] Inu x Boku SS - /i; | 67 $newname =~ s/\] Inu × Boku SS - /] Inu x Boku SS - /i; |
68 $newname =~ s/\] Onii-chan Dakedo Ai Sae Areba Kankeinai Yo Ne - /] Onii-chan Dakedo Ai Sae Areba Kankeinai yo ne - /i; | |
68 $newname =~ s/\] 「K」 - /] K - /i; | 69 $newname =~ s/\] 「K」 - /] K - /i; |
69 $newname =~ s/\] Hidamari Sketch(×|×)Honeycomb - /] Hidamari Sketch x Honeycomb - /i; | 70 $newname =~ s/\] Hidamari Sketch(×|×)Honeycomb - /] Hidamari Sketch x Honeycomb - /i; |
70 $newname =~ s/\] Tasogare Otome × Amnesia - /] Tasogare Otome x Amnesia - /i; | 71 $newname =~ s/\] Tasogare Otome × Amnesia - /] Tasogare Otome x Amnesia - /i; |
71 $newname =~ s/\] Haiyore! Nyarlko-san - /] Haiyore! Nyarlko - /i; | 72 $newname =~ s/\] Haiyore! Nyarlko-san - /] Haiyore! Nyarlko - /i; |
72 $newname =~ s/\] Inu x Boku Secret Service - /] Inu x Boku SS - /i; | 73 $newname =~ s/\] Inu x Boku Secret Service - /] Inu x Boku SS - /i; |
322 $newname =~ s/ OP(\d+[a-z]*)/ - Opening $1 /i; | 323 $newname =~ s/ OP(\d+[a-z]*)/ - Opening $1 /i; |
323 $newname =~ s/ ED / - Ending /; | 324 $newname =~ s/ ED / - Ending /; |
324 $newname =~ s/ Clean (Opening|Ending) v2/ - $1 (Clean) [v2]/i; | 325 $newname =~ s/ Clean (Opening|Ending) v2/ - $1 (Clean) [v2]/i; |
325 $newname =~ s/ Creditless (Opening|Ending) (\d+) / - $1 $2 (Clean) /i; | 326 $newname =~ s/ Creditless (Opening|Ending) (\d+) / - $1 $2 (Clean) /i; |
326 $newname =~ s/ Ep(\d+) Creditless Ending / - Ending $1 (Clean) /i; | 327 $newname =~ s/ Ep(\d+) Creditless Ending / - Ending $1 (Clean) /i; |
328 $newname =~ s/ NC-?ED *(\d+) / - Ending $1 (Clean) /i; | |
329 $newname =~ s/ NC-?OP *(\d+) / - Opening $1 (Clean) /i; | |
327 $newname =~ s/ (NC-?ED|Ending Clean) / - Ending (Clean) /i; | 330 $newname =~ s/ (NC-?ED|Ending Clean) / - Ending (Clean) /i; |
328 $newname =~ s/ NC-?ED(\d+) / - Ending $1 (Clean) /i; | |
329 $newname =~ s/ (NC-?OP|Opening Clean) / - Opening (Clean)/i; | 331 $newname =~ s/ (NC-?OP|Opening Clean) / - Opening (Clean)/i; |
330 $newname =~ s/ NC-?OP(\d+) / - Opening $1 (Clean) /i; | |
331 $newname =~ s/ OP / - Opening /; | 332 $newname =~ s/ OP / - Opening /; |
332 $newname =~ s/ (\d+-\d+) / - $1 /; | 333 $newname =~ s/ (\d+-\d+) / - $1 /; |
333 $newname =~ s/ - - / - /g; | 334 $newname =~ s/ - - / - /g; |
334 $newname =~ s/ Ep / /ig; | 335 $newname =~ s/ Ep / /ig; |
335 ##SLICED BREAD | 336 ##SLICED BREAD |
340 #nothing | 341 #nothing |
341 $newname =~ s/(\(|\[) *(AVC|480p-AC3|10bit-&MP3|h264-10bit-&MP3|divx5\.2|H264 704x400|640x480 DivX511 120fps mp3|640x480 DivX511 mp3|h\.264-Hi10P|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; | 342 $newname =~ s/(\(|\[) *(AVC|480p-AC3|10bit-&MP3|h264-10bit-&MP3|divx5\.2|H264 704x400|640x480 DivX511 120fps mp3|640x480 DivX511 mp3|h\.264-Hi10P|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; |
342 #dvd | 343 #dvd |
343 $newname =~ s/(\(|\[) *(DVDRip Xvid 864x480 AC3|DVDRip 864x480|DVDRip 640x480|DVDRip h264 640x480 AAC|DVD, 480p|DVD\]\[1024x576 -|DVD H264 Hi10P 640x480|DVD Hi10P 640x480|DVD-480p-AAC|DVD x264 10-bit AC3|DVD 10bit) *(\)|\])/[DVD]/i; | 344 $newname =~ s/(\(|\[) *(DVDRip Xvid 864x480 AC3|DVDRip 864x480|DVDRip 640x480|DVDRip h264 640x480 AAC|DVD, 480p|DVD\]\[1024x576 -|DVD H264 Hi10P 640x480|DVD Hi10P 640x480|DVD-480p-AAC|DVD x264 10-bit AC3|DVD 10bit) *(\)|\])/[DVD]/i; |
344 #dvd again | 345 #dvd again |
345 $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; | 346 $newname =~ s/(\(|\[) *(DVD 712x480|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; |
346 #1080p BD | 347 #1080p BD |
347 $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; | 348 $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; |
348 #720p | 349 #720p |
349 $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; | 350 $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; |
350 #720p BD | 351 #720p BD |
351 $newname =~ s/(\(|\[) *(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; | 352 $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; |
352 #BD | 353 #BD |
353 $newname =~ s/(\(|\[) *(Blu-Ray|BD 540p) *(\)|\])/[BD]/i; | 354 $newname =~ s/(\(|\[) *(Blu-Ray|BD 540p) *(\)|\])/[BD]/i; |
354 #576p | 355 #576p |
355 $newname =~ s/(\(|\[) *(576p hi10|1024x576|H264 1024x576) *(\)|\])/[576p]/i; | 356 $newname =~ s/(\(|\[) *(576p hi10|1024x576|H264 1024x576) *(\)|\])/[576p]/i; |
356 #1080p | 357 #1080p |