-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Check for KodiSyncQueue GetPluginSettings endpoint #862
Check for KodiSyncQueue GetPluginSettings endpoint #862
Conversation
to determine whether the plugin is enabled or not Fixes jellyfin#861
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #862 +/- ##
=======================================
Coverage 21.50% 21.51%
=======================================
Files 63 63
Lines 8629 8632 +3
Branches 1589 1589
=======================================
+ Hits 1856 1857 +1
- Misses 6749 6751 +2
Partials 24 24 ☔ View full report in Codecov by Sentry. |
If the plugin is not installed, this is no good. Doesn't trigger a warning in the UI and throws an error in the logs.
Not even hitting the If the plugin is installed, then things appear to work properly even without an admin user. |
We can add auth to this request, yes. However that's not the problem. The |
As mentioned in the issue (#861 (comment)), the |
Then I think the suggestion above could fix it, as long as the proper exception is caught. |
Should've known that all the layers of requests abstraction would bite me here. Properly catching the proper exception (which I naively assumed it already was) is the solution here. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied the changes to one of my chromecast instances to test it.
Upon start, library is synced again, so good for me.
To determine whether the plugin is enabled or not.
Does not check if any of the items to track settings are enabled, but assumes at least one of them are.
Fixes #861