lua/match_url_to_playlist_script.c: Rewrite with style changes