this post was submitted on 16 Jun 2023
11 points (92.3% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54565 readers
536 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Does anyone have a good resource or an actual example of the type of scripts you are able to run as a custom script in either software? I made JavaScript, Python and batch versions of the same script but it's doing nothing when I try to test those. Not really finding any useful info on the web/wiki either.

top 3 comments
sorted by: hot top controversial new old
[–] sloopbun@beehaw.org 2 points 1 year ago (1 children)

What’s your script trying to do?

[–] Kenny@lemmy.dbzer0.com 1 points 1 year ago (1 children)

Well, currently whenever a new item is imported, I'm sending a notification to ntfy on my phone. And whilst Radarr has out of the box support for ntfy, Sonarr does it through a webhook.

The end result is that the notification is just a piece of JSON, with a lot of info I don't need to see. I just want the notification to be something like:

A new item for {series_title} has been added to the library. Season {season_number} - episode {episode_number} {episode_title}

[–] p5f20w18k@lemmy.world 1 points 1 year ago

They both support discord bots, might be an easier alternative