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

Text me when something is finished downloading #5

Open
Glavin001 opened this issue Aug 24, 2014 · 2 comments
Open

Text me when something is finished downloading #5

Glavin001 opened this issue Aug 24, 2014 · 2 comments

Comments

@Glavin001
Copy link
Owner

No description provided.

@Glavin001
Copy link
Owner Author

Instead of subscribing to each download, or auto-subscribe to a download that has been texted and selected, we could just have a configuration for notifications, such that whenever any downloads complete (and other events) those in the configuration would be notified.

Pros:

  1. Not in memory, persisted to config file
  2. Easy to implement, no subscription for each event of certain type and for specific download. Instead just any events get pushed to notification listeners
  3. Automatically downloaded torrents will still send notification to all, even though no human initiated the download and subscribed to torrent.

Cons:

  1. Not as sexy.
  2. Notification listeners must receive all events (If I download a torrent and it is completed, my roommate would receive that notification as well, without asking).

@Glavin001
Copy link
Owner Author

  • Event listener
    • download:complete
    • download:stopped/paused/etc
    • download:started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant