code: def sections(self):
          
          key = '/library/sections'
          sections = []
          for elem in self._server.query(key):
              for cls in (MovieSection, ShowSection, MusicSection, PhotoSection):
                  if elem.attrib.get('type') == cls.TYPE:
                      section = cls(self._server, elem, key)
                      self._sectionsByID[section.key] = section
                      sections.append(section)
          return sections
docs: Returns a list of all media sections in this library. Library sections may be any of
              :class:`~plexapi.library.MovieSection`, :class:`~plexapi.library.ShowSection`,
              :class:`~plexapi.library.MusicSection`, :class:`~plexapi.library.PhotoSection`.