TTX 0 Posted November 4, 2020 Posted November 4, 2020 (edited) Hi there i cant Change notifications, if i try to config a Plugin and choose a user...emby shows a infinite loading animation. Someone got a idea whats going in? Edited November 4, 2020 by TTX
Happy2Play 9781 Posted November 4, 2020 Posted November 4, 2020 Can you post a server log. Also are there errors in the browser console when you do this action? What browser and version number?
TTX 0 Posted November 23, 2020 Author Posted November 23, 2020 Sorry for the late response . Browser Version doesnt matter...the Problem occurs on every Browser. Plugin the Same, i tried telegram and growly. Which log you need or where can i find it?
Luke 42080 Posted November 23, 2020 Posted November 23, 2020 Does the browser debug console show any errors? The developers of those plugins will likely need to update them.
TTX 0 Posted November 24, 2020 Author Posted November 24, 2020 Seems so: appRouter - processing path request /web#!/notificationsettings.html router.js?v=4.5.2.0:1 appRouter - user is authenticated 2apiclient.js?v=4.5.2.0:1 Sending web socket message: ActivityLogEntryStop router.js?v=4.5.2.0:1 appRouter - processing path request /web#!/notificationsettings.html router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web#!/notificationsettings.html router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web/configurationpage router.js?v=4.5.2.0:1 appRouter - user is authenticated configurationpage?name=user_playback_report.js&v=4.5.2.0:25 getUserActivity Url = https://emby.domain/user_usage_stats/type_filter_list configurationpage?name=user_playback_report.js&v=4.5.2.0:25 getUserActivity Url = https://emby.domain/user_usage_stats/user_list?stamp=1606251055074 configurationpage?name=user_playback_report.js&v=4.5.2.0:25 getUserActivity Url = https://emby.domain/user_usage_stats/PlayActivity?filter=Episode,Movie,TvChannel&days=28&end_date=2020-11-24&data_type=time&stamp=1606251055074 configurationpage?name=user_playback_report.js&v=4.5.2.0:48 draw_graph called configurationpage?name=user_playback_report.js&v=4.5.2.0:195 destroy() existing chart configurationpage?name=user_playback_report.js&v=4.5.2.0:251 Chart Done router.js?v=4.5.2.0:1 appRouter - processing path request /web#!/logs router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web#!/notificationsettings.html router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web/notificationsetting.html router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web#!/notificationsettings.html router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web/notificationsetting.html router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web#!/notificationsettings.html router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web/notificationsetting.html router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web#!/notificationsettings.html router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web#!/plugins router.js?v=4.5.2.0:1 appRouter - user is authenticated router.js?v=4.5.2.0:1 appRouter - processing path request /web#!/configurationpage router.js?v=4.5.2.0:1 appRouter - user is authenticated VM161:82 Uncaught (in promise) TypeError: $(...).html(...).selectmenu is not a function at <anonymous>:82:25 VM161:19 Uncaught (in promise) TypeError: $(...).checked is not a function at <anonymous>:19:49 It appers in this Window, no matter which plugin.
Luke 42080 Posted November 27, 2020 Posted November 27, 2020 OK yes the developer of the plugin will need to update it. 1
fredflix 31 Posted November 28, 2020 Posted November 28, 2020 (edited) On 11/24/2020 at 8:55 PM, TTX said: It appers in this Window, no matter which plugin. Happens in the Pushover plugin as well? I'm asking because the plugins you mentioned are not from the catalog. Edited November 28, 2020 by fredflix
TTX 0 Posted November 28, 2020 Author Posted November 28, 2020 Actually i did some more testing, only the telegram and gotify plugins has this issue. All others are working normally, Pushover too ;)
fredflix 31 Posted December 2, 2020 Posted December 2, 2020 (edited) @Luke Is your code on your Pushover plugin up to date by any chance?https://github.com/MediaBrowser/Pushover/blob/master/MediaBrowser.Plugins.PushOverNotifications/Configuration/config.html I'm asking because I'm using that very same code for the Gotify plugin:https://github.com/rootforbid/Emby.Plugins.Gotify/blob/master/MediaBrowser.Plugins.GotifyNotifications/Configuration/config.html But somehow @TTX has the problem on the Gotify plugin and not on your Pushover plugin. Also I notice he's reporting the "TypeError: $(...).html(...).selectmenu is not a function" error even though the selectmenu function is not even present in my code or yours. Can you try the Gotify plugin and see if you have a problem with it? It runs all fine on my end, so does the Telegram plugin that TTX is having problem with. Edited December 2, 2020 by fredflix
Luke 42080 Posted December 2, 2020 Posted December 2, 2020 I'll double check out later but I thought so. Just convert that jQuery to plain JavaScript and you'll be all set.
fredflix 31 Posted December 2, 2020 Posted December 2, 2020 9 minutes ago, Luke said: I'll double check out later but I thought so. Just convert that jQuery to plain JavaScript and you'll be all set. Using your code, the code for "TypeError: $(...).checked is not a function" is already plain Javascript: page.querySelector('#chkEnableGotify').checked = gotifyConfig.Enabled || false; and for the "TypeError: $(...).html(...).selectmenu is not a function", well, there's nothing to change since we don't even make a selectmenu call at all. So I don't know where that one comes from.
fredflix 31 Posted December 2, 2020 Posted December 2, 2020 3 minutes ago, Luke said: Just remove the .selectmenu(...) That's what I'm trying to say, it's not there because it never was. That's why I don't understand why he's having this error.
Luke 42080 Posted December 2, 2020 Posted December 2, 2020 Maybe he has an old version of the plugin installed?
fredflix 31 Posted December 2, 2020 Posted December 2, 2020 1 minute ago, Luke said: Maybe he has an old version of the plugin installed? I never released any other version so far, it's v1.0.0, which is the initial release. My plugin is 99% your Pushover plugin. At this point the only difference between your plugin and mine is yours is directly installed from the catalog. So I'm really leaning towards something wrong on his setup that's has nothing to do with my plugin.
Luke 42080 Posted December 2, 2020 Posted December 2, 2020 well look at the console output above. is that even your page?
fredflix 31 Posted December 2, 2020 Posted December 2, 2020 17 minutes ago, Luke said: well look at the console output above. is that even your page? From the log I can't say if it's specifically my plugin, but from the screenshot that's below it, it is mine though. He opened a issue on github and that's the emby server log he gave: VM1366:82 Uncaught (in promise) TypeError: $(...).html(...).selectmenu is not a function at <anonymous>:82:25 /Plugins/E29621A5-FA9E-4330-982E-EF6E54C0CAD2/Configuration?X-Emby-Client=Emby%20Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=7XXX5XXX48fd-XXXXXXXX&X-Emby-Client-Version=4.5.2.0&X-Emby-Token=XXXXXXXXXXXX81:1 Failed to load resource: the server responded with a status of 500 () index.html#!/configurationpage?name=Gotify%20Notifications:1 Uncaught (in promise) Response Looking more closely at it I notice that the plugin id in the get request doesn't match my plugin, but the 500 response reports a correct url "index.html#!/configurationpage?name=Gotify%20Notifications" I had him pull a list of all his plugins via the API and my plugin is indeed installed and Emby reports the correct plugin id.
Luke 42080 Posted December 2, 2020 Posted December 2, 2020 It looks like perhaps his problem is with another plugin. Maybe ask him for temporary access to his server so you can test personally.
fredflix 31 Posted December 2, 2020 Posted December 2, 2020 6 minutes ago, Luke said: It looks like perhaps his problem is with another plugin. Maybe ask him for temporary access to his server so you can test personally. Yeah but even then, the only way I see to really get a clear picture would be for him to install the plugin on a fresh new install or at the very least uninstall every plugin he has. Because at present, I can't reproduce his bug and it really feels like it's out of scope. Thanks for the help man.
Solution TTX 0 Posted December 2, 2020 Author Solution Posted December 2, 2020 I did a little testing/resarch and it seems the infuse plugin causes the problem. I deinstalled it and now everything works normal
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now