Skip to main content

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
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

periscope-daemon-0.0.7.dev.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file periscope-daemon-0.0.7.dev.tar.gz.

File metadata

File hashes

Hashes for periscope-daemon-0.0.7.dev.tar.gz
Algorithm Hash digest
SHA256 7cd68d605572c2dc025c13fa01c75b3ad8d99ddb097f9a5beaae770a8850b439
MD5 9567159b2927a903b5a628eaab44965c
BLAKE2b-256 9fe491355e86e40378b355340ca9e83c873dfe220be7aff076b29a99614a1604

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page