Python daemon to download automagically subtitles. Build on top of the great periscope (https://github.com/patrickdessalle/periscope)
Project description
periscoped
==========
A daemon to download subtitles based on the great [periscope](https://github.com/patrickdessalle/periscope).
Installation
-------------
You will need periscope, pyinotify, sqlite.
Installation via pip
```sh
pip install periscope-daemon
```
Installation from the sources
```sh
python setup.py build
sudo python setup.py install
```
Availables commands
-------------------
First, you'll need to import your library
```sh
periscope-daemon --import ~/media/videos
```
Then, in a first console :
Start watching a folder for new video files
```sh
periscope-daemon --watch ~/media/videos
```
And in a second :
Start downloading subtitles
```sh
periscope-daemon --run
```
Purge the library
```sh
periscope-daemon --purge
```
Configuration
-------------
The main config file is located in ~/.config/periscope-daemon/daemon.conf
This file will override the default distributed configuration.
Availables configuration keys :
```
[DEFAULT]
# Laguages.
lang = fr,en
# How often the daemon should run, in minutes
run_each = 1
# When a subtitle is not found, the time to wait before re-processing the file will be multiplyed by this value
retry_factor = 3
```
==========
A daemon to download subtitles based on the great [periscope](https://github.com/patrickdessalle/periscope).
Installation
-------------
You will need periscope, pyinotify, sqlite.
Installation via pip
```sh
pip install periscope-daemon
```
Installation from the sources
```sh
python setup.py build
sudo python setup.py install
```
Availables commands
-------------------
First, you'll need to import your library
```sh
periscope-daemon --import ~/media/videos
```
Then, in a first console :
Start watching a folder for new video files
```sh
periscope-daemon --watch ~/media/videos
```
And in a second :
Start downloading subtitles
```sh
periscope-daemon --run
```
Purge the library
```sh
periscope-daemon --purge
```
Configuration
-------------
The main config file is located in ~/.config/periscope-daemon/daemon.conf
This file will override the default distributed configuration.
Availables configuration keys :
```
[DEFAULT]
# Laguages.
lang = fr,en
# How often the daemon should run, in minutes
run_each = 1
# When a subtitle is not found, the time to wait before re-processing the file will be multiplyed by this value
retry_factor = 3
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file periscope-daemon-0.0.7.dev.tar.gz.
File metadata
- Download URL: periscope-daemon-0.0.7.dev.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cd68d605572c2dc025c13fa01c75b3ad8d99ddb097f9a5beaae770a8850b439
|
|
| MD5 |
9567159b2927a903b5a628eaab44965c
|
|
| BLAKE2b-256 |
9fe491355e86e40378b355340ca9e83c873dfe220be7aff076b29a99614a1604
|