Radarr icon indicating copy to clipboard operation
Radarr copied to clipboard

[Feature Request] Use movie poster in notification instead of Radarr logo

Open KruyKaze opened this issue 7 years ago • 10 comments

I am referring to push notifications through Join ( the service I use) and Pushbullet etc... Is that possible? Thank you.

AB#891

KruyKaze avatar Mar 31 '17 03:03 KruyKaze

And or a link to IMDB would be cool. When pushed to slack, you get a nice preview... (slack pulls the info on any URL posts, so only the URL is actually sent by CP)

This is how couchpotato pushes to slack look:

image

JamzTheMan avatar Apr 05 '17 04:04 JamzTheMan

@KruyKaze Pretty sure that's impossible since we can only change the icon at the time of creating our "bot account".

@JamzTheMan Can you open a new request for that one?

galli-leo avatar Apr 05 '17 18:04 galli-leo

@galli-leo actually Join lets you define an icon for each notification. Thanks

KruyKaze avatar Apr 05 '17 19:04 KruyKaze

I looked it up and it is just a matter of adding "?icon=www.XYZ.jpg&" to the notification Thanks

KruyKaze avatar Apr 05 '17 19:04 KruyKaze

Hello! I've started to implement enhanced Slack notifications based on this issue and #1532. I could have settled on an easy way of implementing it and simply sending a message containing an IMDB link and let Slack show summary of the page, but I wanted to try to utilise the Slack message formatting engine and came up with this:

screen shot 2017-12-18 at 20 57 40

The problem is however the poster image. I cannot really use the one in Radarr as the Radarr may be on a network that is not accessible by Slack. I don't want to upload the poster image from Radarr either, as I'm using the free version and the upload space is limited. So what I need is to be able to easily generate an reliable, public URL to the poster image. AFAIK there is no easy way of getting the poster image from neither IMDB or TVDB. So I wanted to ask you that know the system internals inside out and know if there is an easy of achieving this?

kjagiello avatar Dec 18 '17 20:12 kjagiello

@kjagiello Have you seen this? http://www.omdbapi.com Using their API you can get JSON data for a movie using an IMDB id and it'll return a bunch of info including the poster image.

But also, on one of the messages I posted to slack it automatically fetched that URL and added the movie poster in slack, but for 99% it does not do that. I'm wondering if adding "unfurl_links": true will make slack fetch all the URL previews

We will automatically fetch and create attachments for certain well-known media URLs, but we will not unfurl links to primarily text-based content, unless you specify in your payload that you want that. If you do, add "unfurl_links": true to your main JSON payload. Example links that will unfurl without the flag:

thomaswelton avatar Dec 28 '17 23:12 thomaswelton

This would be a nice to have, although using imdb image url would mean one call on amazon webservers for each receiving device, which is not really wanted imo.

I personally use ntfy, and we can easily attach an image to a notification: https://docs.ntfy.sh/publish/#attach-local-file I don't know about other notification systems but I think this should be the recommended way to do it

bonswouar avatar May 06 '24 14:05 bonswouar

@bonswouar Exactly what I wanted too..

Is there any PR for this? If not, I want to do it, even though idk .net but I'll try

CoolnsX avatar May 09 '24 19:05 CoolnsX

@CoolnsX There's no PR afaik, feel free to propose one, that should be quite easy to implement for ntfy (I don't know about other services though)

bonswouar avatar May 09 '24 19:05 bonswouar

Yeah that's why I am willing to take it. I will do it this weekend though.

CoolnsX avatar May 09 '24 19:05 CoolnsX