I noticed that if you start sickbeard as a deamon using the included init script ( the user is same user like the login user specified from /etc/default/sickbeard ) the libnotify Notifier doesn't working and bring back an error : Error: Environment variables DISPLAY and DBUS_SESSION_BUS_ADDRESS aren't set. libnotify will only work when you run Sick Beard from a desktop login.
There is something wrong with the deamon because if i run :
echo $DISPLAY
and
echo $DBUS_SESSION_BUS_ADDRESS
im getting proper results ..
I even checked in python using the os.environ['DISPLAY'] , os.environ['DBUS_SESSION_BUS_ADDRESS'] and im still getting results , so i think the culprit is in the init script or in the sickbeard deamon code.
Now in reverse , if you stop the sickbeard service with : sudo service sickbeard stop and start again sickbeard by directly running the ./sickbeard.py in the sickbeard folder strangely the libnotify works like a charm.
Thanks in advance.
