aboutsummaryrefslogtreecommitdiffstats
path: root/src/VLCInput.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r--src/VLCInput.h6
1 files changed, 6 insertions, 0 deletions
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;