Hallo Leute
Ich habe hier ein Script dass den Streamtitle ausliest.
Func _Shoutcast_GetListener($IP, $Port, $RecvLength = 10240)
Local $Connection = TCPConnect(TCPNameToIP($IP), $Port)
Local $Recv = ""
Local $Paket = "GET /7.html HTTP/1.1" & @CRLF & _
"Host: streamurl:8000" & @CRLF & _
"User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1" & @CRLF & _
"Connection: close" & @CRLF & @CRLF
TCPSend($Connection, $Paket)
Do
$Recv = TCPRecv($Connection, $RecvLength)
Until $Recv <> ""
TCPCloseSocket($Recv)
[/autoit][autoit][/autoit][autoit]$Recv = StringRegExp($Recv, "<body>(.*?)</body>", 1)
$Recv = $Recv[0]
$Recv = StringSplit($Recv, ",")
Return $Recv[$Recv[0]]
EndFunc ;==>_Shoutcast_GetListener
Jetzt möchte ich dass er aber auch die Listener anzeigt,ich bekomme es aber nicht hin.
Könnt Ihr mir da bitte helfen?
mfg. nils