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

[Fork] Metadata #310

Closed
frafall opened this issue Nov 20, 2017 · 2 comments
Closed

[Fork] Metadata #310

frafall opened this issue Nov 20, 2017 · 2 comments

Comments

@frafall
Copy link
Contributor

frafall commented Nov 20, 2017

I'm looking into supporting metadata in Snapcast, first commit done. Basically I maintain a per stream struct containing (Artist, Album, Track) and push it to the listening clients, this should be possible to use for album art as well.
For testing I included track pattern search in the Libreelec stderr pattern matching to update the stream metadata. To support more I tags would need a modified Librespot. Simular could be implemented for Shairport-sync (Airplay) streams.
For generic named pipes I'm planning to add a generic json interface to set stream tags and client side some kind of hooks to push stream tags (a callable script, a pipe? ideas?)

I would so wish that ppl who implemented audio interfaces pushed the metadata to the interface implementation, Pulseaudio has a relatively standard property interface for metadata, why haven't Shairport-sync and Libreelec implemented this in their pulseaudio interface? Or to stdout/stderr interface?

-frafall

@palitu
Copy link

palitu commented Nov 20, 2017 via email

@frafall
Copy link
Contributor Author

frafall commented Nov 25, 2017

Any ideas on where snapclient should send metadata?
Looking around there are solutions with named pipes, udp packets, scripts 'on_metadata_update.sh'.

To avoid complexity I', thinking about adding a command line '-m <script>' triggered on metadata update with metadata in environment.

Ideas?

@badaix badaix closed this as completed Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants