code: def create_sonos_playlist_from_queue(self, title):
          
          # Note: probably same as Queue service method SaveAsSonosPlaylist
          # but this has not been tested.  This method is what the
          # controller uses.
          response = self.avTransport.SaveQueue([
              ('InstanceID', 0),
              ('Title', title),
              ('ObjectID', '')
          ])
          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 Sonos playlist from the current queue.
  
          Args:
              title: Name of the playlist
  
          :rtype: :py:class:`~.soco.data_structures.DidlPlaylistContainer`