1
0
Fork 0
mirror of https://github.com/badaix/snapcast synced 2025-02-22 14:54:30 +01:00
snapcast/server/streamreader
2025-01-21 22:25:04 +01:00
..
airplay_stream.cpp Reformat code 2025-01-09 15:06:35 +01:00
airplay_stream.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
alsa_stream.cpp Reformat code 2025-01-09 15:06:35 +01:00
alsa_stream.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
asio_stream.hpp Fix crash while calling Stream.RemoveStream 2025-01-19 22:46:24 +01:00
control_error.cpp Pass complete Settings struct around 2024-12-19 22:44:51 +01:00
control_error.hpp Fix common/message includes 2023-01-22 11:34:02 +01:00
file_stream.cpp Remove PosixStream layer 2024-03-13 20:27:13 +01:00
file_stream.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
jack_stream.cpp Reformat code 2025-01-09 15:06:35 +01:00
jack_stream.hpp Remove ImageCache instance from ServerSettings 2024-12-19 22:44:51 +01:00
librespot_stream.cpp Replace std::endl with "\n" 2025-01-07 20:29:16 +01:00
librespot_stream.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
meta_stream.cpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
meta_stream.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
metadata.cpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
metadata.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
pcm_stream.cpp controlscript must be located in plugin_dir 2025-01-21 22:25:04 +01:00
pcm_stream.hpp Fix crash while calling Stream.RemoveStream 2025-01-19 22:46:24 +01:00
pipe_stream.cpp Fix crash while calling Stream.RemoveStream 2025-01-19 22:46:24 +01:00
pipe_stream.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
process_stream.cpp Fix crash while calling Stream.RemoveStream 2025-01-19 22:46:24 +01:00
process_stream.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
properties.cpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
properties.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
README.meta Minor update of Spotify metadata description 2017-12-05 07:45:21 +01:00
stream_control.cpp controlscript must be located in plugin_dir 2025-01-21 22:25:04 +01:00
stream_control.hpp controlscript must be located in plugin_dir 2025-01-21 22:25:04 +01:00
stream_manager.cpp Make some functions const 2024-12-19 22:44:51 +01:00
stream_manager.hpp Make some functions const 2024-12-19 22:44:51 +01:00
stream_uri.cpp controlscript must be located in plugin_dir 2025-01-21 22:25:04 +01:00
stream_uri.hpp controlscript must be located in plugin_dir 2025-01-21 22:25:04 +01:00
tcp_stream.cpp Fix crash while calling Stream.RemoveStream 2025-01-19 22:46:24 +01:00
tcp_stream.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
watchdog.cpp Reformat code 2025-01-09 15:06:35 +01:00
watchdog.hpp Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00

Metadata tags
=============
The metatag interface will propegate anything to the client, ie no restrictions on the tags.
But, to avoid total confusion in the tag display app (like Kodi), we need some groundrules.

My suggestion is to stick with the Vorbis standard as described in:

	http://www.xiph.org/vorbis/doc/v-comment.html
	https://wiki.xiph.org/Field_names

In addition we should accept unique identifiers of the stream such as Spotify track ID or 
MusicBrainz id which can be used to lookup additional information online.

Example:
	ARTIST: Pink Floyd
	ALBUM: Dark Side of the Moon
	TITLE: Money
	METADATA_BLOCK_PICTURE: base64 (https://xiph.org/flac/format.html#metadata_block_picture) 


Parsing tags from streams
=========================
I've implemented parsing tags from Librespot, but, as Librespot doesn't export anything more than
track title I added a patch 'librespot-meta.patch' to apply to get artist/title.

TBH, the meta tag output from players are a mess, neither Librespot nor Shairport-sync associate
metadata with their audio interfaces, ie they don't even export metadata when the audio interface
supports it, at least Shairport-sync exports a ritch set of data. 

So, to get artist/album apply the patch to librespot and recompile, otherwise you will only get the 
track title.

Or, you can build librespot from https://github.com/frafall/librespot.git