HDSpace.Org Search module for Synology Download Station
===================================================

This Search module works at Synology Download Station with http://hd-space.org tracker.

1. Introduction.

Problem. Synology DLM  API doesn't allow to perform authorization or keep the session to download 
.torrent file now.

Solution. We created the module that consists of two parts. First is a regular .dlm package that
operates the second one in Web Station or any other web-host you want.


2. Installation.

2.1. Quick installation to use default Synology Web Station path.

a. Install hdspace_syno_search.dlm: Download Station -> Settings -> BT Search -> Add
b. Enable Web Station: Control Panel -> Web Services -> Web Applications -> Enable Web Station
c. DSM 3.1 and below: Enable CURL extension: Control Panel -> Web Services -> PHP Settings ->  Select PHP Extension -> curl
d. Copy Web folder contents to Web Share -> /ds/hd-space.org/ folder of your Synology device.
e. Edit /ds/hd-space.org/config.php file with your login and password to HD-Space.Org.

That's it!

2.2. Custom installation to any host or different Web Station path. 

a. Edit src/search.php propertiy 'wurl' with your url.
This can be local address if you don't like default in p.2.1 or external one.
b. Pack all files from src folder to a dlm archive with TAR.
c. Install your .dlm file: Download Station -> Settings -> BT Search -> Add
d. Copy Web folder contents to the host/folder that you set in p.2.2.a. 
e. Edit config.php file with your login and password to HD-Space.Org.

That's it too :)