playlist: make some functions static