le-club-des

This commit is contained in:
gauthiier 2019-01-03 14:38:05 +01:00
parent 683cce60ab
commit ce232ce805
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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)

View File

@ -85,7 +85,7 @@
</head>
<body>
<h1 id="pname">Playlist: {{.NAME}}</h1>
<audio controls src="http://192.168.1.80:8088/wwww"></audio>
<audio controls src="http://le-club-des-sans-sujet.host:8718/wwww"></audio>
<h2 id="tname">Current Track: {{.CTRACK.NAME}}</h2>
<h2 id="aname">Current Album : {{.CALBUM.NAME}} - {{.CALBUM.MAKER}}</h2>