From ce232ce805020414eb19a823e62e008e1a279baf Mon Sep 17 00:00:00 2001 From: gauthiier Date: Thu, 3 Jan 2019 14:38:05 +0100 Subject: [PATCH] le-club-des --- config.ini | 4 ++-- icecast/icecast.go | 2 ++ www/tmpl/playlist.html | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config.ini b/config.ini index 9f5c621..672d4b9 100644 --- a/config.ini +++ b/config.ini @@ -1,8 +1,8 @@ [server] name = iceice-server -addr = 192.168.1.80 -port = 8088 +addr = 85.149.50.45 +port = 8718 mount = wwww usr = source pwd = R1t4R1t4 diff --git a/icecast/icecast.go b/icecast/icecast.go index 4fe55a3..566d9e5 100644 --- a/icecast/icecast.go +++ b/icecast/icecast.go @@ -31,6 +31,8 @@ func Connect() (net.Conn, error){ return stream_socket, nil } + // ips, err := net.LookupIP("www.google.ca") + var sock net.Conn host := config.Xcfg.Server.ADDR + ":" + strconv.Itoa(config.Xcfg.Server.PORT) sock, err := net.Dial("tcp", host) diff --git a/www/tmpl/playlist.html b/www/tmpl/playlist.html index 6f5f888..9589f79 100644 --- a/www/tmpl/playlist.html +++ b/www/tmpl/playlist.html @@ -85,7 +85,7 @@

Playlist: {{.NAME}}

- +

Current Track: {{.CTRACK.NAME}}

Current Album : {{.CALBUM.NAME}} - {{.CALBUM.MAKER}}