Commit d47bbc63 authored by Frerich Raabe's avatar Frerich Raabe

- Accept "," in the title, album and artist fields as well, fixes the

  testcase for the song "Religion, religion".

svn path=/trunk/kdemultimedia/juk/; revision=288281
parent e6dc7ead
......@@ -93,9 +93,9 @@ QString FileNameScheme::composeRegExp(const QString &s) const
{
KConfigGroupSaver saver(cfg, "TagGuesser");
substitutions[ 't' ] = cfg->readEntry("Title regexp", "([\\w\\s'&_]+)");
substitutions[ 'a' ] = cfg->readEntry("Artist regexp", "([\\w\\s'&_]+)");
substitutions[ 'A' ] = cfg->readEntry("Album regexp", "([\\w\\s'&_]+)");
substitutions[ 't' ] = cfg->readEntry("Title regexp", "([\\w\\s'&_,]+)");
substitutions[ 'a' ] = cfg->readEntry("Artist regexp", "([\\w\\s'&_,]+)");
substitutions[ 'A' ] = cfg->readEntry("Album regexp", "([\\w\\s'&_,]+)");
substitutions[ 'T' ] = cfg->readEntry("Track regexp", "(\\d+)");
substitutions[ 'c' ] = cfg->readEntry("Comment regexp", "([\\w\\s_]+)");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment