FlexGet RSS Feeds

User avatar
DunkB
Member
Member
Posts: 49
Joined: March 17th, 2011, 9:19 pm

Re: FlexGet RSS Feeds

Post by DunkB »

lol thanks Ian,

You should have kept quiet, I'd have thought I was being thick.
I also had to indent the program rss, as when I pasted the example it had no indentation which gave an error.

I also had an error because I hadn't created the incomplete folder, dohhh. I still haven't managed to get anything into Deluge but I've not had change to study the output from Flexget, probably something simple like there being no show available. :D
User avatar
kiniku70
Member
Member
Posts: 12
Joined: February 19th, 2015, 9:01 pm

Re: FlexGet RSS Feeds

Post by kiniku70 »

Hi all.

I'm doing the flexget install and setup mostly on rails. :) But I ran this "test" and here is the result:

$ sudo -H -u deluge flexget execute
2015-02-19 13:58 VERBOSE manager Creating new database /var/lib/deluge/.flexget/db-config.sqlite ...
2015-02-19 13:58 CRITICAL manager mapping values are not allowed here in "<unicode string>", line 6, column 17: timeframe: 6 hours ^

-------------------------------------------------------------------------------
Malformed configuration file (check messages above). Common reasons:
-------------------------------------------------------------------------------

o Indentation error
o Missing : from end of the line
o Non ASCII characters (use UTF8)
o If text contains any of :[]{}% characters it must be single-quoted (eg. value{1} should be 'value{1}')

Reason: mapping values are not allowed here

----> MOST LIKELY REASON: Missing : from end of the line!

Check configuration near line 5, column 16

Fault is almost always in this or previous line

2015-02-19 13:58 CRITICAL manager Failed to load config file: Config file is not valid YAML
Could not start manager: Config file is not valid YAML


Here is my conf file:

templates:
tv:
series:
settings:
720p
timeframe: 6 hours
quality: 720p
set:
movedone:"/mydata/tv shows/Mum/%(series_name)s/Season %(series_season)s/"

HDTV:
quality: hdtv
set:
movedone:"/mydata/tv shows/Mum/%(series_name)s/Season %(series_season)/s"

720p:
- Impractical Jokers

HDTV:
-Star Wars The Clone Wars:
set:
movedone:"/mydata/tv shows/%(series_name)s/Season %(series_season)/s/"

tasks:
EZRSS:
rss: http://www.ezrss.it/feed/
priority: 1
preset: tv
Karmorra:
rss: http://showrss.karmorra.info/rss.php?us ... 2&proper=1
priority: 2
preset: tv
BTCHAT:
rss: http://rss.bt-chat.com/?group=3
priority: 3
preset: tv


Do you see why I am receiving the error?

Thank you
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: FlexGet RSS Feeds

Post by Ian »

Hi,

Your issue is here:

Code: Select all

settings:
 720p
 timeframe: 6 hours
You need a colon at the end of 720p. So, it should be 720p:

Hope this helps.

Ian.
User avatar
kiniku70
Member
Member
Posts: 12
Joined: February 19th, 2015, 9:01 pm

Re: FlexGet RSS Feeds

Post by kiniku70 »

Thank you Ian. I have a new one I have put some changes it. It seems this config.yml file and the correct standards are somewhat ambiguous. I've put together this one now and it appears it gets past the syntax check but the sources are invalid?

templates:
tv:
series:
settings:
HDTV:
timeframe: 6 hours
quality: hdtv
set:
movedone: "/mydata/tv shows/%(series_name)s/Season %(series_season)s/"

HDTV:
- Impractical Jokers

HDTV:
- Star Wars The Clone Wars:
set:
movedone: "/mydata/tv shows/TV Shows/%(series_name)s/Season %(series_season)s/"

deluge:
path: /mydata/tv shows/incomplete/

tasks:
EZRSS:
rss: http://www.ezrss.it/feed/
priority: 1
template: tv
Karmorra:
rss: http://showrss.karmorra.info/rss.php?us ... 2&proper=1
priority: 2
template: tv
BTCHAT:
rss: http://rss.bt-chat.com/?group=3
priority: 3
template: tv


And here's the feedback from the execute test:

