Skip to content

Commit

Permalink
Cleanup README and fix dev link script
Browse files Browse the repository at this point in the history
  • Loading branch information
cas-- committed Sep 12, 2018
1 parent b781400 commit d9d378b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 14 deletions.
12 changes: 0 additions & 12 deletions README

This file was deleted.

36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Deluge Autoshutdown Plugin

A Deluge plugin to perform shutdown actions (shutdown, hibernate or standby)
when all torrents have completed downloading.

![](screenshot.png)

Homepage: https://github.com/cas--/autoshutdown/

## Download

Get the [latest release](https://github.com/cas--/autoshutdown/releases).

See [Deluge Plugins wiki] for install instructions.

## Installing from source code

Clone git or download the zip from https://github.com/cas--/autoshutdown

1. Build plugin egg

python setup.py bdist_egg

1. Install plugin to deluge

cp dist/AutoShutdown-0.1-py2.6.egg ~/.config/deluge/plugins

## Development

1. Go to plugin dir and run:

./create_dev_link.sh

1. Restart Deluge and the plugin should appear.

[Deluge Plugins wiki]: https://dev.deluge-torrent.org/wiki/Plugins#InstallingPluginEggs
3 changes: 1 addition & 2 deletions create_dev_link.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
cd /home/ray/work/svn/raychen/python/deluge/autoshutdown
mkdir temp
export PYTHONPATH=./temp
python setup.py build develop --install-dir ./temp
cp ./temp/AutoShutdown.egg-link /home/ray/.config/deluge/plugins
cp ./temp/AutoShutdown.egg-link ~/.config/deluge/plugins
rm -fr ./temp
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d9d378b

Please sign in to comment.