Web remote control for raspberrypi omxplayer
- Play media from a file or YouTube
- Pause / continue, stop viewing media
- Set the media position
- Turning off the device
You can find the latest package at releases page.
Put config into venv/var/raspberrypi_omxplayer_control-instance/config.cfg
:
SECRET_KEY = 'RANDOM SECRET KEY'
MEDIA_DIR = '/path/to/media/files'
JSON_AS_ASCII = False
Run command:
export FLASK_APP="raspberrypi_omxplayer_control"
python -m flask run --host 0.0.0.0 --port 8888
OR
python -m raspberrypi_omxplayer_control
Open browser at <raspberry_ip>:8888
MIT License
Copyright (c) 2020 AsciiShell