Mercurial > ec-dotfiles
comparison bin/ren @ 343:32897d383f97
[bin/ren] Even more rules.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sun, 25 Mar 2012 18:21:30 +0700 |
parents | e8b10a42ab54 |
children | 31da7601cace |
comparison
equal
deleted
inserted
replaced
342:4a37643931c4 | 343:32897d383f97 |
---|---|
45 $newname =~ s/ (Inazuma Eleven - )(\d{2}) / $1 0$2 /; | 45 $newname =~ s/ (Inazuma Eleven - )(\d{2}) / $1 0$2 /; |
46 $newname =~ s/\] *Pocket Monsters - (\d+) - .*\[(H264 |)SUB\]/] Pokemon - $1 /i; | 46 $newname =~ s/\] *Pocket Monsters - (\d+) - .*\[(H264 |)SUB\]/] Pokemon - $1 /i; |
47 $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; | 47 $newname =~ s/\] Fafner - /] Soukyuu no Fafner - /; |
48 $newname =~ s/\] Inu × Boku SS - /] Inu x Boku SS - /i; | 48 $newname =~ s/\] Inu × Boku SS - /] Inu x Boku SS - /i; |
49 $newname =~ s/\] Inu x Boku Secret Service - /] Inu x Boku SS - /i; | 49 $newname =~ s/\] Inu x Boku Secret Service - /] Inu x Boku SS - /i; |
50 $newname =~ s/\] Black Rock Shooter - 0/] Black Rock Shooter - /i; | |
50 $newname =~ s/\] Mashiro iro symphony - /] Mashiro-iro Symphony - /i; | 51 $newname =~ s/\] Mashiro iro symphony - /] Mashiro-iro Symphony - /i; |
51 $newname =~ s/\] To Aru Kagaku no Railgun /] Toaru Kagaku no Railgun /i; | 52 $newname =~ s/\] To Aru Kagaku no Railgun /] Toaru Kagaku no Railgun /i; |
52 $newname =~ s/\] To Aru Majutsu no Index /] Toaru Majutsu no Index /i; | 53 $newname =~ s/\] To Aru Majutsu no Index /] Toaru Majutsu no Index /i; |
53 $newname =~ s/\] Shakugan no Shana III /] Shakugan no Shana Final /i; | 54 $newname =~ s/\] Shakugan no Shana III /] Shakugan no Shana Final /i; |
54 $newname =~ s/\] Boku Ha Tomodachi Ga Sukunai - /] Boku wa Tomodachi ga Sukunai - /i; | 55 $newname =~ s/\] Boku Ha Tomodachi Ga Sukunai - /] Boku wa Tomodachi ga Sukunai - /i; |
303 #dvd v2 | 304 #dvd v2 |
304 $newname =~ s/ \[DVD\] v2/ [v2 DVD]/i; | 305 $newname =~ s/ \[DVD\] v2/ [v2 DVD]/i; |
305 #nothing | 306 #nothing |
306 $newname =~ s/(\(|\[) *(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; | 307 $newname =~ s/(\(|\[) *(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; |
307 #dvd | 308 #dvd |
308 $newname =~ s/(\(|\[) *(DVD\]\[1024x576 -|DVD Hi10P 640x480|DVD-480p-AAC|DVD x264 10-bit AC3|DVD 10bit) *(\)|\])/[DVD]/i; | 309 $newname =~ s/(\(|\[) *(DVD\]\[1024x576 -|DVD H264 Hi10P 640x480|DVD Hi10P 640x480|DVD-480p-AAC|DVD x264 10-bit AC3|DVD 10bit) *(\)|\])/[DVD]/i; |
309 #dvd again | 310 #dvd again |
310 $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; | 311 $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; |
311 #1080p BD | 312 #1080p BD |
312 $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; | 313 $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; |
313 #720p | 314 #720p |