code: def create_sonos_playlist(self, title):
          
          response = self.avTransport.CreateSavedQueue([
              ('InstanceID', 0),
              ('Title', title),
              ('EnqueuedURI', ''),
              ('EnqueuedURIMetaData', ''),
          ])
  
          item_id = response['AssignedObjectID']
          obj_id = item_id.split(':', 2)[1]
          uri = "file:///jffs/settings/savedqueues.rsq#{0}".format(obj_id)
  
          res = [DidlResource(uri=uri, protocol_info="x-rincon-playlist:*:*:*")]
          return DidlPlaylistContainer(
              resources=res, title=title, parent_id='SQ:', item_id=item_id)
docs: Create a new empty Sonos playlist.
  
          Args:
              title: Name of the playlist
  
          :rtype: :py:class:`~.soco.data_structures.DidlPlaylistContainer`