#254: Shoutcast-way of sending metadatas support
-------------------------+--------------------------------------------------
  Reporter:  Azrael      |       Owner:  admin              
      Type:  Feature     |      Status:  new                
  Priority:  1           |   Milestone:                     
 Component:  Liquidsoap  |     Version:                     
Resolution:              |    Keywords:  shoutcast, metadata
       Mac:  1           |       Linux:  1                  
    Netbsd:  1           |       Other:  1                  
   Freebsd:  1           |  
-------------------------+--------------------------------------------------
Comment (by Gilou):

 It seems that ICY enabled server answer the source request with:
 {{{
 OK2\r\nicy-caps:11\r\n\r\n
 }}}

 rather than simply "OK\r\n\r\n"

 Roughly, this patch should make you able to test it..


 {{{
 Index: harbor.ml
 ===================================================================
 --- harbor.ml   (révision 6437)
 +++ harbor.ml   (copie de travail)
  -442,7 +442,7 @@
            | Get when not icy ->
                handle_get_request socket huri headers
            | Shout when icy ->
 -              write_answer ~keep:true socket "OK\r\n\r\n" ;
 +              write_answer ~keep:true socket "OK2\r\nicy-caps:11\r\n\r\n"
 ;
                handle_source_request ~icy:true hprotocol socket huri
 headers
            | Invalid s ->
                let er = if icy then "ICY " else "" in
 }}}

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/254#comment:6>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to