chrippa/livestreamer — pull request #50 by athoik (2012-11-27 19:31:45+00:00)
Title: Fix relative url from variant parsed playlists

Variant lists can contain relative urls. Currently when a url is parsed, is passed to HLSStream, no check is made if the url is relative.

A change was made to _relative_url (now is public classmethod), and urls passed on HLSStream now go through relative_url.

Example URL : http://alfatileorasi-i.akamaihd.net/hls/live/206280/alfatileorasi/master.m3u8

```
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=318547
master_Layer1.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=628521
master_Layer2.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=926263
master_Layer3.m3u8
```