Commit c63b5d27 authored by Nate Graham's avatar Nate Graham
Browse files

Also consider the .jpeg file extension for cover art

Added new strings rather than changing "jpg" to "jpe{0,1}g" in the
existing ones since it does not appear to be supported by
QRegularExpression.

BUG: 458526
FIXED-IN: 22.08.1
parent 220c110b
Pipeline #225614 passed with stage
in 5 minutes and 39 seconds
......@@ -70,14 +70,19 @@ public:
const QStringList constSearchStrings = {
QStringLiteral("*[Cc]over*.jpg")
,QStringLiteral("*[Cc]over*.jpeg")
,QStringLiteral("*[Cc]over*.png")
,QStringLiteral("*[Ff]older*.jpg")
,QStringLiteral("*[Ff]older*.jpeg")
,QStringLiteral("*[Ff]older*.png")
,QStringLiteral("*[Ff]ront*.jpg")
,QStringLiteral("*[Ff]ront*.jpeg")
,QStringLiteral("*[Ff]ront*.png")
,QStringLiteral("*[Aa]lbumart*.jpg")
,QStringLiteral("*[Aa]lbumart*.jpeg")
,QStringLiteral("*[Aa]lbumart*.png")
,QStringLiteral("*[Cc]over*.jpg")
,QStringLiteral("*[Cc]over*.jpeg")
,QStringLiteral("*[Cc]over*.png")
};
};
......
Supports Markdown
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