def moveItem(self, item, after=None):
key = '<STR_LIT>' % (self.key, item.playlistItemID)<EOL>if after:<EOL><INDENT>key += '<STR_LIT>' % after.playlistItemID<EOL><DEDENT>result = self._server.query(key, method=self._server._session.put)<EOL>self.reload()<EOL>return result<EOL>
Move a to a new position in playlist.