Closed darrell-k closed 1 month ago
Would it be worth backporting this to 8.5?
"Works" aren't supported in 8.5.x, are they? Wouldn't this be a whole series of changes which eventually would conflict with the ones in 9.0?
It would just be the multiple album I'd fix for playlists and possibly the Releases.pm refactoring.
If you feel like it's a manageable amount of changes, then please create a PR. And at the same time try to merge that updated 8.5.2 to 9.0 to see about the impact trying to move forward. I personally lack the oversight to imagine what the changes you suggest would be...
This fixes some bugs I found during regression testing of my forthcoming "year fixes" PR:
Commands.pm::playlistcontrolCommand
Queries.pm::worksQuery
work_id
- this is purely a passthrough parameter.Queries.pm::_getTagDataForTracks
workId
of-1
(used when adding all works to the playlist from the Release Type category)Releases.pm:
$searchTags
- this is now done, we now use$pt->{searchTags}
, with the removal ofrole_id
and the addition of tags specific to each group. This ensures any other input search tags are passed through.push @searchTags, 'role_id:' . join(',', Slim::Schema::Contributor->contributorRoleIds);
- this is not needed in the grouping queries, because no role_id is the same as passing all roles.