1
0
mirror of https://github.com/sashacmc/photo-importer.git synced 2025-07-12 22:40:29 +02:00

Update README.md

This commit is contained in:
Alexander
2022-11-29 00:44:09 +01:00
committed by GitHub
parent 57b2fbe2e9
commit b9bbb87646

View File

@ -9,7 +9,7 @@ Command line tools for photo importing/renaming/rotating
* Media files scan * Media files scan
* Time when picture was taken detection (by EXIF, by file name, by file attributes) * Time when picture was taken detection (by EXIF, by file name, by file attributes)
* Media files moving/copying to configurable hierarchy * Media files moving/copying to configurable hierarchy
* Lossless rotations (via exiftran) * Lossless rotations (via exiftran or jpegtran)
# Photo Importer Server # Photo Importer Server
Standalone web server for fast media import for headless computer Standalone web server for fast media import for headless computer
@ -18,31 +18,38 @@ Standalone web server for fast media import for headless computer
* Storages mount/unmount (via pmount) * Storages mount/unmount (via pmount)
* The same as photo-importer but without console * The same as photo-importer but without console
## Installation # Installation
### Requirements: ### Requirements:
* Python 3.3+ * Python 3.3+
* Debian based Linux (Other Linux versions not officially supported, but might work) * Debian based Linux (Other Linux versions not officially supported, but might work) or Windows 7 and above
### Dependencies: ### Dependencies:
* PyExifTool (pip3 install PyExifTool) * [PyExifTool](https://pypi.org/project/PyExifTool/)
* python3-progressbar * [progressbar](https://pypi.org/project/progressbar/)
* python3-psutil * [psutil](https://pypi.org/project/psutil/)
* exiftran or jpegtran * [exiftran](https://linux.die.net/man/1/exiftran) or [jpegtran](https://linux.die.net/man/1/jpegtran)
* pmount (only for server) * [pmount](https://linux.die.net/man/1/pmount) (only for server)
* pypiwin32 (only for windows) * [pypiwin32](https://pypi.org/project/pypiwin32/) (only for windows)
### Installation Options: ### Installation Options:
#### Installing via PyPi
```bash
sudo apt install exiftran pmount
sudo pip install photo-importer
```
#### Installing as debian package #### Installing as debian package
```bash ```bash
debuild -b debuild -b
sudo dpkg -i ../photo-importer_1.0.1_all.deb sudo dpkg -i ../photo-importer_1.2.0_all.deb
``` ```
#### Installing via setup.py #### Installing via setup.py
```bash ```bash
sudo pip install PyExifTool progressbar psutil
sudo apt install exiftran pmount
sudo python3 ./setup.py install sudo python3 ./setup.py install
``` ```
@ -56,9 +63,9 @@ https://exiftool.org/
Download and extract jpegtran to photo_importer folder Download and extract jpegtran to photo_importer folder
http://sylvana.net/jpegcrop/jpegtran/ http://sylvana.net/jpegcrop/jpegtran/
Install python dependencies Install with python dependencies
```bash ```bash
python -m pip install progressbar psutil pyexiftool pypiwin32 python -m pip install pypiwin32 photo-importer
``` ```
## Usage ## Usage