rvasilev
10/26/2015 - 3:09 PM

Flexget config, which helps to put series from different russian-languaged trackers to organized folder structure using deluge.Also here is

Flexget config, which helps to put series from different russian-languaged trackers to organized folder structure using deluge.Also here is filtering based on quality, usual replacements for qualities and episode numberingFinally, one can find here filtering based on content size

series:
 - 'The Newsroom':
     alternate_name: 'Отдел новостей'
 - 'Sherlock':
     alternate_name: 'Шерлок'
 - 'Boston Legal':
     alternate_name: 'Юристы Бостона'
 - 'How I Met Your Mother':
     alternate_name: 'Как Я Встретил Вашу Маму'
 - 'The Big Bang Theory':
     alternate_name: 'Теория Большого Взрыва'
 - 'Blue Bloods':
     alternate_name: 'Голубая кровь'
 - 'Episodes':
     alternate_name: 'Эпизоды'
 - 'How to Make It in America':
     alternate_name: 'Как преуспеть в Америке'
 - 'Switched at Birth':
     alternate_name: 'Перепутанные / Их перепутали в роддоме'
series:
  480p:
    - 'Necessary Roughness':
        alternate_name: 'Необходимая жестокость'
    - 'Perception':
        alternate_name: 'Восприятие'
    - 'Franklin & Bash':
        alternate_name: 'Франклин и Бэш'
    - 'Twisted 2013':
        alternate_name: 'Социопат'
    - "Once Upon a Time":
        alternate_name: "Давным-давно / Once upon a time"
    - 'Bad Teacher':
        alternate_name: 'Очень плохая училка'
2525739,Star Wars: Episode VI - Return of the Jedi
4829909,The Giver
4924112,The Judge
3234079,Mr. Bean's Holiday
1294904,Johnny English
3909584,Johnny English Reborn
3283453,Mulan
4466739,Mulan II
4376522,A Sound of Thunder
3854243,The Time Machine
series:
  480p:
    - 'Scandal 2012':
        alternate_name: 'Скандал'
    - 'Continuum':
        alternate_name: 'Континуум'
    - 'Royal Pains':
        alternate_name: 'Пациент всегда прав'
    - 'Trophy Wife':
        alternate_name: 'Третья жена'
    - 'Jo':
        alternate_name: 'Джо'
    - 'Crisis':
        alternate_name: 'Кризис'
    - 'The Musketeers':
        alternate_name: 'Мушкетеры'
    - 'Covert Affairs':
        alternate_name: 'Тайные связи'
    - 'The Good Wife':
        alternate_name: 'Хорошая жена'
    - 'The Neighbors':
        alternate_name: 'Соседи'
    - 'Ripper Street':
        alternate_name: 'Улица потрошителя'
    - 'Person of Interest':
        alternate_name: 'В поле зрения'
    - 'The Client List':
        alternate_name: 'Список клиентов'
    - 'Graceland':
        alternate_name: 'Грейсленд'
    - 'The Tomorrow People US':
        alternate_name: 'Люди будущего'
    - 'Almost Human':
        alternate_name: 'Почти человек'
    - 'House of Cards US':
        alternate_name: 'Карточный домик'
    - 'The Crazy Ones':
        alternate_name: 'Сумасшедшие'
    - 'White Collar':
        alternate_name: 'Белый воротничок'
    - 'Golden Boy':
        alternate_name: 'Везунчик'
    - 'Suits':
        alternate_name: 'Форс-мажоры'
    - 'Unforgettable':
        alternate_name: 'Помнить всё'
    - 'Sleepy Hollow':
        alternate_name: 'Сонная Лощина'
    - 'Brooklyn Nine-Nine':
        alternate_name: 'Бруклин 9-9'
    - 'Elementary':
        alternate_name: 'Элементарно'
    - 'Lost Girl':
        alternate_name: 'Зов крови'
    - 'Vikings':
        alternate_name: 'Викинги'
    - 'Fargo':
        alternate_name: 'Фарго'
    - '24: Live Another Day':
        alternate_name: '24 часа: Проживи еще один день'
    - 'Once Upon a Time in Wonderland':
        alternate_name: 'Однажды в стране чудес'
    - 'Halt and Catch Fire':
        alternate_name: 'Замри и гори'
    - 'Tyrant 2014':
        alternate_name: 'Тиран'
    - 'The Leftovers':
        alternate_name: 'Остатки'
    - 'Extant':
        alternate_name: 'Выжившая'
    - "You're the Worst":
        alternate_name: 'Ты - Отстой'
    - "The Knick":
        alternate_name: 'Больница Ник'
    - 'Outlander':
        alternate_name: 'Чужестранка'
    - 'Forever 2014':
        alternate_name: 'Вечность'
    - 'Gotham':
        alternate_name: 'Готэм'
    - 'Stalker':
        alternate_name: 'Сталкер'
    - 'Better Call Saul':
        alternate_name: 'Лучше звоните Солу'
    - 'How to Get Away with Murder':
        alternate_name: 'Как избежать наказания за убийство'
