snapcast/server/streamreader
2019-12-05 23:01:18 +01:00
..
airplay_stream.cpp Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
airplay_stream.hpp Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
asio_stream.hpp Switch from deadline_timer to steady_timer 2019-12-05 23:01:18 +01:00
base64.cpp add clang-format file 2019-09-24 22:42:36 +02:00
base64.h add clang-format file 2019-09-24 22:42:36 +02:00
file_stream.cpp Clean up AsioStream reader code 2019-12-01 11:38:55 +01:00
file_stream.hpp Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
librespot_stream.cpp Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
librespot_stream.hpp Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
pcm_stream.cpp Reformat code 2019-12-01 22:06:50 +01:00
pcm_stream.hpp Clean up AsioStream reader code 2019-12-01 11:38:55 +01:00
pipe_stream.cpp Switch from deadline_timer to steady_timer 2019-12-05 23:01:18 +01:00
pipe_stream.hpp Switch PipeStream to read from stream_descriptor 2019-12-03 00:21:32 +01:00
process.hpp reformat code 2019-09-24 22:52:31 +02:00
process_stream.cpp Clean up AsioStream reader code 2019-12-01 11:38:55 +01:00
process_stream.hpp Clean up AsioStream reader code 2019-12-01 11:38:55 +01:00
README.meta Minor update of Spotify metadata description 2017-12-05 07:45:21 +01:00
stream_manager.cpp Rename experimental.tcp to tcp 2019-11-28 22:31:03 +01:00
stream_manager.hpp Add experimental TCP and UDP streams 2019-11-24 18:24:39 +01:00
stream_uri.cpp Path component in URI is optional 2019-11-27 22:59:12 +01:00
stream_uri.hpp rename files to snake_case 2019-10-12 18:28:29 +02:00
tcp_stream.cpp Switch from deadline_timer to steady_timer 2019-12-05 23:01:18 +01:00
tcp_stream.hpp Switch from deadline_timer to steady_timer 2019-12-05 23:01:18 +01:00
watchdog.cpp add clang-format file 2019-09-24 22:42:36 +02:00
watchdog.h add clang-format file 2019-09-24 22:42:36 +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