🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(server): role filters in Smart Playlists.
Deluan5ad9f546b2b3
diff --git a/model/tag_mappings.go b/model/tag_mappings.goindex f0f8ac2f0..76b54df17 100644--- a/model/tag_mappings.go+++ b/model/tag_mappings.go@@ -200,9 +200,9 @@ func init() {conf.AddHook(func() {loadTagMappings()- // This is here to avoid cyclic imports. The criteria package needs to know all tag names, so they can be used in- // smart playlists- criteria.AddTagNames(tagNames())+ // This is here to avoid cyclic imports. The criteria package needs to know all tag names, so they can be+ // used in smart playlistscriteria.AddRoles(slices.Collect(maps.Keys(AllRoles)))+ criteria.AddTagNames(tagNames())})}