series:
  '480p webdl':
    - 'Intelligence 2014':
        alternate_name: 'Искусственный интеллект'
    - 'Fleming: The Man Who Would Be Bond':
        alternate_name: 'Флеминг: человек, который хотел стать Бондом'
    - 'Being Human US':
        alternate_name: 'Быть человеком'
    - 'The 100':
        alternate_name: 'Сотня'
    - 'Black Sails':
        alternate_name: 'Черные паруса'
    - 'Cult':
        alternate_name: 'Культ'
    - 'Hawaii Five-0':
        alternate_name: 'Полиция Гавайев'
    - 'Klondike 2014':
        alternate_name: 'Клондайк'
    - "Marvel's Agents of S.H.I.E.L.D.":
        alternate_name: "Агенты Щ.И.Т."
    - 'Homeland':
        alternate_name: 'Родина'
    - 'Revolution':
        alternate_name: 'Революция'
    - 'Breaking Bad':
        alternate_name: 'Во все тяжкие'
    - 'Hell on Wheels':
        alternate_name: 'Ад на колесах'
    - 'The Borgias':
        alternate_name: 'Борджиа'
    - 'Beauty and the Beast':
        alternate_name: 'Красавица и чудовище'
    - 'Warehouse 13':
        alternate_name: 'Хранилище 13'
    - 'Under the Dome':
        alternate_name: 'Под куполом'
    - 'Arrow':
        alternate_name: 'Стрела'
    - 'Mob City':
        alternate_name: 'Город гангстеров'
    - 'Believe':
        alternate_name: 'Верь'
    - 'Chosen':
        alternate_name: 'Избранный'
    - 'From Dusk Till Dawn':
        alternate_name: 'От заката до рассвета'
    - 'Turn':
        alternate_name: 'Поворот'
    - 'Crossbones':
        alternate_name: 'Череп и кости'
    - 'Defiance':
        alternate_name: 'Непокорная земля'
    - 'Dominion':
        alternate_name: 'Доминион'
    - 'The Last Ship':
        alternate_name: 'Последний корабль'
    - "Legends 2014":
        alternate_name: 'Легенды'
    - 'Houdini':
        alternate_name: 'Гудини'
    - 'The Blacklist':
        alternate_name: 'Черный список'
    - 'Peaky Blinders':
        alternate_name: 'Острые козырьки'
    - 'The Flash 2014':
        alternate_name: 'Флэш'
    - "Agent Carter":
        alternate_name: 'Агент Картер'
    - 'Helix':
        alternate_name: 'Спираль'
  720p:
    - "A Young Doctor's Notebook":
        alternate_name: "Записки юного врача"
schedules:
  - tasks: '*'
    interval:
      minutes: 10
templates:
  global:
    make_rss:
      file: /home/xbmc/public_html/flexget.rss
      days: -1
      items: 200
    deluge: yes
    manipulate:
      - url:
          replace:
            regexp: '&amp'
            format: '&'
    thetvdb_lookup: yes
    metainfo_series: yes
  tvshows:
    template:
      - mailshow
    set:
      path: '/media/sda3/Video/Series/{{series_name}}/Season {{series_season}}'
    content_size: {max: 4300}
  mailshow:
    email:
      from: ******@******
      to:
        - ******@******
        - ******@******
      subject: "Недавно скачанные сериалы"
      template: movies
      smtp_host: smtp.yandex.ru
      smtp_port: 465
      smtp_ssl: true
      smtp_login: true
      smtp_username: "**********"
      smtp_password: "******"
      # smtp_ssl: yes
      smtp_tls: true
  mailpack:
    email:
      from: ******@******
      to:
        - ******@******
        - ******@******
      subject: "Недавно скачанные сериалы"
      template: plain-old
      smtp_host: *****
      smtp_port: 587
      smtp_login: true
      smtp_username: "******@******"
      smtp_password: "******"
      # smtp_ssl: yes
      smtp_tls: true
  mailmovie:
    email:
      from: ******@******
      to:
        - ******@******
        - ******@******
      subject: "Недавно скачанные фильмы"
      template: html
      smtp_host: smtp.gmail.com
      smtp_port: 587
      smtp_login: true
      smtp_username: "******@******"
      smtp_password: "******"
      # smtp_ssl: yes
      smtp_tls: true
