[pbs] attempt to support m3u8 #2375 #1598

Needs some testing, but works.