code: def playlist_songs(self, playlist):
  		
  
  		playlist_type = playlist.get('type')
  
  		playlist_song_list = []
  		if playlist_type in ('USER_GENERATED', None):
  			start_token = None
  			playlist_song_list = []
  			while True:
  				response = self._call(
  					mc_calls.PlaylistEntryFeed,
  					max_results=49995,
  					start_token=start_token
  				)
  				items = response.body.get('data', {}).get('items', [])
  
  				if items:
  					playlist_song_list.extend(items)
  
  				start_token = response.body.get('nextPageToken')
  				if start_token is None:
  					break
  		elif playlist_type == 'SHARED':
  			playlist_share_token = playlist['shareToken']
  
  			start_token = None
  			playlist_song_list = []
  			while True:
  				response = self._call(
  					mc_calls.PlaylistEntriesShared,
  					playlist_share_token,
  					max_results=49995,
  					start_token=start_token
  				)
  				entry = response.body['entries'][0]
  				items = entry.get('playlistEntry', [])
  
  				if items:
  					playlist_song_list.extend(items)
  
  				start_token = entry.get('nextPageToken')
  				if start_token is None:
  					break
  
  		playlist_song_list.sort(key=itemgetter('absolutePosition'))
  
  		return playlist_song_list
docs: Get a listing of songs from a playlist.
  
  		Paramters:
  			playlist (dict): A playlist dict.
  
  		Returns:
  			list: Playlist song dicts.