Skip to content

Trouble with finding my library #21

@bryguy1972

Description

@bryguy1972

I get the following error "plexapi.exceptions.NotFound: Invalid library section: Music".

I changed the name of my library to one word based upon an earlier issue, but it is still not working.
PlexBot | Traceback (most recent call last):

PlexBot | File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
PlexBot | "main", mod_spec)
PlexBot | File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
PlexBot | exec(code, run_globals)
PlexBot | File "/src/PlexBot/main.py", line 44, in
PlexBot | bot.add_cog(Plex(bot, **plex_args))
PlexBot | File "/src/PlexBot/bot.py", line 197, in init
PlexBot | self.music = self.pms.library.section(self.library_name)
PlexBot | File "/usr/local/lib/python3.7/site-packages/plexapi/library.py", line 57, in section
PlexBot | raise NotFound('Invalid library section: %s' % title)
PlexBot | plexapi.exceptions.NotFound: Invalid library section: Music
PlexBot exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions