Comments (10)
I took your advice and used webhooks. I now have a working configuration that I'm fairly pleased with and I plan to share the example, but I'm not sure the best way to submit that.
- Under the Configuration tab
- The Webhook URL is your ntfy root URL
- Important note "To publish as JSON, you must PUT/POST to the ntfy root URL, not to the topic URL. Be sure to check that you're POST-ing to" per ntfy documentation.
- The Webhook Method is POST
- The Webhook URL is your ntfy root URL
- Under the Data tab in the Recently Added section, JSON Headers were not used in this example:
JSON Data
<movie>
{
"topic": "tautulli",
"icon": "{poster_url}",
"message": "{summary}",
"tags": ["tautulli", "popcorn"],
"title": "{title} was recently added to {library_name} on {server_name}"
}
</movie>
<show>
{
"topic": "tautulli",
"icon": "{poster_url}",
"message": "{summary}",
"tags": ["tautulli", "tv"],
"title": "{title} was recently added to {library_name} on {server_name}"
}
</show>
<season>
{
"topic": "tautulli",
"icon": "{poster_url}",
"message": "{summary}",
"tags": ["tautulli", "tv"],
"title": "{title} Season {season_num00} recently added to {library_name} on {server_name}"
}
</season>
<episode>
{
"topic": "tautulli",
"icon": "{poster_url}",
"message": "{summary}",
"tags": ["tautulli", "tv"],
"title": "{title} (S{season_num00}:E{episode_num00}) was recently added to {library_name} on {server_name}"
}
</episode>
- I used the Tautulli parameters as described here. @samwiseg0 is there an official reference that could be used instead?
from tautulli.
@hevel86 thank you for providing an example. I think here is the best place. Folks can always search GitHub and find it here. You could also post it in discord in the general channel if you would like.
from tautulli.
from tautulli.
Added to the wiki.
from tautulli.
I took your advice and used webhooks. I now have a working configuration that I'm fairly pleased with and I plan to share the example, but I'm not sure the best way to submit that.
* Under the **Configuration** tab * The **Webhook URL** is your ntfy root URL * Important note "To publish as JSON, you must PUT/POST to the ntfy root URL, not to the topic URL. Be sure to check that you're POST-ing to" per [ntfy documentation](https://docs.ntfy.sh/publish/#publish-as-json). * The **Webhook Method** is _POST_ * Under the **Data** tab in the _Recently Added_ section, **JSON Headers** were not used in this example:
JSON Data
<movie> { "topic": "tautulli", "icon": "{poster_url}", "message": "{summary}", "tags": ["tautulli", "popcorn"], "title": "{title} was recently added to {library_name} on {server_name}" } </movie> <show> { "topic": "tautulli", "icon": "{poster_url}", "message": "{summary}", "tags": ["tautulli", "tv"], "title": "{title} was recently added to {library_name} on {server_name}" } </show> <season> { "topic": "tautulli", "icon": "{poster_url}", "message": "{summary}", "tags": ["tautulli", "tv"], "title": "{title} Season {season_num00} recently added to {library_name} on {server_name}" } </season> <episode> { "topic": "tautulli", "icon": "{poster_url}", "message": "{summary}", "tags": ["tautulli", "tv"], "title": "{title} (S{season_num00}:E{episode_num00}) was recently added to {library_name} on {server_name}" } </episode>
* I used the Tautulli parameters as described [here](https://github.com/Zefau/ioBroker.tautulli/blob/master/tautulli-parameters.json). @samwiseg0 is there an official reference that could be used instead?
I also add:
"attach": "{server_url}{poster_thumb}",
Then it adds the poster of the movie/series to the notification.
from tautulli.
This can be done today with webhooks. https://github.com/Tautulli/Tautulli/wiki/Notification-Agents-Guide#webhook
If you need help please use discord for further assistance.
from tautulli.
@JonnyWong16 Doh! Thanks for pointing out something obvious 😆
@samwiseg0 Glad to give back in some small way! Would it be worthwhile to add a section to the wiki? I feel that section is a bit broad (I get that Webhooks in general are a bit broad), but it references Slack and Discord webhooks which already have official integrations. The general examples on the Slack webhooks can give some kind of reference, but looking for a directly applicable example in Tautulli would have helped me when first looking into this project, and I imagine it could help others as well.
from tautulli.
Just adding the missing piece of info which took me a while to gather to this issue, you also need to add the below in the JSON header field:
{
"Authorization": "Bearer tk_yourPrivateToken"
}
from tautulli.
Just adding the missing piece of info which took me a while to gather to this issue, you also need to add the below in the JSON header field:
{ "Authorization": "Bearer tk_yourPrivateToken" }
That's interesting @Feramance, I didn't have to do that in my config.
from tautulli.
I wasn't receiving notifications with an authentication error until I added that
from tautulli.
Related Issues (20)
- Add stream buffering as a trigger for notification agents HOT 1
- UI: Track time not updated on track change. HOT 1
- Issue Tautulli after upgrade 2.13.3 HOT 2
- Login does not work with Firefox HOT 2
- Error on Tautulli Help & Info page HOT 2
- Stuck at auth page after upgrade to 2.13.4 HOT 7
- (Feature Request) Highlight Season Finale or Filter by Season Finale in History HOT 3
- Activity Card - Scrolling Bug with Firefox on Mac
- import imp fails in Python 3.12 replace with importlib HOT 1
- Tautulli Scheduled Tasks Error ! AttributeError: 'NoneType' object has no attribute 'next_run_time' HOT 6
- Add 'Recently Removed' as a notification agent trigger HOT 2
- Implementing before/after for get_home_stats HOT 1
- Artist statistics returning track not album artists HOT 2
- Installer parameter to prevent automatic start after installation/update
- Label IP addresses
- Woke up to segmentation fault HOT 4
- Since of 2 days im getting this error: HOT 4
- Add DOVI to stream details from Plex HOT 3
- ListenBrainz submission support HOT 1
- Docker Compose - ImportError: libssl.so.1.1: cannot open shared object file: No such file or directory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tautulli.