Flexget - automatic series sorting
Lost
Lostfilm gives the rss tape in the form and for further work we need to clear this tape from Russian letters and round brackets using regular expressions. After that, the title of the tape looks like regexp, it turned out to be very not clear ... but it works. With the completed seasons fully and doubled distributions - did not test, most likely they will be re-uploaded. To download and sort, use the series plugin and Deluge
Обмани меня (Lie to me). Шестнадцатилетняя (Sweet Sixteen).. (S02E12)
feeds:
lostfilm:
headers:
cookie: "uid=xxxxx; pass=xxxxxxxxxxxxxx"
rss: http://lostfilm.tv/rssdd.xml
manipulate:
title:
from: title
extract: .*\((.*)\).*(\.).*\((.*)\)(.*).*\((.*)\)
preset: lost
Lie to me . Sweet Sixteen .. S02E12
presets:
lost:
deluge: yes
set:
path: ~/incomplete/
movedone: ~/download/%(series_name)s/Season %(series_season)d/
series:
- FlashForward
- Lie To Me
Nova
Rss is new
<p>Lie To Me / Season 2, episode 12 «Sweet Sixteen» / WEB-DL / 720p / x264, AC3, RUS, ENG / NovaFiLM.TV (Сериалы: драма)</p>
and we need to not only clean it,
<p>
but also replace Season 2, episode 12 with S02E12, and also choose the quality with which to download, well, not everything I watch 720p.
If you do not explicitly set the quality, and there are two identical tapes that fall under the rule, but with different quality, it will be downloaded with quality 720. We cut out the garbage at the beginning of the runoff and replace Season 2, episode - for the series plugin to work correctly, without it substitutes season number for year 2010.
You can do this:
For those who don’t use Deluge to download torrents, I suggest a script for Flexget: It decomposes into folders of the form / Lost / season 6 / whatever you choose from the dump general folder . Of the minuses - will interrupt your distribution.presets:
nova:
series:
settings:
720p:
quality: 720p
set:
path: ~/incomplete/
movedone: "~/download/%(series_name)s/Season %(series_season)d/"
label: 720p
hdtv:
quality: hdtv
set:
path: ~/incomplete/
movedone: "~/download/%(series_name)s/Season %(series_season)d/"
label: tv
720p:
- Lie to me #смотрю с высоким качеством
- Archer
hdtv:
- Justified # с обычным
deluge: yes
feeds:
novafilm:
headers:
cookie: "uid=xxxxx; pass=bxxxxxxxxxxxxxxxxd9"
rss: http://novafilm.tv/rss/rssd.xml
manipulate:
titlep:
from: title # вырезаем <p>
extract: \<p\>(.*)
season:
from: title # заменяем Season 2, episode 12
replace:
regexp: Season\s(?P<ids>\d+).*episode\s(?P<ide>\d+)
format: 'S\g<ids>E\g<ide>'
series:
- FlashForward:
ep_regexp:
- Season\s(\d+).*episode\s(\d+)
- Lie To Me:
ep_regexp:
- Season\s(\d+).*episode\s(\d+)
feeds:
manage-series:
listdir: /volume1/downloads/
disable_builtins: yes
series:
- house
- Big Bang Theory
set:
path: /volume2/Serier/%(series_name)s/Season %(series_season)d/
manipulate:
source:
from: file
regexp: file://(.*)
exec: mv "%(source)s" "%(path)s"
I didn’t use it myself, I found it on the Flexget website