Snippets to merge into selectPlaylist.py later on