diff --git a/resources/lib/plex_api/base.py b/resources/lib/plex_api/base.py index c26d820f..a6837cad 100644 --- a/resources/lib/plex_api/base.py +++ b/resources/lib/plex_api/base.py @@ -16,12 +16,15 @@ METADATA_PROVIDERS = (('imdb', utils.REGEX_IMDB), ('tvdb', utils.REGEX_TVDB), ('tmdb', utils.REGEX_TMDB), ('anidb', utils.REGEX_ANIDB)) + + class Base(object): """ Processes a Plex media server's XML response xml: xml.etree.ElementTree element """ + def __init__(self, xml): self.xml = xml # which media part in the XML response shall we look at if several