Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with finding my library #21

Open
bryguy1972 opened this issue Sep 26, 2021 · 0 comments
Open

Trouble with finding my library #21

bryguy1972 opened this issue Sep 26, 2021 · 0 comments

Comments

@bryguy1972
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant