Jump to content

Webhooks Plugin


Recommended Posts

PhyberApex
Posted (edited)

Can you tell me what server version, app, transcoding? I can try and test it today

Server Version 3.3.1.0, Client was emby for kodi latest beta, and no transcoding but IIRC that did not matter. I'm 100% sure it happend on direct stream tho.

 

~Cheers

Edited by PhyberApex
Angelblue05
Posted (edited)

It's a bug with the websocket progress report. It's only cosmetic. In emby for kodi, I changed playback report to http in the beta version which resolves this bug. I'll push to stable beginning of the week.

 

 

Sent from my iPhone using Tapatalk

Edited by Angelblue05
  • Like 1
  • 4 months later...
NeauxGeaux
Posted

@@randomevents It appears as of Version 3.5+ the web hooks aren't getting triggered.

  • Like 1
  • 1 month later...
Posted

I am showing this as well.  Just noticed that my webhooks are no longer working.  

 

I am seeing the following in my logs

 

2018-09-13 18:46:26.052 Error App: Error creating Emby.WebHooks.WebHooks
    *** Error Report ***
    Version: 3.5.2.0

Posted

It's possible the plugin needs an update.

Posted

Version 3.6.0.2 beta here. Working as intended on my debian.

 

~Cheers

Posted

I am running on 3.5.2 so perhaps there is something in beta that fixes it

  • 2 months later...
Posted (edited)

I am running on 3.5.2 so perhaps there is something in beta that fixes it

 

I just installed beta 3.6 and can confirm that this plugin still works.

Edited by hstamas
  • Like 1
  • 2 weeks later...
Posted

How do you install plugins not in the catalog?

Posted

You need to be able to compile the plugin source code to a .dll file and then copy that .dll file into the server's plugins folder.

Posted

I

How do you install plugins not in the catalog?

I believe the release download is already compiled.

 

https://github.com/nxenos83/emby.plugin.Webhooks/releases

 

Note that Emby's plugin folder is hidden by default (at least it is on Mac OS) so you would either need to copy it over via a commma d prompt or shoe hidden files and folders.

Posted

I

I believe the release download is already compiled.

 

https://github.com/nxenos83/emby.plugin.Webhooks/releases

 

Note that Emby's plugin folder is hidden by default (at least it is on Mac OS) so you would either need to copy it over via a commma d prompt or shoe hidden files and folders.

Any advice on how to trouble shoot this?  I have it configured to send an event on playback, but my webserver never receives anything.  I have the port and IP correct in my URL.  Is there anyway for me to see the send logs from emby?

Posted

It will probably be in the emby server log.

Posted

 

I took some time tonight to expand your work and fill in some of the gaps for use in my own tool -:

 

{
"event": "media.play",
"user": false,
"owner": false,
"Account": {
"id": "redacted",
"title": "redacted"
},
"Server": {
"title": "redacted",
"uuid": "redacted"
},
"Player": {
"local": true,
"publicAddress": "192.168.1.110",
"title": "Emby Mobile",
"uuid": "redacted",
"name": "Chrome"
},
"Metadata": {
"guid": "28e0459a-a0a2-acc1-8af2-fd4048131dd6",
"librarySectionID": 0,
"type": "music",
"title": "Major Tom (völlig losgelöst)",
"grandparentTitle": "Atomic Blonde",
"parentTitle": "Atomic Blonde OST",
"index": 2,
"ratingCount": 0,
"addedAt": 0,
"updatedAt": 0,
"runTimeTicks": 2992590080
},
"Session": {
"sessionId": "804e5453f78093d5d63288ab20edfe22",
"positionTicks": 0,
"timestamp": "2017-11-11 02:53:51.663"
}
}
 
Submitted a PR in case you're interested.

 

 

 

I don't suppose you have a compiled version of this dll that you'd be willing to share would you?  You are displaying much of the data I want.

  • 4 months later...
jibenito
Posted

Any update? It has stopped working several days ago :(

Posted

Any update? It has stopped working several days ago :(

 

Hi there @@jibenito, since this is built by a volunteer community member, I think you'll be more likely to get a response if you can provide more information. The first thing I would do is describe what "stopped working" means. A server log would be helpful as well. Thanks.

  • Like 1
  • 2 months later...
PhyberApex
Posted (edited)

As nobody seemed to be working on this anymore I forked the repo and updated it to the newest stable version. You can find it over here. Will probably add a release within the next few days / weeks but it is compilable and works as of now

 

~Cheers.

Edited by PhyberApex
  • Like 1
  • 3 months later...
  • 4 months later...
JustEric78
Posted

In case anyone is searching for information on being able to trigger multiple different IFTTT applets via the Emby webhooks plugin. I just posted a walk through using a third party that was willing to build this functionality out for us via their site. 

 

https://emby.media/community/index.php?/topic/82998-webhooks-free-method-to-trigger-different-ifttt-applets-using-httpssequematiccom-walk-through/

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...