Ugh, got it working. It was because of my fail copy and paste from your code box.
[php] Private Function getLinkFromPlaylist(ByVal pathToPlaylist As String)
Dim playlist As String = IO.File.ReadAllText(pathToPlaylist)
Dim splitConfig() As String
splitConfig = playlist.Split(vbNewLine)
Dim fileRegex = New System.Text.RegularExpressions.Regex(".+://")
For Each value In splitConfig
If fileRegex.Match(value).Success Then
Dim s() As String
s = value.Split("=")
Return s(1)
End If
Next
Return Nothing
End Function[/php]
Feel free to use my or Hassan's one. His one is probably better to use but it's up to you. This requires the playlist to be saved locally so, lol. You could easily modify my code to read a playlist using a WebClient.