playlist: Use 'index' instead of 'position' consistently