A system to cast audio input to chromecast devices.
Project description
Application to cast streams to chromecast
Usage
- When using VS Code, just run the debugger.
- When starting from termimal.
- Set environment variable for
FLASK_APP
.- Linux/osX:
export set FLASK_APP=src.audio_cast.webapp
- Windows:
set FLASK_APP=src.audio_cast.webapp
- Linux/osX:
- Launch the server with
python -m flask run
.
- Set environment variable for
Next steps
- Run it in the Rpi
- Run new version to fix
No chromecasts found
. - Figure out why no chromecasts are found.
- Check local debugger works.
- Delete
webapp
file.
- Delete
- Update README.md with new instructions.
- Check tutorial to upload package using apt.
- Enable CLI
- Check how to get inputs in linux using Rpi.
Cheatsheet
- To upload:
- Build:
py -m build
- Deploy:
py -m twine upload dist/*
- Build:
- To run locally:
- Set environment variable
FLASK_APP=audio_cast
- Set environment variable
- To run after installation from package:
- Install waitress
python3 -m pip install waitress
- Run waitress
waitress-serve --call --host=localhost --port=5000 'audio_cast.create_app'
- Install waitress
- Virtual environment:
- Create:
python3 -m venv <DIR>
- Start: linux -
source <DIR>/bin/activate
- windows -<DIR>/Scripts/activate
- Stop:
deactivate
- To clear delete the directory and create again
rm -r <DIR>
- Create:
- Token for Pypi is in the local projects folder.
- Install packages from
requirements.txt
pip install -r requirements.txt
.
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
audio-cast-0.0.8.tar.gz
(17.4 kB
view details)
Built Distribution
File details
Details for the file audio-cast-0.0.8.tar.gz
.
File metadata
- Download URL: audio-cast-0.0.8.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07a86f6118e710e3038c2a3aae3e6a71d64c17f97813720e85ae464658c23f5f |
|
MD5 | f71ef1bbafdbec091b9e878bb556a5f2 |
|
BLAKE2b-256 | 675fcabd0d952e2b2ce0844690e6e701991e2da6ae786df792ecf09ffc8237d6 |
File details
Details for the file audio_cast-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: audio_cast-0.0.8-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7114cfd7f93bc5f30aa69e541c4aea43b6bd7f284fcf446bc1b05308d420a394 |
|
MD5 | 1d282f7dfe31064a093d55d687b278ed |
|
BLAKE2b-256 | f5e9c54ae131c05a9af10c78a940c4b940d6c9c1e119129e7d1df51576f733c7 |