Bug 48771

Summary: Bug in audio/shout when using with SHOUTcast Server 1.9.2
Product: Ports & Packages Reporter: Justas Gurinavicius <raktas>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: raktas
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
shout.diff none

Description Justas Gurinavicius 2003-02-28 11:10:08 UTC
Shout is streaming client for icecast and shoutcast streaming servers.
It works well with SHOUTcast Server Version 1.9.2/FreeBSD4 (with -i key (Use old icy headers)),But if you try to enable title streaming (-t key) (without it clients don't see what song is playing). There are two problems why it doesn't work:
1. By default shoutcast expects source stremer connection on 8001 port, and listeners on 8000 port. (steamer port is listener_port+1). Shout streams mp3 music on port 8001 (from config file or command line), but title streaming is done on listener port through web admin interface.
(http://server:port//admin.cgi?pass=password&mode=updinfo&song=Song Title)
Without patch shout tries to update info on streamer, and not listener port and this doesn't work. I attached patch which reduces port number by one, which is right (listener) port number.
2. With this fix shout connects to right port, but still doesn't update song title. From shoutcast documentation I've found that now shoutcast accepts update post (see above) only with useragent Mozilla ant shout gives useragent Shout/0.8.0.  
Allso a link to shout source is broken. I provided own link:
http://www.raktas.net/~justas/shout/shout-0.8.0.tar.gz
Please add it to MASTER_SITES.

Fix: For broken link: http://www.raktas.net/~justas/shout/shout-0.8.0.tar.gz 
Attached below.
How-To-Repeat: Install SHOUTcast Server Version 1.9.2/FreeBSD4 server ant shout-0.8.0. Use port 8001 to connect for mp3 streaming, use key -i (without it shout runs in icecast mode), and -t key for title streaming. Titles will note be updated without a patch.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2003-09-01 04:07:25 UTC
State Changed
From-To: open->closed

Commited, thanks!