]> git.draconx.ca Git - fvwmconf.git/commitdiff
mpdmenu: Update title menu cases.
authorNick Bowler <draconx@gmail.com>
Sat, 2 Aug 2008 19:18:52 +0000 (15:18 -0400)
committerNick Bowler <draconx@gmail.com>
Sat, 2 Aug 2008 19:18:52 +0000 (15:18 -0400)
scripts/mpdmenu.pl

index d2c4c2cc8584876ce096e972fcf85dc46fc67108..5a83987e8a340c4bb9099a276b948d1450770410 100755 (executable)
@@ -173,7 +173,7 @@ if (defined $album) {
        $menu = "MenuMPDTitle" unless defined $menu;
 
        # Open and close brackets.
-       my ($ob, $cb) = ("[\[~〜<(ー−-]", "[\]~〜>)ー−-]");
+       my ($ob, $cb) = ("[\[~〜<〈(ー−-]", "[\]~〜>〉)ー−-]");
 
        $_ = $title;
 
@@ -191,7 +191,7 @@ if (defined $album) {
        s/\s*-remix-$//; # Otherwise "D-THREAD -remix-" doesn't work right.
 
        # Deal with titles like "blah (ABC version)".
-       s/\s*$ob.*(style|mix|edit|edition|ver\.?|version|カラオケ)$cb?$//i;
+       s/\s*$ob.*(style|mix|edit|edition|ver\.?|version|melody|カラオケ)$cb?$//i;
 
        # Deal with titles like "blah (without XYZ)".
        s/\s*$ob\s*((e\.)?piano|english|japanese|inst|tv|without|w\/o|off|back|short|karaoke|game).*//i;