snapcast/server/streamreader
2021-12-19 14:56:47 +01:00
..
airplay_stream.cpp Use utils::file::exists instead of std::filesystem 2021-12-18 22:48:39 +01:00
airplay_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
alsa_stream.cpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
alsa_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
asio_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
base64.cpp Add support for cover raw images 2021-09-06 22:19:35 +02:00
base64.h add clang-format file 2019-09-24 22:42:36 +02:00
control_error.cpp canControl must be true for property requests 2021-12-17 09:15:39 +01:00
control_error.hpp Add control functions to PcmStream 2021-07-04 21:33:45 +02:00
file_stream.cpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
file_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
librespot_stream.cpp Add spotify logo as meta data 2021-12-19 14:56:47 +01:00
librespot_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
meta_stream.cpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
meta_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
metadata.cpp Rename MetaTags to MetaData 2021-12-09 22:09:32 +01:00
metadata.hpp Rename MetaTags to MetaData 2021-12-09 22:09:32 +01:00
pcm_stream.cpp lower log level 2021-12-19 14:56:47 +01:00
pcm_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
pipe_stream.cpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
pipe_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
posix_stream.cpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
posix_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
process_stream.cpp Use utils::file::exists instead of std::filesystem 2021-12-18 22:48:39 +01:00
process_stream.hpp Remove utils::file::exists 2021-12-18 15:16:59 +01:00
properties.cpp Rename MetaTags to MetaData 2021-12-09 22:09:32 +01:00
properties.hpp Change control parameters to lower case 2021-12-17 18:43:10 +01:00
README.meta Minor update of Spotify metadata description 2017-12-05 07:45:21 +01:00
stream_control.cpp Use utils::file::exists instead of std::filesystem 2021-12-18 22:48:39 +01:00
stream_control.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
stream_manager.cpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
stream_manager.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
stream_uri.cpp Fix Windows compile error 2021-05-03 10:03:54 +02:00
stream_uri.hpp Switch stream readers to use asio event loop 2020-01-03 22:40:34 +01:00
tcp_stream.cpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
tcp_stream.hpp Rename PcmListener to PcmStream::Listener 2021-12-12 12:19:46 +01:00
watchdog.cpp Use strand executors 2021-09-18 11:11:34 +02:00
watchdog.hpp Use strand executors 2021-09-18 11:11:34 +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