Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1.  
  2. # Import variables
  3. variables: private/secrets.yml
  4.  
  5. web_server:
  6. # Run webservice
  7. bind: 0.0.0.0
  8. port: 5050
  9. web_ui: yes
  10.  
  11. schedules:
  12. # Run all tasks once an 10 min
  13. - tasks: '*'
  14. interval:
  15. minutes: 10
  16.  
  17. templates:
  18. global:
  19. regexp:
  20. reject:
  21. - (s|d)ub(s|bed)?\b: {from: title}
  22. - (duo|tri|quadri|tetra|penta|hexa|hepta|octa|ennea|deca)logy: {from: title}
  23. # - \b3-?D\b: {from: title}
  24. - Blu-ray: {from: title}
  25. # - BDRemux: {from: title}
  26. - полностью: {from: title}
  27. - MP4: {from: title}
  28.  
  29. torrents:
  30. transmission:
  31. enabled: yes
  32. host: '{? transmlogin.host ?}'
  33. port: 9091
  34. username: '{? transmlogin.usr ?}'
  35. password: '{? transmlogin.pwd ?}'
  36. addpaused: no
  37. maxconnections: 30
  38. honourlimits: yes
  39. clean_transmission:
  40. enabled: no
  41. host: '{? transmlogin.host ?}'
  42. port: 9091
  43. username: '{? transmlogin.usr ?}'
  44. password: '{? transmlogin.pwd ?}'
  45. transmission_seed_limits: yes
  46.  
  47. pb-notify:
  48. notify:
  49. entries:
  50. title: "Добавлена новая серия сериала: {{ tvdb_series_name }}"
  51. message: "{{ tvdb_series_name|default(series_name) }} - {{ tvdb_ep_name }}{% if tvdb_ep_name|default(False) %}{% endif %} - {{ tvdb_ep_id }} [{{ quality }}]"
  52. what: accepted
  53. via:
  54. - pushbullet:
  55. api_key: '{? pushbullet.apikey ?}'
  56.  
  57. tg-notify:
  58. notify:
  59. entries:
  60. message: |+
  61. *{{series_name}}*
  62. _{{series_season}} сезон_
  63. _{{series_episode}} серия_
  64. [Постер]({{description}})
  65. via:
  66. - telegram:
  67. bot_token: '{? telegram.bot_token ?}'
  68. parse_mode: markdown
  69. recipients:
  70. - username: '{? telegram.username1 ?}'
  71. tv:
  72. thetvdb_lookup: yes
  73. include: private/series.yml
  74.  
  75. tvshows:
  76. set:
  77. path: /volume1/all/serials/{{series_name}}/Season {{series_season}}
  78. label: TV Shows
  79. transmission:
  80. host: example.com
  81. port: 9091
  82. series_premiere: yes
  83.  
  84.  
  85. tasks:
  86. lostfilm:
  87. priority: 1
  88. headers:
  89. cookie: '{? lfc.uid ?}'
  90. rss: http://www.lostfilm.tv/rssdd.xml
  91. urlrewrite:
  92. lostfilm:
  93. regexp: 'http://lostfilm.tv/download.php\?(?P<details>.*)'
  94. format: 'http://www.lostfilm.tv/download.php?\g<details>'
  95. template: [tv, tg-notify, pb-notify]
  96. manipulate:
  97. - title:
  98. replace:
  99. regexp: '[^a-zA-z0-9()]+\s'
  100. format: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement