diff options
author | Eric Wollesen <encoded@xmtp.net> | 2008-09-12 16:00:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-12 16:00:01 +0200 |
commit | 43ee3c3b366e6a8df088a5684431403f09138ffa (patch) | |
tree | 6c04cc4a9ea85e02020c23ac3f44274955776f93 /src/audioOutputs/audioOutput_shout_ogg.c | |
parent | 1333c392444fad9dc23f4d7a07c39fd275e72e4e (diff) | |
download | mpd-43ee3c3b366e6a8df088a5684431403f09138ffa.tar.gz mpd-43ee3c3b366e6a8df088a5684431403f09138ffa.tar.xz mpd-43ee3c3b366e6a8df088a5684431403f09138ffa.zip |
shout: send shout metadata
Support sending metadata to a shout server using shout_metadata_new()
and shout_metadata_add(). The Ogg Vorbis encoder does not support
this currently.
[mk: this patch was separated from Eric's patch "Refactor and cleanup
of shout Ogg and MP3 audio outputs", I added a description]
Diffstat (limited to 'src/audioOutputs/audioOutput_shout_ogg.c')
-rw-r--r-- | src/audioOutputs/audioOutput_shout_ogg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_shout_ogg.c b/src/audioOutputs/audioOutput_shout_ogg.c index c5b08a8c8..d0d1b6880 100644 --- a/src/audioOutputs/audioOutput_shout_ogg.c +++ b/src/audioOutputs/audioOutput_shout_ogg.c @@ -186,7 +186,9 @@ int init_encoder(struct shout_data *sd) return 0; } -int shout_ogg_encoder_send_metadata(struct shout_data * sd) +int shout_ogg_encoder_send_metadata(struct shout_data * sd, + mpd_unused char * song, + mpd_unused size_t size) { ogg_vorbis_data *od = &sd->od; |