auroraemby 0 Posted September 26, 2023 Share Posted September 26, 2023 (edited) https://github.com/oonqt/Emby.Notifications.Discord/issues/10 I believe maybe people assumed this due to a lack of a response. But it's not working anyways. Edited September 26, 2023 by auroraemby Link to comment Share on other sites More sharing options...
Luke 37066 Posted September 26, 2023 Share Posted September 26, 2023 36 minutes ago, auroraemby said: https://github.com/oonqt/Emby.Notifications.Discord/issues/10 I believe maybe people assumed this due to a lack of a response. But it's not working anyways. The plugin works just fine on the server 4.8 beta channel. I already published a compatibility update for it. I will update the first post accordingly. Link to comment Share on other sites More sharing options...
Cr8iveLosr 53 Posted October 17, 2023 Share Posted October 17, 2023 Just installed and playing with this for the first time. everything's appears to be workings but i'm confused about some of the notifications. as they feel incomplete. e.g playback pause sends a notification that xyz was paused but not by who(user). is this by design? feels wasteful or maybe i'm not setting it correctly thoughts? Thanks Link to comment Share on other sites More sharing options...
Luke 37066 Posted October 17, 2023 Share Posted October 17, 2023 3 hours ago, Cr8iveLosr said: Just installed and playing with this for the first time. everything's appears to be workings but i'm confused about some of the notifications. as they feel incomplete. e.g playback pause sends a notification that xyz was paused but not by who(user). is this by design? feels wasteful or maybe i'm not setting it correctly thoughts? Thanks Hi there, can you please provide a specific example? Thanks. Link to comment Share on other sites More sharing options...
Cr8iveLosr 53 Posted October 17, 2023 Share Posted October 17, 2023 39 minutes ago, Luke said: Hi there, can you please provide a specific example? Thanks. sure, results in discord notification of not very helpful since it not showing the username hopefully that clarifies it Link to comment Share on other sites More sharing options...
Luke 37066 Posted October 17, 2023 Share Posted October 17, 2023 11 minutes ago, Cr8iveLosr said: sure, results in discord notification of not very helpful since it not showing the username hopefully that clarifies it But each emby user sets up their own notification, right? So in theory, it's linked to their discord. Link to comment Share on other sites More sharing options...
Cr8iveLosr 53 Posted October 17, 2023 Share Posted October 17, 2023 (edited) 23 minutes ago, Luke said: But each emby user sets up their own notification, right? So in theory, it's linked to their discord. right now, i'm just testing as admin. in this case, it makes no sense seeing this notification if it's not telling me who. also the playback was done from a user account. not the admin account where the notification is setup Edited October 17, 2023 by Cr8iveLosr Link to comment Share on other sites More sharing options...
Cr8iveLosr 53 Posted October 18, 2023 Share Posted October 18, 2023 (edited) Bit more info. after having tested many of the notification, it appears 90% of them work as intended however there is no logic behind Playback Pause and UnPause and marking content as Played or UnPlayed with emphasis on username. I assume there aren't popular notifications and were nvr reported as broken/incomplete to the original dev. I'll just leave them unchecked for now. Thanks for the help Edited October 18, 2023 by Cr8iveLosr Link to comment Share on other sites More sharing options...
Luke 37066 Posted October 18, 2023 Share Posted October 18, 2023 2 hours ago, Cr8iveLosr said: Bit more info. after having tested many of the notification, it appears 90% of them work as intended however there is no logic behind Playback Pause and UnPause and marking content as Played or UnPlayed with emphasis on username. I assume there aren't popular notifications and were nvr reported as broken/incomplete to the original dev. I'll just leave them unchecked for now. Thanks for the help The play and pause notifications work just fine, and there is logic behind them. Link to comment Share on other sites More sharing options...
Cr8iveLosr 53 Posted October 18, 2023 Share Posted October 18, 2023 42 minutes ago, Luke said: The play and pause notifications work just fine, and there is logic behind them. i cant tell if you are joking right now or defending something that simply isn't true. let's look at several examples shall we. virtually all user input notification are this: <username> is playing <movie/tv title> on <device name> <username> has finished <movie/tv title> on <device name> while Play/Pause by user notifications are just: playback.pause playback.unpaused and Mark Played/Unplayed by user notifications are just: item.markplayed item.markunplayed so in theory they "work" but no there is no logic behind them for the simple fact they do not provide any useful information. fix it or don't. your call. I've done my part in reporting the issue, illustrated not once but twice now. Thanks Link to comment Share on other sites More sharing options...
Luke 37066 Posted October 18, 2023 Share Posted October 18, 2023 3 hours ago, Cr8iveLosr said: i cant tell if you are joking right now or defending something that simply isn't true. let's look at several examples shall we. virtually all user input notification are this: <username> is playing <movie/tv title> on <device name> <username> has finished <movie/tv title> on <device name> while Play/Pause by user notifications are just: playback.pause playback.unpaused and Mark Played/Unplayed by user notifications are just: item.markplayed item.markunplayed so in theory they "work" but no there is no logic behind them for the simple fact they do not provide any useful information. fix it or don't. your call. I've done my part in reporting the issue, illustrated not once but twice now. Thanks Why do you think there is no logic behind them? It maps directly to an action taken by the user in the user interface. 1 Link to comment Share on other sites More sharing options...
GrimReaper 3294 Posted October 18, 2023 Share Posted October 18, 2023 I reckon it's reasonable to assume an admin user would be expecting something in the likes of: <username> has paused <movie/tv title> on <device name> <username> resumed playing <movie/tv title> on <device name> as per: 4 hours ago, Cr8iveLosr said: <username> is playing <movie/tv title> on <device name> <username> has finished <movie/tv title> on <device name> instead of: On 10/17/2023 at 10:10 PM, Cr8iveLosr said: for those events. 2 Link to comment Share on other sites More sharing options...
Luke 37066 Posted October 22, 2023 Share Posted October 22, 2023 On 10/18/2023 at 7:20 PM, GrimReaper said: I reckon it's reasonable to assume an admin user would be expecting something in the likes of: <username> has paused <movie/tv title> on <device name> <username> resumed playing <movie/tv title> on <device name> as per: instead of: for those events. And they all mostly do. It's just those two that are missing it and need to be added. 1 Link to comment Share on other sites More sharing options...
Cr8iveLosr 53 Posted October 22, 2023 Share Posted October 22, 2023 (edited) 1 hour ago, Luke said: And they all mostly do. It's just those two that are missing it and need to be added. Actually, if you are counting pause and resume as two. then there are six total "that are missing it and need to be added" Checking Pause and Unpause yields in the following notifications: playback.pause playback.unpaused Checking Users Mark Played and Mark Unplayed yields in the following notifications: item.markplayed item.markunplayed Checking Add to Favorites and Remove from Favorites yields in the following notifications: item.rate item.rate Yes, both are same. Thanks Edited October 22, 2023 by Cr8iveLosr Link to comment Share on other sites More sharing options...
GrimReaper 3294 Posted October 22, 2023 Share Posted October 22, 2023 4 minutes ago, Cr8iveLosr said: Checking Add to Favorites and Remove from Favorites yields in the following notifications: item.rate item.rate Yes, both are same. That's a known issue, reported some time ago in: Don't think much can be done in that respect as that is legacy function repurposed for current one. 1 Link to comment Share on other sites More sharing options...
Cr8iveLosr 53 Posted October 22, 2023 Share Posted October 22, 2023 4 minutes ago, GrimReaper said: That's a known issue, reported some time ago in: Thanks for that. I've unchecked the ones that don't provide useful info but just wanted to report it. Always have appreciated your feedback. Whatever they pay you. it isn't enough 1 Link to comment Share on other sites More sharing options...
GrimReaper 3294 Posted October 22, 2023 Share Posted October 22, 2023 4 minutes ago, Cr8iveLosr said: Always have appreciated your feedback. Whatever they pay you. it isn't enough LOL thanks, but I'm just a regular user as you are, willing to assist if/where I can, on a voluntary basis and as part of Forum staff, not Emby team. Link to comment Share on other sites More sharing options...
Cr8iveLosr 53 Posted October 22, 2023 Share Posted October 22, 2023 1 minute ago, GrimReaper said: LOL thanks, but I'm just a regular user as you are, willing to assist if/where I can, on a voluntary basis and as part of Forum staff, not Emby team. so i was right... "not enough" LMAO! all joking aside its refreshing to have someone who is knowledgeable, understands and gives proper responses. i don't post often, but have been using Emby few years now and have hundreds of dollars invested in the software. To read BS responses is unnerving. But, you live and learn thru users like yourself. Kudos 1 Link to comment Share on other sites More sharing options...
GrimReaper 3294 Posted October 22, 2023 Share Posted October 22, 2023 Thanks for the kind words, appreciate it. Cheers Link to comment Share on other sites More sharing options...
devKazuto 0 Posted October 24, 2023 Share Posted October 24, 2023 How do I configure this plugin? I'm using Version 4.8.0.55 beta Link to comment Share on other sites More sharing options...
kjhedges 51 Posted October 24, 2023 Share Posted October 24, 2023 32 minutes ago, devKazuto said: How do I configure this plugin? I'm using Version 4.8.0.55 beta Goto notifications and create a new notification there. 1 Link to comment Share on other sites More sharing options...
DonaldFaQ 1 Posted November 5, 2023 Share Posted November 5, 2023 (edited) i have trouble with this plugin Using EMBY Server 4.8.057 beta. Then i use the EMby Discord Plugin from the catalog v1.2.2. If i enter the webhook URL from Discord and test, a Error Message displayed: INVALID URL. if i change https:// into http:// the the Test says all ok, but no message in my Discord Channel. Error in the Logfile: 2023-11-05 11:23:14.627 Info Server: http/1.1 Response 500 to ::1. Time: 171ms. POST http://localhost:8096/emby/Notifications/Services/Test?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json 2023-11-05 11:23:18.677 Info Server: http/1.1 POST http://localhost:8096/emby/Notifications/Services/Configured?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 2023-11-05 11:23:18.678 Info Server: http/1.1 Response 204 to ::1. Time: 1ms. POST http://localhost:8096/emby/Notifications/Services/Configured?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json 2023-11-05 11:23:58.673 Info Server: http/1.1 POST http://localhost:8096/emby/Notifications/Services/Test?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 2023-11-05 11:23:58.675 Info HttpClient: POST https://discordapp.com/api/webhooks/1170669357215514694/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 2023-11-05 11:23:58.824 Error Server: Error processing request *** Error Report *** Version: 4.8.0.57 Command line: C:\Users\DonaldFaQ\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.20348 Framework: .NET 6.0.24 OS/Process: x64/x64 Runtime: C:/Users/DonaldFaQ/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 20 Data path: C:\Users\DonaldFaQ\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\DonaldFaQ\AppData\Roaming\Emby-Server\system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: NotFound at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Emby.Notifications.Discord.DiscordWebhookHelper.ExecuteWebhook(DiscordMessage message, String webhookUrl, IJsonSerializer _jsonSerializer, IHttpClient httpClient, CancellationToken cancellationToken) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: Emby.Server.Implementations TargetSite: Void MoveNext() 2023-11-05 11:23:58.824 Info Server: http/1.1 Response 500 to ::1. Time: 151ms. POST http://localhost:8096/emby/Notifications/Services/Test?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json Edited November 5, 2023 by DonaldFaQ Link to comment Share on other sites More sharing options...
Luke 37066 Posted November 6, 2023 Share Posted November 6, 2023 19 hours ago, DonaldFaQ said: i have trouble with this plugin Using EMBY Server 4.8.057 beta. Then i use the EMby Discord Plugin from the catalog v1.2.2. If i enter the webhook URL from Discord and test, a Error Message displayed: INVALID URL. if i change https:// into http:// the the Test says all ok, but no message in my Discord Channel. Error in the Logfile: 2023-11-05 11:23:14.627 Info Server: http/1.1 Response 500 to ::1. Time: 171ms. POST http://localhost:8096/emby/Notifications/Services/Test?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json 2023-11-05 11:23:18.677 Info Server: http/1.1 POST http://localhost:8096/emby/Notifications/Services/Configured?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 2023-11-05 11:23:18.678 Info Server: http/1.1 Response 204 to ::1. Time: 1ms. POST http://localhost:8096/emby/Notifications/Services/Configured?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json 2023-11-05 11:23:58.673 Info Server: http/1.1 POST http://localhost:8096/emby/Notifications/Services/Test?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 2023-11-05 11:23:58.675 Info HttpClient: POST https://discordapp.com/api/webhooks/1170669357215514694/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 2023-11-05 11:23:58.824 Error Server: Error processing request *** Error Report *** Version: 4.8.0.57 Command line: C:\Users\DonaldFaQ\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.20348 Framework: .NET 6.0.24 OS/Process: x64/x64 Runtime: C:/Users/DonaldFaQ/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 20 Data path: C:\Users\DonaldFaQ\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\DonaldFaQ\AppData\Roaming\Emby-Server\system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: NotFound at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Emby.Notifications.Discord.DiscordWebhookHelper.ExecuteWebhook(DiscordMessage message, String webhookUrl, IJsonSerializer _jsonSerializer, IHttpClient httpClient, CancellationToken cancellationToken) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: Emby.Server.Implementations TargetSite: Void MoveNext() 2023-11-05 11:23:58.824 Info Server: http/1.1 Response 500 to ::1. Time: 151ms. POST http://localhost:8096/emby/Notifications/Services/Test?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=3cbc7363-de54-4df2-a825-3f01e8cbede1&X-Emby-Client-Version=4.8.0.57&X-Emby-Token=820f43e7245d49a28dc1642db65bcecc&X-Emby-Language=de&reqformat=json Perhaps I'm just not familiar enough with discord's api, but that would seem to suggest the url you entered is invalid, right? Discord is sending back a 404 not found response. Link to comment Share on other sites More sharing options...
DonaldFaQ 1 Posted November 7, 2023 Share Posted November 7, 2023 No, i can open the URL via Browser, it looks so: { "application_id": null, "avatar": "578ff38abc7db9d9fb3068d70977082a", "channel_id": "1170367437057839235", "guild_id": "1170367262574772306", "id": "1170367877073874974", "name": "Medien Bot", "type": 1, "user": { "id": "XXXXXXXXXXXX", "username": "xxxxxxxxxxxxxx", "avatar": "c6f08cd92951cb2cdf8b2606a53aa156", "discriminator": "0", "public_flags": 0, "premium_type": 0, "flags": 0, "banner": null, "accent_color": null, "global_name": "DonaldFaQ", "avatar_decoration_data": null, "banner_color": null }, "token": "7D62WOCKf86nw8BMbmQfNLAUhq7UY29oRs5OcrBk-7NX13ZnctZClbd05swylJMTLsw6", "url": "https://discord.com/api/webhooks/XXXXXXXXXXXXXXXXXX" } Link to comment Share on other sites More sharing options...
Luke 37066 Posted November 7, 2023 Share Posted November 7, 2023 3 hours ago, DonaldFaQ said: No, i can open the URL via Browser, it looks so: { "application_id": null, "avatar": "578ff38abc7db9d9fb3068d70977082a", "channel_id": "1170367437057839235", "guild_id": "1170367262574772306", "id": "1170367877073874974", "name": "Medien Bot", "type": 1, "user": { "id": "XXXXXXXXXXXX", "username": "xxxxxxxxxxxxxx", "avatar": "c6f08cd92951cb2cdf8b2606a53aa156", "discriminator": "0", "public_flags": 0, "premium_type": 0, "flags": 0, "banner": null, "accent_color": null, "global_name": "DonaldFaQ", "avatar_decoration_data": null, "banner_color": null }, "token": "7D62WOCKf86nw8BMbmQfNLAUhq7UY29oRs5OcrBk-7NX13ZnctZClbd05swylJMTLsw6", "url": "https://discord.com/api/webhooks/XXXXXXXXXXXXXXXXXX" } HI, when you open what url? Link to comment Share on other sites More sharing options...
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