jorenn92 / Maintainerr

Looks and smells like Overseerr, does the opposite. Maintenance tool for the Plex ecosystem
https://maintainerr.info
MIT License
869 stars 19 forks source link

[Feature Request] Deleting soon Notification support #914

Closed suka97 closed 9 months ago

suka97 commented 9 months ago

It would be useful if a notification could be sent X days before a rule is toggled, notifying potential interested users that the media will no longer be available soon. The notification could be via mail, telegram, etc A nice addition would be if said message included a link for excluding/postponing the movie for the next rule

MrMeeb commented 9 months ago

I've bodged my way through this by using Plex Meta Manager to add a flag to the poster of any movie in my 'Leaving Soon' collection. Means users don't need to be in another notification feed to know if stuff is leaving soon:

image

suka97 commented 9 months ago

Could you elaborate more on your solution? How do you set the "Leaving Soon" filter there?

MrMeeb commented 9 months ago

In Maintainerr, I have all rules add to a common pre-existing collection in Plex: 'Leaving Soon'. This is pinned to the homepage for users:

image

In PMM, I created a custom overlay PNG with my 'Leaving Soon' label, then used something like this as the criteria for whether PMM adds the overlay:

overlays:
  leavingsoon:
    overlay:
      name: leavingSoonLabel
      file: config/overlays/leavingSoonLabel.png
      horizontal_offset: 20
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
    plex_search:
      all:
        collection: "Leaving Soon"

Pretty simple, just detects whether the movie is in the 'Leaving Soon' collection

jorenn92 commented 9 months ago

I suggest you +1 FR #657. This way, I'm able to measure how desired features are.

suka97 commented 9 months ago

In Maintainerr, I have all rules add to a common pre-existing collection in Plex: 'Leaving Soon'. This is pinned to the homepage for users:

image

In PMM, I created a custom overlay PNG with my 'Leaving Soon' label, then used something like this as the criteria for whether PMM adds the overlay:

overlays:
  leavingsoon:
    overlay:
      name: leavingSoonLabel
      file: config/overlays/leavingSoonLabel.png
      horizontal_offset: 20
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
    plex_search:
      all:
        collection: "Leaving Soon"

Pretty simple, just detects whether the movie is in the 'Leaving Soon' collection

Thanks a lot for the idea, it works awsome!

I took a while to answer because ai hadn't fiddle around with PMM yet, it was a whole new world.

suka97 commented 6 months ago

For anyone still looking for this functionality, I've created a custom python script that monitors certain Plex Collections and sends a Telegram notification when an item was added.

I've called it maintainerr4telegram.py, you can find it here (Also it includes another scripts that could be useful to you 😉)