Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/kannibalox/PtpUploader into…
Browse files Browse the repository at this point in the history
… main
  • Loading branch information
kannibalox committed Jul 16, 2022
2 parents eb425fb + e5d3da4 commit 613480e
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
82 changes: 41 additions & 41 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,51 @@
# Usage
# Installation details

PtpUploader needs Python 3.7+, as well as a couple other programs.
The docker image contains all these images by default, and most distrubutions
provide easy-to-install packages.

Required external programs:
- rTorrent or transmission
- if transmission is being used, the `transmissionrpc` package must be installed
- One of: mpv (preferred), ffmpeg, mplayer
- Mediainfo

Optional external programs:
- ImageMagick: Highly recommended for losslessly compressing PNG screenshots
- FlexGet: Can be used to write announce files
- autodl-irssi: Can be used to write announce files

## Upgrading

### Pip

```bash
pip install -U PtpUploader
```

### Docker

When stopping the daemon in docker, be sure to fully remove the existing container:
```bash
sudo docker rm ptpuploader
```

```bash
cd PtpUploader
git pull
# Re-do installation steps
```

# Usage

## Uploading

To start your first upload, go to `localhost:8000/upload`, and use the form to fill out as much
To start your first upload, go to http://localhost:8000/upload, and use the form to fill out as much
information as possible about your upload. One of the first three fields (link, local path, or file)
must be filled out, but anything else can be left blank, and PtpUploader will alert you if anything
is missing.

Once the job is submitted, it can viewed on the jobs page at `localhost:8000/jobs`.
Once the job is submitted, it can viewed on the jobs page at http://localhost:8000/jobs.

## Automatic announcing

Expand Down Expand Up @@ -44,44 +82,6 @@ DATABASES:
PORT: ''
```
# Installation details
PtpUploader needs Python 3.7+, as well as a couple other programs.
The docker image contains all these images by default, and most distrubutions
provide easy-to-install packages.
Required external programs:
- rTorrent or transmission
- if transmission is being used, the transmissionrpc package must be installed
- One of: mpv (preferred), ffmpeg, mplayer
- Mediainfo
Optional external programs:
- ImageMagick: Highly recommended for losslessly compressing PNG screenshots
- FlexGet: Can be used to write announce files
- autodl-irssi: Can be used to write announce files
## Upgrading
### Pip
```bash
pip install -U PtpUploader
```

### Docker

When stopping the daemon in docker, be sure to fully remove the existing container:
```bash
sudo docker rm ptpuploader
```

```bash
cd PtpUploader
git pull
# Re-do installation steps
```

# Command line only usage
PtpUploader can create release description (with media info and screenshots) for manual uploading from command line.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ PtpUploader runuploader
```bash
PtpUploader createsuperuser
```
6. Navigate to [http://localhost:8000/jobs] and enter the admin credentials.
6. Navigate to http://localhost:8000/jobs and enter the admin credentials.

### Docker

Expand Down Expand Up @@ -72,7 +72,7 @@ sudo docker run --name ptpuploader -d \
```bash
sudo docker exec -it ptpuploader PtpUploader createsuperuser
```
4. Navigate to [http://localhost:8000/jobs] and enter the admin credentials.
4. Navigate to http://localhost:8000/jobs and enter the admin credentials.

## Next Steps and Help

Expand Down

0 comments on commit 613480e

Please sign in to comment.