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
Close
Hashes for periscope-daemon-0.0.6.dev.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a4196aae2b9814f446818577809f061e3997ffaef57a15c9c166d34f08b2389 |
|
MD5 | 79d282fdab9b371da3bbf01557f8110a |
|
BLAKE2b-256 | b49b925bee9abd588691e00283be672478b346c5d5614ffa99a2371c704913fb |