How to use rutorrent: RSS plugin

lisas4567

Member
May 25, 2018
773
0
16
So I kinda found the problem.

---
sh -c '/usr/bin/php-cgi' '/var/www/rutorrent/plugins/rss/update.php' 'm0nst4r' & exit 0
---

--- Success ---
PHP Notice: Undefined variable: argv in /var/www/rutorrent/plugins/rss/update.php on line 3
PHP Notice: Undefined variable: argv in /var/www/rutorrent/plugins/rss/update.php on line 6
X-Powered-By: PHP/5.3.2-1ubuntu4.2
Content-type: text/html


I guess the problem is, that it calls /usr/bin/php-cgi and not /usr/bin/php, because there is no argv and argc in the cgi version.
But in the .rtorrent.rc I set it correct...
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php m0nst4r &}

It is in the conf/config.php where you set the path to php I set it to the cgi version. Thats the Problem.
It works now.

Thanks for the help!
 

saroos1

Member
May 25, 2018
718
0
16
=)

Glad i could be of service.

yes, hopefully this helps others, you should always set config.php to the cli versions, NOT the cgi
 

simur612

Member
May 25, 2018
879
0
16
Hi

I'm not sure if I have done this right. I'm trying to download Blue Bloods S01E06 to E09.

This is the actual file (series) I'm interested in downloading:

Blue.Bloods.S01E06.HDTV.XviD-LOL

File Info:
File Information
Video : XviD
Audio : MP3 160 kbps 2ch 48khz
Aspect Ratio : 16:9
Resolution : 624x352
Frame Rate : 23.976024 fps

I have attached a copy of the RSS manager - Filter Settings Screenshot. I would likes some comments on my efforts as this is my first attempt.

Cheers

 

randac56

Member
May 25, 2018
915
0
16
Your regex is wrong. Try this:

/Blue.Bloods.S01E0[6-9].*/i

That should match the releases you want. Your exclude filter will filter out the 720p releases.
 

peshua19

Member
May 25, 2018
897
0
16
as brock said, your filter is wrong. As for an exclude, i always find doing it like this is best:
Code:
/(DVDR|Complete|DVDRip|BDrip|Bluray)/i
 

peshua19

Member
May 25, 2018
897
0
16
Hi,

i've been trying to get this plugin to accept new feeds, but whatever feed i try, i always get "Error loading feed. (url). I've tried 3 sites and all give the same error. There are no logs so i have no idea what the problem might be, i have php5-curl and php5-cli installed. rutorrent works perfectly, except for this plugin.

Any idea what the problem could be?

(using rutorrent 3.2 and rss-3.20)
 

saroos1

Member
May 25, 2018
718
0
16
rolleyes.gif

it was getting very late yesterday, so i forgot to chmod the share/settings folder, thats what you get when looking at code all day.

Everything works. Thanks wink.gif
 

simur612

Member
May 25, 2018
879
0
16
How does the start of the torrents via RSS work when the Interface is not loaded in a browser?
I don't see any running rutorrent process in the background.
 

randac56

Member
May 25, 2018
915
0
16
How does the start of the torrents via RSS work when the Interface is not loaded in a browser?
I don't see any running rutorrent process in the background.
Put this in your .rtorrent.rc (update the paths and webui user name):

Code:
execute = {sh,-c,/usr/bin/php /var/rutorrent/rutorrent/php/initplugins.php yourRUTORRENTname &}
 

peshua19

Member
May 25, 2018
897
0
16
Yes I know that, but i thought that was just optional?
Shouldn't it be also activated when I don't have it in the rc-file and access the webinterface once? Should also call initplugins.php


Everything is working fine, I'm just interested how it works. smiley.gif
 

lisas4567

Member
May 25, 2018
773
0
16
it uses the php and the rtorrent process itself.

The line he told you to add does the same thing as actually loading rtorrent in your browser.

If you really wish to know more, add the execute.log to rtorrent.rc and you can see every command run via the rtorrent user.
 

saroos1

Member
May 25, 2018
718
0
16
Thank you.
I didn't think rutorrent could utilize the rtorrent process.
Will have to have a closer look at the source code. smiley.gif
 

simur612

Member
May 25, 2018
879
0
16
Hi,
I struggling with setting up the Filter.

My filter:
/Castle.*HDTV.*/i
Torrent name:
Castle.2009.S03E17.720p.HDTV.X264-DIMENSION

But the RSS didn't automatically download. What is wrong with my filter?

BTW - Using rutorrent v3.2.
 

peshua19

Member
May 25, 2018
897
0
16
I wonna make the filter for Conan but only XviD not 720p version. Obviously the filter didnt work.
Can You please help me sort this a bit?
What should filter look like when I want only XviD version and what when I want only 720p version?
Should it look like this?
/Conan.2011.03.[0-9][0-9].*.XviD*/i
or only

/Conan.2011.*.XviD*/i
/The.Big.Bang.Theory.*.XviD*/i

Would that downlaod only XviD version? And just to replace 720p instead of xvid for hd version?