Today, just to waste sometime, decided to find a way by which I can add rss support to transmission.
Thanks to this post, I found a way with the help of this script.
BUT there are problems with the script -
1. It will parse the rss and add the torrents to transmission's queue. But is if happen to delete the torrent, it will again add it.
2. There is no log file which it can refer to while deciding about downloading it.
Then I summon the my coding super powers to modify the script. Now my script while parsing the RSS also refers to the log file and checks the title of the torrent. If it is there, script will not add the torrent. Rather it will display a message like below
Torrent Already Downloaded / or in queue: Torrent NameHere is my script. https://github.com/nigamankit7/transmission-rss
Now steps to set it up -
- Open SSH and connect to your cloud
- Install Transmission (I used this tutorial)
- Go to your home dir or anywhere you like
cd ~/ - Download chinese PHP script with wget:
wget https://raw.githubusercontent.com/nigamankit7/Transmission-RSS/master/rss.php - Edit the config section at the end of the file with any text editor
$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?...'
);
$server = 'http://127.0.0.1';
$port = 9091;
$rpcPath = '/transmission/rpc';
$user = '';
$password = '';
- Save and exit
- Test your script with
php rss.php
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
crontab -e - 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
*/10 * * * * php ~/rss.php
EDIT - "/home/pi/.kodi/userdata/addon_data/script.raspbmc.settings/settings.xml"
SET : sys.service.cron TO "true"