2015-02-20 11:16 INFO manager Test mode, creating a copy from database ...
2015-02-20 11:16 INFO manager Test database created
2015-02-20 11:16 CRITICAL manager [/tasks/EZRSS] The key `preset` is not valid here. Only known plugin names are valid keys.
2015-02-20 11:16 CRITICAL manager [/tasks/BTCHAT] The key `preset` is not valid here. Only known plugin names are valid keys.
2015-02-20 11:16 CRITICAL manager [/tasks/Karmorra] The key `preset` is not valid here. Only known plugin names are valid keys.
2015-02-20 11:16 CRITICAL manager Failed to load config file: Did not pass schema validation.
Could not start manager: Did not pass schema validation.
kiniku@ubuntu:~$ sudo -u deluge vim /var/lib/deluge/.flexget/config.yml
kiniku@ubuntu:~$ sudo -H -u deluge flexget --test execute
2015-02-20 11:18 INFO manager Test mode, creating a copy from database ...
2015-02-20 11:18 INFO manager Test database created
2015-02-20 11:18 VERBOSE task_queue There are 2 tasks to execute. Shutdown will commence when they have completed.
2015-02-20 11:18 INFO deluge EZRSS Using deluge 1.2 api
2015-02-20 11:19 WARNING requests.packages.urllib3.connectionpool EZRSS Retrying (Retry(total=0, connect=None, read=None, redirect=0)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /feed/
2015-02-20 11:19 CRITICAL plugin EZRSS Unable to download the RSS for task EZRSS (http://www.ezrss.it/feed/): HTTPConnectionPool(host='www.ezrss.it', port=80): Max retries exceeded with url: /feed/ (Caused by ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known')))
2015-02-20 11:19 WARNING task EZRSS Aborting task (plugin: rss)
2015-02-20 11:19 INFO email EZRSS Would send email : Content-Type: multipart/alternative;\n boundary="===============0103062475728313108=="\nMIME-Version: 1.0\nTo: email@myemail.com\nFrom:
2015-02-20 11:19 INFO email EZRSS Task 'EZRSS' was aborted because: Unable to download the RSS for task EZRSS (http://www.ezrss.it/feed/): HTTPConnectionPool(host='www.ezrss.it', port=80): Max retries exceeded with url: /feed/ (Caused by ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known')))\n\n
2015-02-20 11:19 CRITICAL plugin Karmorra 'ascii' codec can't decode byte 0xe2 in position 2441: ordinal not in range(128)
2015-02-20 11:19 WARNING task Karmorra Aborting task (plugin: rss)
2015-02-20 11:19 INFO email Karmorra Would send email : Content-Type: multipart/alternative;\n boundary="===============7643312204303985159=="\nMIME-Version: 1.0\nTo: email@myemail.com\nFrom:
2015-02-20 11:19 INFO email Karmorra Task 'Karmorra' was aborted because: 'ascii' codec can't decode byte 0xe2 in position 2441: ordinal not in range(128)\n\n
2015-02-20 11:19 VERBOSE details BTCHAT Produced 40 entries.
2015-02-20 11:19 VERBOSE details BTCHAT Summary - Accepted: 0 (Rejected: 0 Undecided: 40 Failed: 0)
2015-02-20 11:19 INFO deluge BTCHAT Connecting to daemon at localhost:58846..
2015-02-20 11:19 INFO deluge BTCHAT Connected to daemon at 127.0.0.1:58846..
2015-02-20 11:19 INFO deluge BTCHAT Connection lost to daemon at localhost:58846 reason: Connection was closed cleanly.
2015-02-20 11:19 VERBOSE email BTCHAT No content generated from template, not sending email.
2015-02-20 11:19 INFO manager Removed test database


Are my sources bad?
Last edited by Ian on February 20th, 2015, 11:35 pm, edited 1 time in total.
Reason: email address inadvertently visible in post
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: FlexGet RSS Feeds

Post by Ian »

Are you based in the UK or some other country where those first two sites are banned? What happens if you type/paste those two URLs into a browser? Do you get the RSS feed back or some tosh about the sites being blocked?
User avatar
kiniku70
Member
Member
Posts: 12
Joined: February 19th, 2015, 9:01 pm

Re: FlexGet RSS Feeds

Post by kiniku70 »

I guess what I don't understand is, is that the only problem now? :)
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: FlexGet RSS Feeds

Post by Ian »

It looks like it.
User avatar
kiniku70
Member
Member
Posts: 12
Joined: February 19th, 2015, 9:01 pm

Re: FlexGet RSS Feeds

Post by kiniku70 »

OK. I appreciate the help Ian. I'm in the U.S. But do you know of any reliable tvshow RSS sources I could add?
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: FlexGet RSS Feeds

Post by Ian »

BTCHAT seems to be working fine for both you and me.
User avatar
kiniku70
Member
Member
Posts: 12
Joined: February 19th, 2015, 9:01 pm

Re: FlexGet RSS Feeds

Post by kiniku70 »

Yes. It is. But it doesn't have the shows I am trying to pull. But still have a couple of issues: I went in and removed the two other broken feeds but my chron job seems to be still trying to pull from them and is sending me error messages stating so.
Task 'EZRSS' was aborted because: Unable to download the RSS for task EZRSS (http://www.ezrss.it/feed/): HTTPConnectionPool(host='www.ezrss.it', port=80): Max retries exceeded with url: /feed/ (Caused by ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known')))

And

Task 'Karmorra' was aborted because: 'ascii' codec can't decode byte 0xe2 in position 2441: ordinal not in range(128)

But those feeds are gone. Do you know why by chance?

Thank you!
Post Reply