Skip to content

[IDEA] Build a new dedicated "FCast Music Provider" (custom receiver) for Music Assistant? #86

Description

@Hedda

Use Cases

Suggest you consider building a dedicated/proper and native "FCast Music Provider" (custom receiver) for Music Assistant's server codebase:

  • https://developers.music-assistant.io/#building-a-new-music-provider

    "A Music Provider is the provider type that adds support for a 'source of music' to Music Assistant's server codebase. Spotify and Youtube Music are examples of a Music Provider, (but also local Filesystem and SMB can be put in the Music Provider category). All Providers can be found in the music_assistant/providers folder" in the Music Assistant server codebase (however note that those there are audio providers of all types and not only music providers).

The main purpose with this suggestion would be to have a native FCast custom receiver built-into Music Assistant server and that would help further promote the use of FCast as an optional alternative to other music providers it already supports (i.e. different music sources, e.g. custom receivers).

Maybe it could even be a good idea to also consider making an FCast "sender" as player provider inside Music Assistant as well?

Proposal

Tip there is a _demo_music_provider (and a _demo_player_provider) in the music_assistant/providers/ folder of Music Assistant's server codebase that can help get you started faster.

References

In case you did not know; "Music Assistant" (or "MA" for short, a sister-project to Home Assistant) is a free and open-source music library manager project from the Open Home Foundation, made to interlink your offline and online music sources so that you can easily stream your favourite music to a wide range of supported players and smart speakers as well as be combined with the power of Home Assistant:

The biggest benefit with Music Assistant is that it can connect to most streaming services as well as to most connected speakers. The server is the beating heart, the core of Music Assistant and it keeps track of your music sources. It must run on an always-on device like a Raspberry Pi, a NAS or an Intel NUC or alike. The server can access multiple music sources and stream to multiple player types.

Image

For a better summery read these three blog-posts from their MA 2.0 announcement onwards to better understand what Music Assistant is all about:

Easiest is to install Music Assistant server as an app/addon under Home Assistant Operating System (Home Assistant Operating OS installed on a Raspberry Pi or HAOS installed on a similar single-board-computer):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions