TVTorrents.Com Search module for Synology Download Station
==========================================================

This Search module works at Synology Download Station with http://www.tvtorrents.com tracker.

1. Introduction.

Problem. Synology 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 tvtorrents_syno_search.dlm: Download Station -> Settings -> Torrent Search -> Add
b. Enable Web Station: Control Panel -> Web Services -> Web Applications -> Enable Web Station
c. (For DSM 3.1 and lower) Enable CURL extension: Control Panel -> Web Services -> PHP Settings ->  Select PHP Extension -> curl
d. Copy Web folder contents to Web Share -> /ds/tvtorrents.com/ folder of your Synology device.
e. Edit /ds/tvtorrents.com/config.php file with your login and password to TVTorrents.Com.

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 another Web Station path if you don't like default in p.2.1 or external server.
b. Pack all files from src folder to a dlm archive with TAR.
c. Install your .dlm file: Download Station -> Settings -> Torrent Search -> Add
d. Copy Web folder contents to the folder that you set in p.2.2.a. 
e. Edit config.php file with your login and password to TVTorrents.com.

That's it too :)