From 4e0ba79dd931305b76b674f680f94e4090380491 Mon Sep 17 00:00:00 2001 From: gauthiier Date: Thu, 3 Jan 2019 14:38:05 +0100 Subject: [PATCH] le-club-des --- icecast/icecast.go | 2 ++ www/tmpl/playlist.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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}}