thomaschristensen / Pantomime

M3U8 parsing written in Swift
MIT License
76 stars 53 forks source link

Try to see if path is a URL #2

Closed jcarroll-mediafly closed 7 years ago

jcarroll-mediafly commented 8 years ago

This should do the job

jcarroll-mediafly commented 8 years ago

See issue #1

thomaschristensen commented 7 years ago

This change breaks the test where url's are relative. The test case uses the manifest obtained from http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8. Your suggested change to detect the full urls if specified lets relative urls slip through as well.

thomaschristensen commented 7 years ago

Fix applied on master branch