This guide has been updated for elementaryOS v5.0+.
sudo apt-get update
sudo apt-get -y install software-properties-common
import ( | |
"bufio" | |
"bytes" | |
"fmt" | |
"net/http" | |
"strconv" | |
) | |
// GetStreamTitle get the current song/show in an Icecast stream | |
func (r *Radio) GetStreamTitle(streamUrl string) (string, error) { |
// Implementation in ES6 | |
function pagination(c, m) { | |
var current = c, | |
last = m, | |
delta = 2, | |
left = current - delta, | |
right = current + delta + 1, | |
range = [], | |
rangeWithDots = [], | |
l; |