Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Podcasts and other players on future3 #2116

Open
pabera opened this issue Nov 18, 2023 · 2 comments · May be fixed by #2164
Open

Podcasts and other players on future3 #2116

pabera opened this issue Nov 18, 2023 · 2 comments · May be fixed by #2164
Labels
enhancement future3 Relates to future3 development
Milestone

Comments

@pabera
Copy link
Collaborator

pabera commented Nov 18, 2023

There are several threads and discussions about streaming services on the Phoniebox. Specifically Spotify has been requested multiple times. In V2.x, Spotify was implemented through Mopidy, a media server build for Raspberry Pi usage. It is essentially an opponent to the Phoniebox software. Alongside the MPD player, Mopidy was installed when users required Spotify support. Lot's of wiring had to happen in order to show the progress of the player as well as the RFID set up to it. Through plugins, Mopdiy can be extended.

For future3, we decided to completely rewrite the Phoniebox and the Webapp, which works pretty well. But we don't have third-party services support. To achieve that, a few things are required.

  1. future3 has a single player class, which is tightly wired to MPD. In order to support other players (regardless whether they are streaming or bare podcasts), the player class needs to support multiple players.
  2. A library needs to be implemented to manage the individual audio sources, like podcasts or streaming services. The question is, do libraries exist to implement them?

Installing Mopidy simultaneously to get streaming service support is counterproductive, as it will reduce the performance of the Phoniebox drastically. Otherwise, maybe it's a better approach to rely on such music servers rather than building some proprietary.

Since this is a big investment, I'd like to prevent individuals to move on and just publish a PR. I'd like to use the thread to discuss options and options going forward and then some people can commit to build it going forward.

Thoughts?

@pabera pabera added the future3 Relates to future3 development label Nov 18, 2023
@s-martin
Copy link
Collaborator

I think a "plugin audio system" could be a nice approach, i.e. each audio source is a plugin. This would mean that we would need to design an architecture and probably provide 1-2 "reference plugins", e.g. MPD and Spotify (which is probably the most popular).

For that we need probably dedicated owners/maintainers for each plugin.

@s-martin s-martin pinned this issue Nov 18, 2023
@s-raeuchle
Copy link

I like the plugin idea and I think a Mopidy Plugin is not the badest thing...because you are able to choose. If People do not care about Performance, let them listen to music using heavy Mopidy.

If someone writes a better plugin, people will just switch. Tidal e.g. started now an official web api (beta without playback) https://github.com/orgs/tidal-music/discussions

Not sure what it takes to implement a plugged Audio Source, especially if you have enabled multiple audio sources.

A Interface would be very nice, so everyone is able to follow the plugin audio source standards.

@s-martin s-martin linked a pull request Feb 1, 2024 that will close this issue
@pabera pabera added this to the v3.6 milestone Mar 21, 2024
@pabera pabera linked a pull request Mar 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement future3 Relates to future3 development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants