I was very happy that I could download torrents on my cloud, but there was one thing missing. After multiple experiments ending by bricking the whole thing I finally got to the place, where I have v4 firmware, Transmission as deamon with RSS auto-downloder. And because this whole debricking journey wouldn’t be possible without this community, here’s my input.
To be honest, it should work on any firmware version, but I’ve tested it on v4 only.
What you need:
PHP (already working on cloud)
Transmission with deamon running (I used this tutorial)
Cron (already working on cloud)
I’m pretty new to the whole thing, I just bought my device week ago. So because the new v4 firmware we can’t use Flexget (whatever it is) that helps us download torrents from RSS, we need something else. We already have PHP on board and I noticed we have cron running (I’m not sure if it’s been from the start or after I installed Transmission). Here’s how to take advantage of the above and make torrents from RSS possible without bloody Flexget :wink:
Open SSH and connect to your cloud
Install Transmission (I used this tutorial)
Go to your home dir or anywhere you like
Download chinese PHP script with wget:
Edit the config section at the end of the file with any text editor
Here is the list of RSS links (it can be more than one. Just delete all of them here and put yours. Remember to omit the comma after the last link.
$rss = array( 'http://chdbits.org/torrentrss.php...', 'http://totheglory.im/putrssmc.php...', 'https://hdcmct.org/torrentrss.php...', 'https://open.cd/torrentrss.php?.....', 'https://mv.open.cd/torrentrss.php?..', 'http://hdwing.com/rss.php?..........', 'http://hdtime.org/torrentrss.php?...' );
Internal IP to your cloud (it’s better to use static local IP, I’m not sure if the name would work like on your computer)
$server = 'http://127.0.0.1';
Access port to Transmission (if you haven’t change it, skip it)
$port = 9091;
RPC path for Transmission (same here, skip it if you haven’t changed it)
$rpcPath = '/transmission/rpc';
Credentials for your Transmission (empty by default)
$user = ''; $password = '';
Save and exit
Test your script with
If all goes well, it should return a list of found links and added to Transmission, for example:
success add torrent: Two and a Half Men 12x09 Bouncy, Bouncy, Bouncy, Lyndsey 720p success add torrent: The Big Bang Theory 8x12 The Space Probe Disintegration 720p success add torrent: Forever 1x12 720p success add torrent: The Mentalist 7x06 Green Light 720p
Check your Transmission web UI if they are downloading.
Now we can add the task to cron. Edit the cron with
You should see at least one line with Transmission daemon. We need to add another line, like
*/10 * * * * php ~/rss.php >> /var/log/rss.log 2>&1
or the one without logs
*/10 * * * * php ~/rss.php
This should run our script every 10 mins.
- If you want to change the period, feel free. You can use some tool to make the config for you, like: http://www.cronmaker.com
Bare in mind that I’m not the author of the script, so I cannot change it. I am web developer, so I could, but it works for me so I didn’t need to. If someone will have any problems I could try and help you, feel free to comment.