Refine code as comments from fvacek for exporting m3u file feature.