M3U8 problems…

So i’m working on an addon that would read a list of m3u8 links that would stay up to date and streams them on kodi.
I’m currently stuck trying to figure out why certain m3u8s will play fine and others won’t..
for example:

Code:
http://192.95.33.51/live/RRW-dirm7J8IQcJeJM9oNw/1490066358/539125fdf85ba9fc38e2550c3c838e4d.m3u8|User-Agent=Mozilla%2F5.0%20(Windows%20NT%206.1%3B%20WOW64)%20AppleWebKit%2F537.36%20(​KHTML%2C%20like%20Gecko)%20Chrome%2F47.0.2526.106%20Safari%2F537.36

This without the user agent being added after it, won’t play… plays fine with the user agent being added after it.

Code:
http://nlds317.cdnak.neulion.com/nlds/nba/sac/as/live/sac_hd.m3u8

This on the other hand will not play regardless if user agent was added or not. both play fine on vlc. I’m just trying to figure out the process.

Thanks