Download Station and Notifications -- Any Hacks to Fix it? [SOLVED]

Post your questions about BT download, FTP download, HTTP download, or QGet download software here.
Post Reply
crosis
New here
Posts: 9
Joined: Sun Jun 27, 2021 6:09 am

Download Station and Notifications -- Any Hacks to Fix it? [SOLVED]

Post by crosis »

Has anyone ever gotten Download Station to work with Notification Center or to issue any form of alert or event to trigger a notification? Let's face it, informing Qnap of any problem is a waste of time so I'm only interested in any hacks OR insights into how Download Station works ppl have discovered or implemented to fix this standing problem. Please dont suggest the always worthless answer, "Create a Ticket".
Last edited by crosis on Thu Aug 12, 2021 6:27 pm, edited 1 time in total.
crosis
New here
Posts: 9
Joined: Sun Jun 27, 2021 6:09 am

Re: Download Station and Notifications -- Any Hacks to Fix it?

Post by crosis »

SOLVED

Of course the solution wasnt relying on QNAP for a fix or anything within the Web GUI. From shell I'm making use of inotifywait to watch a path that changes then using the "notify" command to send a message to Notification Center.

For posterity ...

0. Install the Entware_STD package then SSH into the NAS

1. type: opkg install inotifywatch

2. Add the following into your NAS startup script so that it is run each time your NAS restarts up. This monitors for newly created content in the path_to_monitor:

Code: Select all

inotifywait --monitor --event create <path_to_monitor> | while read path action file; do
  notify send -A A047 -M 0 -l info -t 3 -C 0 "Download Complete: $file"
done &
3. Within QTS Web GUI go to Notification Center and create an Alert Notification. Severity Level: Information, Filter: Includes, Keyword: Download Complete:
Post Reply

Return to “Download Station and QGet”