Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Import variables
- variables: private/secrets.yml
- web_server:
- # Run webservice
- bind: 0.0.0.0
- port: 5050
- web_ui: yes
- schedules:
- # Run all tasks once an 10 min
- - tasks: '*'
- interval:
- minutes: 10
- templates:
- global:
- regexp:
- reject:
- - (s|d)ub(s|bed)?\b: {from: title}
- - (duo|tri|quadri|tetra|penta|hexa|hepta|octa|ennea|deca)logy: {from: title}
- # - \b3-?D\b: {from: title}
- - Blu-ray: {from: title}
- # - BDRemux: {from: title}
- - полностью: {from: title}
- - MP4: {from: title}
- torrents:
- transmission:
- enabled: yes
- host: '{? transmlogin.host ?}'
- port: 9091
- username: '{? transmlogin.usr ?}'
- password: '{? transmlogin.pwd ?}'
- addpaused: no
- maxconnections: 30
- honourlimits: yes
- clean_transmission:
- enabled: no
- host: '{? transmlogin.host ?}'
- port: 9091
- username: '{? transmlogin.usr ?}'
- password: '{? transmlogin.pwd ?}'
- transmission_seed_limits: yes
- pb-notify:
- notify:
- entries:
- title: "Добавлена новая серия сериала: {{ tvdb_series_name }}"
- message: "{{ tvdb_series_name|default(series_name) }} - {{ tvdb_ep_name }}{% if tvdb_ep_name|default(False) %}{% endif %} - {{ tvdb_ep_id }} [{{ quality }}]"
- what: accepted
- via:
- - pushbullet:
- api_key: '{? pushbullet.apikey ?}'
- tg-notify:
- notify:
- entries:
- message: |+
- *{{series_name}}*
- _{{series_season}} сезон_
- _{{series_episode}} серия_
- [Постер]({{description}})
- via:
- - telegram:
- bot_token: '{? telegram.bot_token ?}'
- parse_mode: markdown
- recipients:
- - username: '{? telegram.username1 ?}'
- tv:
- thetvdb_lookup: yes
- include: private/series.yml
- tvshows:
- set:
- path: /volume1/all/serials/{{series_name}}/Season {{series_season}}
- label: TV Shows
- transmission:
- host: example.com
- port: 9091
- series_premiere: yes
- tasks:
- lostfilm:
- priority: 1
- headers:
- cookie: '{? lfc.uid ?}'
- rss: http://www.lostfilm.tv/rssdd.xml
- urlrewrite:
- lostfilm:
- regexp: 'http://lostfilm.tv/download.php\?(?P<details>.*)'
- format: 'http://www.lostfilm.tv/download.php?\g<details>'
- template: [tv, tg-notify, pb-notify]
- manipulate:
- - title:
- replace:
- regexp: '[^a-zA-z0-9()]+\s'
- format: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement