Don't throw an exception if there are no segments in a media playlist

A poorly operating live stream might publish media playlist before any segments are available. If that happens, keep checking back for updates instead of throwing an exception and dying.

@seniorflexdeveloper: this overlaps with one of the fixes in #38. If you are going to capture all this in your PR, I'm happy to close this one.