Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Notify users of new content. #97

Closed
n8detar opened this issue Nov 30, 2021 · 7 comments
Closed

Feature Request: Notify users of new content. #97

n8detar opened this issue Nov 30, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@n8detar
Copy link
Contributor

n8detar commented Nov 30, 2021

The title says it all. It would be nice to have the ability to have notifications sent to users once new content is downloaded and available. Additionally, allow the users to decide which channels/playlists they want to get notifications from. Notifications could be sent by email (set up by the admin in the backend), messaging apps like Discord or Slack, or any other method really; the more options the better.

@bbilly1
Copy link
Member

bbilly1 commented Dec 1, 2021

So first, I like the idea and see how this could be useful. But I don't see myself being able to maintain that, particular for services I don't use myself. I think that's beyond the scope of the project and could very well be it's own thing.

As a matter of fact, maybe that exists already? Something like a message / notification broker? That could integrate into all these messaging platforms? Then Tube Archivist could provide the hooks and that message broker would manage all these different API integrations.

Maybe you or somebody can look into that?

@n8detar
Copy link
Contributor Author

n8detar commented Dec 1, 2021

But I don't see myself being able to maintain that, particular for services I don't use myself. I think that's beyond the scope of the project and could very well be it's own thing.

That makes sense. I'm not familiar with any projects/services that do what you are suggesting, but providing an API that could be leveraged would be great because then other people can create integrations pretty easily. Maybe others know of one that's already been created and can comment here.

I know that python has a library for SMTP/SMTP SSL (smtplib) which is something that could also be used in addition to an API of some kind. Discord (discord-notify) also has a simple library, but like you said it would get too difficult to maintain so many different notification services.

@lamusmaser
Copy link
Collaborator

This would probably be best by using webhooks into already established notification services (Slack, Discord, etc.) - this is what tends to be used for other media downloader services. This would then be referenced at an event's completion and would then send the message to any/all established webhooks.

@Code-Slave
Copy link

Look at a library called apprise. Lazylibrarian uses it for notifications. Support for tons of services

@bbilly1
Copy link
Member

bbilly1 commented Dec 5, 2021

@Code-Slave Oh, nice! apprise looks like a very promising solution for the task.

At first glance it seems like these tokens or even full username/password will have to be stored somewhere within the application so there is a security concern that will need some attention or at least a clear warning somewhere...

Thank you very much for the hint.

@bbilly1 bbilly1 added the enhancement New feature or request label Jan 13, 2022
@pawelmalak
Copy link

Another option is apprise. It's being used in changedetection.io where user only needs to provide apprise valid URL like:

Bez tytułu

@bbilly1
Copy link
Member

bbilly1 commented Mar 30, 2022

Thanks for the input, I think scope is clear and it's on the roadmap. closing this to keep the issues fresh.

@bbilly1 bbilly1 closed this as completed Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants