Added initial implementation of inline remixers
First implementation is a bit of a hardcode; working on making it work with all artist relations. Will then add a config flag or something for it to be user-toggleable.
This commit is contained in:
@@ -437,6 +437,13 @@ namespace lms::ui
|
||||
entry->bindWidget("artists-md", utils::createArtistDisplayNameWithAnchors(track->getArtistDisplayName(), artists));
|
||||
}
|
||||
|
||||
const auto remixers{ track->getArtistIds({ TrackArtistLinkType::Remixer }) };
|
||||
if (!remixers.empty())
|
||||
{
|
||||
entry->setCondition("if-has-remixers", true);
|
||||
entry->bindWidget("remixers", utils::createArtistDisplayNameWithAnchors(track->getArtistDisplayName(), remixers));
|
||||
}
|
||||
|
||||
auto trackNumber{ track->getTrackNumber() };
|
||||
if (trackNumber)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user