Hello!
This is XMPP notify/control bot for 1.2.3 version.
http://bitbucket.org/enikesha/deluge-xmppnotify/
It requires twisted.words, twisted.names and wokkel library.
Bot usage with GTalk account requires python-openssl.
Features:
-- GTK and WebUI client interface
-- Notify on torrent finish
-- List current torrents
-- Add torrents from URL
-- Two access lists, for viewing and control commands
For now it supports following commands:
pass <pass> -- Send password to gain viewer or controller access (if not on whitelist, see below)
Viewing commands
list -- Lists all current torrents.
down -- Lists downloading torrents.
up -- Lists uploading(seeding) torrents.
paused/queued -- Lists paused and queued torrents.
help -- Shows this help.
Control commands
url <torrent url> [download location or L:label] -- Adds new torrent with optional download location or assigned label.
start notify -- Add user to notify list
stop notify -- Remove user from notify list
notify <text> -- Debugging command. Sends <text> to all configured notifees.
Configuration:
Notifier jabber account/password: Pre-registered jabber account for bot.
Users to notify: Line separated list of jabber/gtalk accounts to notify.
View password -- Use 'pass <password>' command to allow view commands for this jid
View whitelist -- Users in this list are allowed to use view commands without sending password.
If password is empty - only users on whitelist will be allowed to communicate with bot, it will be silent to all others.
If password and whitelist are empty - everyone will be allowed to use view commands (prev version behavior)
Control password and whitelist -- analogous to view, but allows control commands (url, start notify, stop notify)
If control's password and whitelist are empty -- only users in 'notify' list will be allowed to use control commands (prev version behavior)
Feel free to use http://bitbucket.org/enikesha/deluge-xm ... issues/new for any ideas/feature requests.
PS. When installing via WebUI it's needed to refresh page to see configuration tab.
Download
[Plugin] XMPP Notify plugin for 1.2.3
[Plugin] XMPP Notify plugin for 1.2.3
Last edited by enikesha on Wed Jan 19, 2011 10:07 pm, edited 6 times in total.
Re: XMPP Notify plugin for 1.2.3
Put a quick wiki page up for you: http://dev.deluge-torrent.org/wiki/Plugins/XMPPNotify
Re: XMPP Notify plugin for 1.2.3
Installed all the dependencies but I cannot get the plugin to start on 1.2.3
Re: XMPP Notify plugin for 1.2.3
Thanks for wiki!
Anything in the logs?
Anything in the logs?
Re: XMPP Notify plugin for 1.2.3
Nothing at all in the logs
Re: XMPP Notify plugin for 1.2.3
There should be something in 'info' logs, try launching daemon with '-L info'
Could you get Preferences page visible?
Plugin will be silent if something wrong with Jabber account.
Could you get Preferences page visible?
Plugin will be silent if something wrong with Jabber account.
Re: XMPP Notify plugin for 1.2.3
Well that is strange as I tried it again just now and its now working. My best guess is that it probably wasn't loading the new dependencies. You could add a try statement around those imports with an error message on fail as nothing was showing in debug logs.
Thanks for developing the plugin its working great now. One thing though, could you add a test button for sending notifications out rather than waiting for events?
Thanks for developing the plugin its working great now. One thing though, could you add a test button for sending notifications out rather than waiting for events?
Re: XMPP Notify plugin for 1.2.3
Import errors are visible in daemon's 'error' log when enabling plugin.
For testing you could use 'list' command or debugging 'notify <text>' command which sends <text> to all configured notifees.
For testing you could use 'list' command or debugging 'notify <text>' command which sends <text> to all configured notifees.
Re: XMPP Notify plugin for 1.2.3
there were no error in the debug log when i tried to enable the plugin last night so must be something else.
thanks the notify command works, you should add it to the list of commands
thanks the notify command works, you should add it to the list of commands
Re: XMPP Notify plugin for 1.2.3
I've updated plugin,
Now it support assigning label to torrent instead of setting download location on 'url' command.
Starting post attach updated.
Now it support assigning label to torrent instead of setting download location on 'url' command.
Starting post attach updated.