[mythtv] MythMusic CD rip file template processing

Robin Gilks g8ecj at gilks.org
Sat Aug 5 23:37:56 UTC 2006

I want to rip CDs to the format
   "artist - album/tracknumber - title"
I set the rip template to

but Ripper::handleFileTokens() drops the match before the first '-' so I
end up with
    "album/tracknumber - title"

If I set
as the template (i.e. replace the '-' with '/') then I get the expected
   "artist/album/tracknumber - title"

Can some QRegExp guru check the regexp string at line 560 in cdrip.cpp
because as far as I can see, thats where the problem is. I've tried
dumping rx.capturedTexts()[0] to see what the complete match string is but
I must be missing something with the definition of QRegExp because it only
contains the first word :-(

Robin Gilks

More information about the mythtv-dev mailing list