From 5637664fcbe18b05a773d6db621a94de76e07817 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 12 Apr 2015 08:46:12 +0200 Subject: VLC can write ICY Text into a file for mot-encoder --- src/VLCInput.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/VLCInput.h') diff --git a/src/VLCInput.h b/src/VLCInput.h index f97b9d9..ec7c80e 100644 --- a/src/VLCInput.h +++ b/src/VLCInput.h @@ -63,6 +63,10 @@ class VLCInput */ ssize_t read(uint8_t* buf, size_t length); + /* Write the last received ICY-Text to the + * file. + */ + void write_icy_text(const std::string& filename) const; // Callbacks for VLC @@ -97,6 +101,8 @@ class VLCInput unsigned m_channels; int m_rate; + std::string m_nowplaying; + // VLC pointers libvlc_instance_t *m_vlc; libvlc_media_player_t *m_mp; -- cgit v1.2.3