[Musicpd-dev-team] icy support for httpd output

2009-04-06 Thread Hagen Schink
Hello,

I attached a first proposal for a patch that adds icy metadata support for mpds 
httpd output.

Here are some explanations on how the patch works:

httpd_output_plugin.c
- httpd_output_tag():
 builds an icy metadata string and sends a struct page to the clients 

httpd_client.c
- httpd_client_send_response():
 sends an icy header if the client requested one

- httpd_client_out_event():
 counts the sent data
 sends the icy string if the client hasn't received one yet
 sends a zero byte if the client has already received the current tag


Known issues and improvements

- metadata will not be sent on the first connect of a client (easy to improve)
- icy string build isn't aware of NULL tags (easy to improve)

Furthermore I experienced issues with VLC, it seems it isn't able to read my 
icy data but there are no sound errors, though. MOC for example works perfect. 
Would be nice to get some feedback on the behaviour of other audio players.

Recommendations, hints or other comments concerning the patch are very welcome! 
:)

Cheers,
Hagen


icy-metadata.patch
Description: Binary data
--
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] git account request

2009-04-06 Thread Hagen Schink
Hi,

here are the requested information:

1. Hagen Schink
2. hagen.sch...@st.ovgu.de
3. hschink
4. mpd
5. Public SSH key attached


id_dsa.pub
Description: Binary data
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team