Add user-agent to newznab providers. closes #211

This commit is contained in:
Ruud
2012-05-05 10:00:25 +02:00
parent 7c18fc8787
commit 674f0e82b9
5 changed files with 13 additions and 4 deletions
+2 -1
View File
@@ -3,13 +3,14 @@ from couchpotato.core.event import addEvent
from couchpotato.core.helpers.request import jsonified
from couchpotato.core.logger import CPLog
from couchpotato.core.plugins.base import Plugin
from couchpotato.environment import Env
log = CPLog(__name__)
class Notification(Plugin):
default_title = 'CouchPotato'
default_title = Env.get('appname')
test_message = 'ZOMG Lazors Pewpewpew!'
listen_to = ['movie.downloaded', 'movie.snatched', 'updater.available']