Commit Graph

5 Commits

Author SHA1 Message Date
ShyPike
b9efcaa5a1 Update copyright stuff. 2012-03-26 19:29:29 +02:00
ShyPike
aefdcd7cd6 Win32: Fix registration of SABnzbd url in the user registry. This made the NZB association go wrong. 2011-05-05 20:00:33 +02:00
ShyPike
4bb4de11b3 Update copyrights to 2011. 2011-01-01 14:33:41 +01:00
ShyPike
ca10eb8b8a Windows-only.
At startup store the API-url in the Registry.
In normal mode, store in key HKCU\Software\SABnzbd\api (value "url").
In Service mode, store in key HKLM\SYSTEM\CurrentControlSet\Services\SABnzbd\api (value "url").
When the program stops, the key is removed.
When SABnzbd is started with an NZB file as parameter, it will use the registry entry to get the API-url.
First the HKCU key is tried, if that does not exist, the HKLM key is used instead.

The registry entry can also be used by third-party utilities.

Fixed a bug where "net stop sabnzbd" would not notify SABHelper.
2010-11-29 21:31:53 +01:00
ShyPike
d3c91364b2 Move mailslot.py to a seperate package. This way the SABHelper binary can be made a lot smaller. 2010-04-05 14:11:44 +02:00