So here is my little script:
#!/usr/bin/liquidsoap

set("server.telnet",true)
set("server.telnet.bind_addr","0.0.0.0")
enable_replaygain_metadata()
s = playlist(mode = "randomize","/home/tim/music/playlist.txt")
#s = amplify(1., override = "replay_gain", s)
s = amplify(1., override = "REPLAYGAIN_TRACK_GAIN", s)
output.icecast.vorbis(
                   host = "localhost",
                   port = 8000,
               password = xxxxxxxx,
            description = "Rock, Rhythm and Blues Radio!",
                    url = "http://banger.gimmel.org:8000/rock.ogg";,
                  genre = "Rock and Roll",
                  mount = "rock.ogg",
                  mksafe(s))
#This is album.ogg 
a = playlist(mode = "normal","/home/tim/music/playlist.txt")
a = amplify(1., override = "replay_gain", a)
output.icecast.vorbis(
                   host = "localhost",
                   port = 8001,
               password = "xxxxxxxxx",
            description = "Rock, Rhythm, and Blues Album Radio!",
                    url = "http://banger.gimmel.org:8001/album.ogg";,
                  genre = "Rock and Roll",
                  mount = "album.ogg",
                  mksafe(a))

So I am confused on actually using the replay_gain.  From reading documentation 
I first understood that amplify would look at metadata that matched 
"replay_gain", but after more reading and doing a ogginfo I see the actual tag 
is "REPLAYGAIN_TRACK_GAIN" (That sure would not match).  I used vorbisgain on 
all of my ogg files to set the gain.  So am I correct in my first stanza or is 
the 2nd stanza the correct config (or both wrong! :$ ).  Also since I 
"pre-treat" all my files, is "enable_replaygain_metadata()" necessary?  In 
reading docs it seems to indicate it is needed only for for the replaygain 
"protocol".(?)

Thanks for the help and advice.
Tim


------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to