tasks:
  Baibako:
    manipulate:
      - title:
          replace:
            format: h264
            regexp: x264
    rss: http://baibako.tv/rss2.php?feed=dl&passkey=******
    template:
      - tvshows
    include: baibako.yml
  Lostfilm:
    verify_ssl_certificates: no
    template:
      - tvshows
    headers:
      cookie: uid=******; pass=******; usess=******;
    rss: http://www.lostfilm.tv/rssdd.xml
    manipulate:
      - title:
          replace:
            regexp: \)\.\s\(
            format: ') [webdl 480p]. ('
      - title:
          replace:
            regexp: '[0-9]\.\s\('
            format: ') [webdl 480p]. ('
    urlrewrite:
      lostfilm:
        regexp: 'http://lostfilm.tv/download.php\?(?P<details>.*)'
        format: 'http://www.lostfilm.tv/download.php?\g<details>'
    include: lostfilm.yml
  Newstudio:
    template:
      - tvshows
    manipulate:
      - title:
          replace:
            regexp: 'Сезон\s(\d+),\sСерия\s(\d+)'
            format: s\1e\2
      - title:
          replace:
            regexp: Rip
            format: ' 480p'
      - url:
          replace:
            regexp: 'newstud\.io'
            format: 'newstudio.tv'
    rss: http://newstudio.tv/rss.php?user=******&pass=******
    include: newstudio.yml
  Alexfilm:
    template:
      - mailpack
    manipulate:
      - title:
          replace:
            regexp: WEB-DLRip
            format: 'webdl 480p'
    set:
      path: '/media/sda3/Video/Series/{{series_name}}'
    disable:
      - seen
    rss:  http://alexfilm.cc/rss.php?uk=******&uid=******
    series:
      <720p:
        - 'Old School':
            alternate_name: 'Старая школа'
        - 'Serangoon Road':
            alternate_name: 'Серангун Роуд'
  To4ka:
    template:
      - tvshows
    headers:
      COOKIE: uid=****;pass=******
    rss: http://to4ka.tv/rss.php?passkey=******
    manipulate:
      - title:
          replace:
            regexp: WEB-DLRip
            format: 'webdl 480p'
      - title:
          replace:
            regexp: HDTVRip
            format: 'webdl 480p'
    include: to4ka.yml
  tvfedor:
    set:
      path: '/media/sda3/Video/Series/{{series_name}}'
    # accept_all: yes
    template:
      - mailpack
    rss: http://tvfedor.ru/rss/63/63e55ff634e7533e1459eb3e649a3ef3.xml
    disable:
      - seen
    rutracker_auth:
      username: '**********'
      password: '**********'
    urlrewrite:
      rutor:
        regexp: 'http://rutor.org/torrent/(?P<id>)' 
        format: 'http://d.rutor.org/download/\g<id>'
    include: tvfedor.yml
  rutracker-films:
    urlrewrite:
      rutracker:
        regexp: '^(?P<id>\d+)$'
        format: 'http://rutracker.org/forum/viewtopic.php?t=\g<id>'
    csv:
      url: file:///home/xbmc/.flexget/rutracker-films.csv
      values:
        title: 2
        url: 1
        imdb_name: 2
    thetvdb_lookup: no
    rutracker_auth:
      username: '*******'
      password: '********'
    imdb_lookup: yes
    set:
      path: '/media/sda3/Video/Films/{{title}}'
    accept_all: yes
    template:
      - mailmovie
    disable:
      - seen_info_hash
series:
  h264:
    - 'Downton Abbey':
        alternate_name: 'Аббатство Даунтон'
    - 'Bones':
        alternate_name: 'Кости'
    - 'Delirium':
        alternate_name: 'Делириум'
    - 'Gang Related':
        alternate_name: 'Преступные связи'
    - 'The Honourable Woman':
        alternate_name: 'Благородная женщина'
    - 'Scorpion':
        alternate_name: 'Скорпион'
    - 'A to Z':
        alternate_name: 'От А до Я'
    - 'Battle Creek':
        alternate_name: 'Батл Крик'                                                                                                                                                                                  
    - 'NCIS: New Orleans':
        alternate_name: 'Морская полиция: Новый Орлеан'
    - 'The Librarians (2014)':
        alternate_name:•
            - 'Библиотекари /The Librarians'