28th Jan, 2014, 07:08 AM
Hi, I am in the process of migrating my pi form XBMC to xbian. Up to now it was looking good.
I am following instructions found here.
The problem is NOT xbian but flexget. It appears that the version of flexget I installed is a later one than the one on my old install. Some of the plugins/syntax is now redundant. I have tried to find a flexget forum to post in but it does not exist.
The config is in 2 parts. The main config plus a series.yml. So far the errors are in config.yml.
I tried Googling and kept ending up at various flexget pages but can not find the answer I need.
These errors come from the discover: part of tv-global: at about line 53.
The config.yml is cobbled together from various bits I found on the WEB. I left in Deluge refs as they may/may not work with transmission and do not appear to be generating errors. As you can see, I am a bit of a NooB to coding.
Can anyone help as this is the last step in getting the whole xbian set-up working?
In case it is relevant - the series.yml
I am following instructions found here.
The problem is NOT xbian but flexget. It appears that the version of flexget I installed is a later one than the one on my old install. Some of the plugins/syntax is now redundant. I have tried to find a flexget forum to post in but it does not exist.
The config is in 2 parts. The main config plus a series.yml. So far the errors are in config.yml.
I tried Googling and kept ending up at various flexget pages but can not find the answer I need.
Terminal
xbian@xbian ~/.flexget $ flexget check
2014-01-27 20:57 CRITICAL manager [/templates/tv-global/discover] The key `type` is not valid here.
2014-01-27 20:57 CRITICAL manager [/templates/tv-global/discover] `from` is a required property
2014-01-27 20:57 CRITICAL manager [/templates/tv-global/discover] The key `type` is not valid here.
2014-01-27 20:57 CRITICAL manager [/templates/tv-global/discover] `from` is a required property
These errors come from the discover: part of tv-global: at about line 53.
The config.yml is cobbled together from various bits I found on the WEB. I left in Deluge refs as they may/may not work with transmission and do not appear to be generating errors. As you can see, I am a bit of a NooB to coding.
Code:
# Original idea from http://www.havetheknowhow.com/Install-the-software/sample-flexget-config-file.html
# Additional ideas found at https://github.com/gmoulin/flexget
#
templates:
global:
transmission:
host: localhost
# port: 9091
port: 61413
username: <transmission-user>
password: <transmission-pass>
email:
from: <me>@gmail.com
to: <me>@gmail.com
smtp_host: smtp.gmail.com
smtp_port: 587
smtp_username: <me>@gmail.com
smtp_password: <mypasword>
smtp_tls: yes
# Make there's 10GB free before adding more downloads
free_space:
path: /media/Media
space: 10000
# Make sure all filenames are Windows safe (for samba)
#pathscrub: windows
# Most of these are the results of problem torrents I kept seeing still pop up, so I wholesale blocked them
# RegExr (http://www.gskinner.com/RegExr/) is a great tool for testing regexes
regexp:
reject:
#- (s|d)ub(s|bed)?\b: {from: title} # Block any subbed/dubbed/etc videos
- \b3-?D\b: {from: title} # I don't have any 3D displays
- \btrailer\b: {from: title} # I've gotten a few trailers that matched as movies. VERY annoying
- \bR5\b: {from: title} # The following are poor quality types that somehow got through the quality
- \bWEBSCR\b: {from: title} # features usually due to the title including a keyword like "720p" as well
- \bscreener\b: {from: title}
- \bTS\b: {from: title}
- \bCam\b: {from: title}
- \bRAW\b: {from: title}
- \bfrench\b: {from: title}
- \bgerman\b: {from: title}
- \bita\b: {from: title}
- \bspanish\b: {from: title}
- \bvostfr\b: {from: title}
#torrent_alive: { min_seeds: 1, reject_for: 10 minutes }
content_filter:
require:
- '*.avi'
- '*.mkv'
- '*.mp4'
- '*.rar'
- '*.r0*'
- '*.part0*'
reject: [ 'password.txt' ]
tv-global:
discover:
what:
- listdir:
- '/media/Media/Media'
type: any
# Impose reasonable size constraints
content_size:
min: 20
# Prevent from downloading shows that were aquired manually
# or are currently downloading
exists_series:
- '/media/Media/Media/TV Shows/series/'
# Look up info on TheTVDB.com to fill in extra info
thetvdb_lookup: yes
# Add accepted entries to Deluge and make sure they end up in the correct folder with a nice name
set:
# Rename the "content file" to something nice, deluge specific
content_filename: >
{{ series_name|replace('/', '_')|replace(':', ' -') }} - {% if series_id_type == 'ep' and thetvdb_lookup_season_offset|default(False) %}{{ "S%0.2dE%0.2d"|format((series_season + thetvdb_lookup_season_offset),series_episode) }}{% else %}{{ series_id }}{% endif %}{% if ep_name|default(False) %} - {{ ep_name|replace('/', '_')|replace(':', ' -') }}{% endif %} - {{ quality }}
label: tv
# These are the shows I regularly watch
tv-shows:
# I've broken out my series lists into a seperate yml to clean up my config
include: [ series.yml ]
tasks:
# Add shows to personal RSS feed at showrss.info
showrss-info:
http://showrss.info/rss.php?user_id=164720&hd=0&proper=null
template: tv-shows
btchat-vtv:
rss: http://rss.bt-chat.com/?group=2
template: tv-shows
btchat-eztv:
rss: http://rss.bt-chat.com/?group=3
template: tv-shows
btchat:
rss: http://rss.bt-chat.com/?group=1
template: tv-shows
btchat-verified:
rss: http://rss.bt-chat.com/?group=230
template: tv-shows
btchat-not-sure:
rss: http://www.bt-chat.com/rss.php?mode=cg&group=3&cat=9
template: tv-shows
ezrss-latest:
rss: http://www.ezrss.it/feed/
template: tv-shows
ezrss-alternate:
rss: https://ezrss-proxy.net/feed/
template: tv-shows
showrss:
rss: http://showrss.karmorra.info/feeds/all.rss
template: tv-shows
Can anyone help as this is the last step in getting the whole xbian set-up working?
In case it is relevant - the series.yml
Code:
series:
settings:
best:
quality: hdtv+ <=720p !10bit
target: 720p
timeframe: 24 hours
propers: 12 hours
set:
# movedone: "/media/Media/Media/TV Shows/%(series_name)s/Season %(series_season)s/" (DELUGE ONLY COMMAND!)
path: /home/USB-Drive/TV Shows/{{series_name}}/Season {{"%02d"|format(series_season)}}
# for each accepted and rejected video file we open a ssh connection and move
# the downloaded file from the completed torrent directory to the destination
exec:
on_output:
for_entries: mkdir -p "{{path}}" && mv "{{location}}" "{{path}}/"
for_rejected: mkdir -p "{{path}}" && mv "{{location}}" "{{path}}"
# propers: 12 hours
# These are my favorite shows, I want the best quality from these
best:
- Arrow:
name_regexp: ^arrow(?!.2009)
- Bones
- Casualty
- Continuum
- CSI
- Defiance
- Doc Martin
- Eureka
- 'F1'
- 'Formula 1'
- Falling Skies
- Fringe
- Game of Thrones
- Grimm
- House
- Merlin
- Once Upon a Time
- Person of Interest
- Primeval
- QI
- Revolution
- Red Dwarf
- Sanctuary
- Marvel's Agents of S.H.I.E.L.D.
- S.H.I.E.L.D.
- Stargate
- Supernatural
- Terra Nova
- The Mentalist
- Torchwood
- Touch
- Under the Dome
- 'Warehouse 13'