Skip to content

Jellyfin Documentation #142

Description

@diginfotek

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:

  1. Generate an API key in Flox (obviously)
  2. Go to your Jellyfin dashboard > Plugins > Catalogue
  3. Install the Webhook plugin
  4. Add Generic Destination
  5. Enter your Jellyfin server URL
  6. Enter a Webhook Name e.g. Flox
  7. Enter your Flox API URL e.g. https://YOUR-FLOX-URL/api/plex?token=YOUR-TOKEN
  8. Status: enable ticked
  9. Notification type: Playback Start
  10. Optionally, filter with the User
  11. Item Type: Movies (I haven't tested with shows yet)
  12. Do not send when message body is empty: ticked
  13. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions