Skip to content

Instantly share code, notes, and snippets.

@nylen
Created September 29, 2010 01:18
Show Gist options
  • Save nylen/602139 to your computer and use it in GitHub Desktop.
Save nylen/602139 to your computer and use it in GitHub Desktop.
# basic options
directory = /media/rtorrent/_done
session = /media/rtorrent/_session
port_range = 20000-20020
# speed limits
download_rate = 800
upload_rate = 200
# log execute commands
execute_log = /media/rtorrent/execute.log
# for rtGui
scgi_local = /tmp/rtorrent-james.sock
# watch directories
schedule = watch_music,10,10,"load_start=/media/bit.torrents/music/*.torrent,d.set_directory=/media/rtorrent/music/,d.set_custom1=/media/rtorrent/_done/music/"
schedule = watch_other-music,10,10,"load_start=/media/bit.torrents/other-music/*.torrent,d.set_directory=/media/rtorrent/other-music/,d.set_custom1=/media/rtorrent/_done/other-music/"
schedule = watch_linux,10,10,"load_start=/media/bit.torrents/linux/*.torrent,d.set_directory=/media/rtorrent/linux/,d.set_custom1=/media/rtorrent/_done/linux/"
schedule = watch_windows,10,10,"load_start=/media/bit.torrents/windows/*.torrent,d.set_directory=/media/rtorrent/windows/,d.set_custom1=/media/rtorrent/_done/windows/"
schedule = watch_porn,10,10,"load_start=/media/bit.torrents/porn/*.torrent,d.set_directory=/media/rtorrent/porn/,d.set_custom1=/media/rtorrent/_done/porn/"
schedule = watch_other,10,10,"load_start=/media/bit.torrents/other/*.torrent,d.set_directory=/media/rtorrent/other/,d.set_custom1=/media/rtorrent/_done/other/"
schedule = watch_other-clients,10,10,"load_start=/media/bit.torrents/other-clients/*.torrent,d.set_directory=/media/rtorrent/other-clients/,d.set_custom1=/media/rtorrent/_done/other-clients/"
# move on complete
on_finished = move_complete,"execute=mv,$d.get_base_path=,$d.get_custom1= ;d.set_directory=$d.get_custom1= ;execute=rtorrent-handler,$d.get_base_path=,$d.get_hash="
# fix started, stopped views bug
view_filter = started,d.get_state=
view_filter = stopped,not=$d.get_state=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment