Browse Source

Use variables to allow for sharing

main
Amelia A 9 months ago
parent
commit
c46fc7233e
Signed by: amy GPG Key ID: 98E879BC3B6E1BF8
  1. 7
      .gitignore
  2. 2
      Makefile
  3. 31
      README.md
  4. 13
      config.yml
  5. 5
      variables.example.yml

7
.gitignore

@ -1,4 +1,7 @@
env/*
*sqlite
*.sqlite
*.log
env/*
variables.yml
Brewfile.lock.json

2
Makefile

@ -7,7 +7,7 @@ install: env
${PYTHON} -m pip install --upgrade -r requirements.txt
env:
python -m venv env
python3 -m venv env
transmission:
brew bundle install

31
README.md

@ -0,0 +1,31 @@
# Flex-get personal repo
this repo is macOS centric but you could adapt it to other systems
## Setup
- copy `variables.example.yml` to `variables.yml`
- update paths and url in `variables.yml`
- `make install`
- `make transmission`
- cron this with `cd $HOME/Code/flexget && ./env/bin/flexget --cron execute`
## Tasks
### shana_project
getting fansubs. This site is amazing and very helpful
### remove_stale_torrents
Cleans out torrents once you are done seeding.
### migrate_deluge
Shana by default recommends there deluge plug-on. However I wanted to move to something a bit more self maintained. To migrate everything out of deluge I used this.
I am leaving it in for historical purposes in case anyone else wants to do this and has some long standing things in deluge to migrate over.
## LICENCE
Be Gay, Do Crime.

13
config.yml

@ -1,13 +1,14 @@
variables: variables.yml
tasks:
shana_project:
no_entries_ok: yes
rss:
url: http://www.shanaproject.com/feeds/secure/user/31564/G2ZRD4JB1Z/
url: '{? shana_project.private_rss ?}'
other_fields: [folder]
accept_all: yes
transmission:
ratio: 10
path: '/Volumes/Drobo/Anime/{{folder}}/'
path: '{? directories.anime ?}/{{folder}}/'
remove_stale_torrents:
no_entries_ok: yes
@ -24,13 +25,11 @@ tasks:
migrate_deluge:
manual: yes # only run with flexget execute --tasks migrate_deluge
from_deluge:
config_path: "/Users/dos/.config/deluge"
config_path: '{? directories.home ?}/.config/deluge'
set:
path: "{{deluge_path}}" # to be sure that transmission downloads to the same path as deluge
seen: local
accept_all: yes
deluge: no
transmission: yes # you may need to setup connection info here
disable:
- seen
- seen_info_hash
transmission: yes
disable: [seen, seen_info_hash]

5
variables.example.yml

@ -0,0 +1,5 @@
directories:
anime: '/where/do/anime'
home: '/Users/homedir'
shana_project:
private_rss: 'https://www.shanaproject.com/feeds/secure/user/######/#########/'
Loading…
Cancel
Save