shout: make the protocol configurable
Added configuration parameter "protocol" which lets the user choose from 3 shout protocols. This adds support for real shoutcast servers.
This commit is contained in:

committed by
Max Kellermann

parent
ff69f12259
commit
2139d8bba8
@@ -382,8 +382,12 @@ for encoding.
|
||||
.TP
|
||||
.B encoding <encoding>
|
||||
This specifies which output encoding to use. Should be either "ogg"
|
||||
or "mp3". The default is "ogg".
|
||||
or "mp3", "mp3" is needed for shoutcast streaming. The default is "ogg".
|
||||
.TP
|
||||
.B protocol <protocol>
|
||||
This specifies the protocol that wil be used to connect to the
|
||||
icecast/shoutcast server. The options are "shoutcast", "icecast1" and
|
||||
"icecast2". The default is "icecast2".
|
||||
.B user <username>
|
||||
This specifies the username to use when logging in to the icecast server. The
|
||||
default is "source".
|
||||
|
@@ -121,6 +121,7 @@ error_file "~/.mpd/mpd.error"
|
||||
# quality "5.0"
|
||||
# bitrate "128"
|
||||
# format "44100:16:1"
|
||||
# protocol "icecast2"
|
||||
# user "source" # optional
|
||||
# description "My Stream Description" # optional
|
||||
# genre "jazz" # optional
|
||||
|
Reference in New Issue
Block a user