Skip to content

[FEATURE REQUEST] Player Filter #29

@swever826

Description

@swever826

I think it would be cool to be able to filter the players that appear in the players list.

I would mainly use this to filter the players that are already in a group. For example, if I have 2 players in the living room and a group that's called 'Living Room Speakers', I would mainly use the speakers group to play music in my living room, so the 2 individual speakers will always be ignored.

I thought of 3 ways this can be accomplished. Please let me know if you think this feature is worth working on and if there is a better way to accomplish it.

  1. A local filter in the app that lets you select the players you want to filter out. Like the way it's implemented on the User Management settings in Music Assistant (In Music Assistant, it lets you select the players you want to show instead of the ones you want to filter out. Sadly I think this setting is not shared with the API and only used locally with the Music Assistant web client):
    File_20251229-083712.jpg

  2. A toggle to hide the players that are already in a group. This is a simpler solution, but only resolves a specific scenario. Although I don't know in which other scenario someone would want to filter the players list.

  3. I saw there is a parameter in the player model called hide_player_in_ui which gets the setting of a player that indicates when the player should be hidden. That could help filter the players the user wants to hide based on the status of the player (it even has the Always Hide option). I just don't know if that parameter is in the players information when you retrieve them with the Music Assistant API. Here is the player setting that sets that parameter:
    File_20251229-084441.jpg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions