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

Agent does not show up in list of agents #32

Closed
deweydb opened this issue Jan 15, 2022 · 4 comments
Closed

Agent does not show up in list of agents #32

deweydb opened this issue Jan 15, 2022 · 4 comments

Comments

@deweydb
Copy link

deweydb commented Jan 15, 2022

I have installed the plugin into my plugins folder by using git.
Screen Shot 2022-01-14 at 7 55 36 PM

I have noticed that for some reason the file permissions do look different than other plugins, do I need to fix this? what commands should i use to fix these permisisions?
eg this is another plugin, permissions slightly different:
Screen Shot 2022-01-14 at 7 56 36 PM

I also have error in my logs:

./Plex Media Server.1.log:Jan 14, 2022 19:26:52.271 [0x70000ab9e000] WARN - Request for plug-in [com.plexapp.agents.audnexus] but it doesn't exist.
./Plex Media Server.log:Jan 14, 2022 19:27:02.386 [0x7000022f2000] WARN - Request for plug-in [com.plexapp.agents.audnexus] but it doesn't exist.
./com.plexapp.system.log:2022-01-14 19:27:02,382 (70001016a000) :  INFO (agentservice:167) - Agents in com.plexapp.agents.audnexus not in info dictionary - pinging!
./com.plexapp.system.log:2022-01-14 19:27:02,382 (70001016a000) :  DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.agents.audnexus'
./com.plexapp.system.log:2022-01-14 19:27:02,394 (70001016a000) :  ERROR (networking:196) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.agents.audnexus'
./com.plexapp.system.log:2022-01-14 19:27:02,940 (70000e555000) :  DEBUG (runtime:717) - Handling request GET /system/messaging/clear_events/com.plexapp.agents.audnexus
./com.plexapp.system.log:2022-01-14 19:27:02,952 (70000e555000) :  DEBUG (runtime:814) - Found route matching /system/messaging/clear_events/com.plexapp.agents.audnexus
./com.plexapp.system.log:2022-01-14 19:27:03,575 (70000e555000) :  INFO (agentservice:175) - Receiving agent info from com.plexapp.agents.audnexus: [{'media_types': ['Artist'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'languages': ['en', 'de', 'fr', 'it'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'Audnexus Agent'}]
./com.plexapp.system.log:2022-01-14 19:27:03,589 (70000e555000) :  INFO (agentservice:175) - Receiving agent info from com.plexapp.agents.audnexus: [{'media_types': ['Artist'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'languages': ['en', 'de', 'fr', 'it'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'Audnexus Agent'}, {'media_types': ['Album'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'languages': ['en', 'de', 'fr', 'it'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'Audnexus Agent'}]
./com.plexapp.system.log.1:2022-01-14 19:26:52,266 (700009f27000) :  INFO (agentservice:167) - Agents in com.plexapp.agents.audnexus not in info dictionary - pinging!
./com.plexapp.system.log.1:2022-01-14 19:26:52,267 (700009f27000) :  DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.agents.audnexus'
./com.plexapp.system.log.1:2022-01-14 19:26:52,271 (700009f27000) :  ERROR (networking:196) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.agents.audnexus'
./com.plexapp.system.log.1:2022-01-14 19:26:52,759 (700009b24000) :  DEBUG (runtime:717) - Handling request GET /system/messaging/clear_events/com.plexapp.agents.audnexus
./com.plexapp.system.log.1:2022-01-14 19:26:52,760 (700009b24000) :  DEBUG (runtime:814) - Found route matching /system/messaging/clear_events/com.plexapp.agents.audnexus
./com.plexapp.system.log.1:2022-01-14 19:26:53,049 (700009b24000) :  INFO (agentservice:175) - Receiving agent info from com.plexapp.agents.audnexus: [{'media_types': ['Artist'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'languages': ['en', 'de', 'fr', 'it'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'Audnexus Agent'}]
./com.plexapp.system.log.1:2022-01-14 19:26:53,059 (700009b24000) :  INFO (agentservice:175) - Receiving agent info from com.plexapp.agents.audnexus: [{'media_types': ['Artist'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'languages': ['en', 'de', 'fr', 'it'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'Audnexus Agent'}, {'media_types': ['Album'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'languages': ['en', 'de', 'fr', 'it'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'Audnexus Agent'}]

Only have option for other plugin, no Audnexus option:
Screen Shot 2022-01-14 at 7 54 57 PM

Please help, I know its something stupid i'm overlooking but i'm stumped.

@djdembeck
Copy link
Owner

The file permissions look fine. Did you restart PMS after adding the plug-in?

@deweydb
Copy link
Author

deweydb commented Jan 15, 2022

Yes. Twice. It seems to see the plugin, but there is some errors in the logs. Is it because i'm on Mac OS?
Specifically this error:
./com.plexapp.system.log:2022-01-14 19:27:02,394 (70001016a000) : ERROR (networking:196) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.agents.audnexus'

When i try to manually access:
http://127.0.0.1:32400/:/plugins/com.plexapp.agents.audnexus

I get a 401 Authorized error screen.

@deweydb
Copy link
Author

deweydb commented Jan 15, 2022

OK i just solved it. I'm very sorry for wasting your time. It shows the agent there when i create a new library, i was trying to modify an existing library. i guess i had to create a new one first.
Screen Shot 2022-01-14 at 8 16 11 PM

@djdembeck
Copy link
Owner

Thanks for reporting the fix. You can't access the above url directly.

I'm guessing your previous music library was using a different scanner or made with an old version of PMS.

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

2 participants