Following the last post, it's possible to have a Jellyfin server to feed data to Flox devfake#129
I thought it would be nice to add a Jellyfin section for anyone else wanting to link their Jellyfin server.
I successfully replicated the webhook on Jellyfin, but if anyone can test and confirm it works for them too?
The steps:
- Generate an API key in Flox (obviously)
- Go to your Jellyfin dashboard > Plugins > Catalogue
- Install the Webhook plugin
- Add Generic Destination
- Enter your Jellyfin server URL
- Enter a Webhook Name e.g. Flox
- Enter your Flox API URL e.g.
https://YOUR-FLOX-URL/api/plex?token=YOUR-TOKEN
- Status: enable ticked
- Notification type: Playback Start
- Optionally, filter with the User
- Item Type: Movies (I haven't tested with shows yet)
- Do not send when message body is empty: ticked
- Template add this
{ "Metadata": { "type": "{{#if_equals ItemType 'Episode'}}episode{{else}}{{#if_equals ItemType 'Movie'}}movie{{else}}{{ItemType}}{{/if_equals}}{{/if_equals}}", "parentIndex": "{{SeasonNumber}}", "index": "{{EpisodeNumber}}", "grandparentTitle": "{{{SeriesName}}}", "title": "{{{Name}}}", "year": "{{Year}}", "tmdb_id": "{{Provider_tmdb}}", "imdb_id": "{{Provider_imdb}}" }, "event": "{{#if_equals NotificationType 'PlaybackStart'}}media.play{{/if_equals}}{{#if_equals NotificationType 'PlaybackStop'}}{{#if_equals PlayedToCompletion true}}media.scrobble{{else}}media.stop{{/if_equals}}{{/if_equals}}{{#if_equals NotificationType 'ItemAdded'}}media.add{{/if_equals}}" }
The headers in the post linked above didn't work for me, so don't add any.
I'm happy to write the instructions on the README.MD and create a PR.
Following the last post, it's possible to have a Jellyfin server to feed data to Flox devfake#129
I thought it would be nice to add a Jellyfin section for anyone else wanting to link their Jellyfin server.
I successfully replicated the webhook on Jellyfin, but if anyone can test and confirm it works for them too?
The steps:
https://YOUR-FLOX-URL/api/plex?token=YOUR-TOKEN{ "Metadata": { "type": "{{#if_equals ItemType 'Episode'}}episode{{else}}{{#if_equals ItemType 'Movie'}}movie{{else}}{{ItemType}}{{/if_equals}}{{/if_equals}}", "parentIndex": "{{SeasonNumber}}", "index": "{{EpisodeNumber}}", "grandparentTitle": "{{{SeriesName}}}", "title": "{{{Name}}}", "year": "{{Year}}", "tmdb_id": "{{Provider_tmdb}}", "imdb_id": "{{Provider_imdb}}" }, "event": "{{#if_equals NotificationType 'PlaybackStart'}}media.play{{/if_equals}}{{#if_equals NotificationType 'PlaybackStop'}}{{#if_equals PlayedToCompletion true}}media.scrobble{{else}}media.stop{{/if_equals}}{{/if_equals}}{{#if_equals NotificationType 'ItemAdded'}}media.add{{/if_equals}}" }The headers in the post linked above didn't work for me, so don't add any.
I'm happy to write the instructions on the README.MD and create a PR.