Fix categories.json reference
Fix can not save config file
Fix gen m3u file