def photo(self, title):
for photo in self.photos():<EOL><INDENT>if photo.title.lower() == title.lower():<EOL><INDENT>return photo<EOL><DEDENT><DEDENT>raise NotFound('<STR_LIT>' % title)<EOL>
Returns the :class:`~plexapi.photo.Photo` that matches the specified title.