Revert "Tidal: Add explicit to album titles"
This reverts commit b7d360d850.
This commit is contained in:
@@ -150,7 +150,7 @@ const QString Song::kManuallyUnsetCover = "(unset)";
|
|||||||
const QString Song::kEmbeddedCover = "(embedded)";
|
const QString Song::kEmbeddedCover = "(embedded)";
|
||||||
|
|
||||||
const QRegExp Song::kAlbumRemoveDisc(" ?-? ((\\(|\\[)?)(Disc|CD) ?([0-9]{1,2})((\\)|\\])?)$");
|
const QRegExp Song::kAlbumRemoveDisc(" ?-? ((\\(|\\[)?)(Disc|CD) ?([0-9]{1,2})((\\)|\\])?)$");
|
||||||
const QRegExp Song::kAlbumRemoveMisc(" ?-? ((\\(|\\[)?)(Remastered|([0-9]{1,4}) *Remaster|Explicit) ?((\\)|\\])?)$");
|
const QRegExp Song::kAlbumRemoveMisc(" ?-? ((\\(|\\[)?)(Remastered|([0-9]{1,4}) *Remaster) ?((\\)|\\])?)$");
|
||||||
const QRegExp Song::kTitleRemoveMisc(" ?-? ((\\(|\\[)?)(Remastered|Live|Remastered Version|([0-9]{1,4}) *Remaster) ?((\\)|\\])?)$");
|
const QRegExp Song::kTitleRemoveMisc(" ?-? ((\\(|\\[)?)(Remastered|Live|Remastered Version|([0-9]{1,4}) *Remaster) ?((\\)|\\])?)$");
|
||||||
const QString Song::kVariousArtists("various artists");
|
const QString Song::kVariousArtists("various artists");
|
||||||
|
|
||||||
|
|||||||
@@ -974,10 +974,6 @@ int TidalRequest::ParseSong(Song &song, const QJsonObject &json_obj, const qint6
|
|||||||
QString album = json_album["title"].toString();
|
QString album = json_album["title"].toString();
|
||||||
QString cover = json_album["cover"].toString();
|
QString cover = json_album["cover"].toString();
|
||||||
|
|
||||||
if (json_obj.contains("explicit") && json_obj["explicit"].toBool()) {
|
|
||||||
album = album + " (Explicit)";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!allow_streaming) {
|
if (!allow_streaming) {
|
||||||
Warn(QString("Song %1 %2 %3 is not allowStreaming").arg(artist).arg(album).arg(title));
|
Warn(QString("Song %1 %2 %3 is not allowStreaming").arg(artist).arg(album).arg(title));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user