fixing m3u link calculation