A small recipe that can be useful for the curious people.
A .dlm file is a gzip-compressed tar archive containing two files that Synology’s Download Station uses to search torrent sites.
Archive Structure my_plugin.dlm (tar.gz) ├── INFO # Plugin metadata (JSON) └── search.php # Search logic (PHP class) INFO File A JSON file describing the plugin. Example:
{ "name": "my_plugin", "displayname": "My Torrent Site", "description": "Search torrents on example.com", "version": "1.0", "site": "https://example.com/", "module": "search.php", "type": "search", "class": "SynoDLMSearchMyPlugin" } Fields Field Required Description name Yes Internal identifier (no spaces) displayname Yes Name shown in Download Station UI description Yes Short description version Yes Plugin version string site Yes URL of the torrent site module Yes PHP filename (always search.php) type Yes Always search class Yes PHP class name — must match exactly in both files accountsupport No true if the site requires login (changes prepare() signature) search.php A PHP class implementing two required methods: prepare() and parse().
...