f6c2b9dd5b3f1b9fb1581531275dcc5ddbf7d545
* Ability to use full path for image path * Ability to configure the wait time between images * Added protection from escaping the image directory
DiaShower
A chromecast ambient mode like Diashow
Setup and run
- Make sure python is installed
- Create a python VENV
python -m venv DiaShower-venv - Activate the VENV
. ./DiaShower-venv/bin/activatefor :Linux or.\DiaShower-venv\Scripts\Activate.ps1for Windows - Install dependencies
pip install -r requirements.txt - Copy the
config.json.exampleto `config.json.example' and edit it to fit your needs - Create the the images folder definded in the config and put your images in to it
- Run with
python server.py
Convert to binary (Advanced)
- Make sure the VENV is still activated
- Install
pyinstallerusingpip install -U pyinstaller - Create binary using
pyinstaller server-pyinstaller.spec - The binary is created in the dist folder, to use it create a config an the configured image folder here (or wherever you move the binary to)
- Update the path to the images to a full path
- if you wish to cleanup you can remove the build (and if you copied the binary somware else the dist folder)
- Removing
pyinstalleris safe you can usepip uninstall -y altgraph setuptools packaging pyinstaller-hooks-contrib pyinstaller pywin32-ctypes pefile
Languages
Python
60.6%
HTML
39.4%