le-club-des

This commit is contained in:
gauthiier 2019-01-03 14:38:05 +01:00
parent 788b787276
commit 4e0ba79dd9
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@ func Connect() (net.Conn, error){
return stream_socket, nil return stream_socket, nil
} }
// ips, err := net.LookupIP("www.google.ca")
var sock net.Conn var sock net.Conn
host := config.Xcfg.Server.ADDR + ":" + strconv.Itoa(config.Xcfg.Server.PORT) host := config.Xcfg.Server.ADDR + ":" + strconv.Itoa(config.Xcfg.Server.PORT)
sock, err := net.Dial("tcp", host) sock, err := net.Dial("tcp", host)

View File

@ -85,7 +85,7 @@
</head> </head>
<body> <body>
<h1 id="pname">Playlist: {{.NAME}}</h1> <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="tname">Current Track: {{.CTRACK.NAME}}</h2>
<h2 id="aname">Current Album : {{.CALBUM.NAME}} - {{.CALBUM.MAKER}}</h2> <h2 id="aname">Current Album : {{.CALBUM.NAME}} - {{.CALBUM.MAKER}}</h2>