le-club-des
This commit is contained in:
parent
683cce60ab
commit
ce232ce805
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user