Casts a video to a DLNA media renderer in the local network.
Project description
Mage
Send locally stored videos to your Smart TV or other UPnP/DLNA media renderer. This is intended as the simplest approach for sending a video through the local network.
Spellcast works by setting up a temporary HTTP server that hosts only the video file, and sending its URI to the rendering device via UPnP protocols.
Setup
This is a Python 3 application. It uses Twisted and requests. For your convenience you can easily install it with pip:
python3 -m pip install spellcast
Or, alternatively, you can set everything up in a virtual environment as follows:
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
Usage
Pass the video file as argument, and Spellcast casts to the first media renderer found on the network:
cast /path/to/video.mp4
Or:
python -m spellcast /path/to/video.mp4
Acknowledgements
This implementation borrows a lot from the video2smarttv project by probonopd, which in turn uses dankrause's solution for SSDP discovery. Thanks go to all developers involved!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spellcast-0.1.0.tar.gz.
File metadata
- Download URL: spellcast-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f4aeb4a7dfa671538431f61b10ce8a58a4704cf4ff7bbdb8a3294ecbab56a2a
|
|
| MD5 |
1f203d5118e4e36fa9033ee5c25a551d
|
|
| BLAKE2b-256 |
f0ed61674986d4f3b783a01df158e43b190f0e657a55115918d13991078b3810
|
File details
Details for the file spellcast-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spellcast-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd7b7960aa24faeca45aa42fb6ada9c7225fc92bdad1a4be6cae701eea58cbb2
|
|
| MD5 |
f6a4e2bea9e97d3ea4073a726454cfcd
|
|
| BLAKE2b-256 |
8fc2eacd95fed8f2a30c01bfac13984bdb7caa0a43db4a9fbb55a8f11fd21a79
|