lolcatt
A TUI wrapper around catt, enabling you to cast to and control your chromecast devices.
Dependencies
Python 3.10+ (older versions >= 3.6 might work, but are not tested)
catt (will be installed automatically)
yt-dlp (will be installed automatically)
Optional: A font containing FontAwesome icons to allow displaying of fancy icons on buttons. The freely available NerdFont collection is recommended. Fancy icons can be disabled and replaced by text (see below).
Installation
pip install lolcatt
Quckstart
At first we need to determine the name of the chromecast device we want to cast to. To do so, run lolcatt --scan. A default device and device aliases can be set in the catt configuration file ~/.config/catt/config.cfg. See catt’s documentation for more information. To start the UI, run lolcatt -d '<device name or alias>' (or simply lolcatt if a default device is set).
To cast, paste either a URL or a path to a local file into the input field and press enter. To add a URL or path to the playback queue instead of playing immediately, hit Ctrl+s instead of enter. To view and navigate in the queue, tap the name of the currently playing item. To seek, tap the progress bar. To change chromecast device, tap the name of the currently active device (currently only devices with set aliases can be selected in this way).
For URLs, all websites supported by yt-dlp (which handles media download under the hood) are supported. Find a list of supported websites here. For local media, most common video and image formats are supported.
Youtube playlists are supported, and each contained video will be added to the playback queue. By specifying a cookie file in the config (per default under ~/.config/lolcatt/config.toml), you can also access private YouTube playlists such as “Watch Later” (https://www.youtube.com/playlist?list=WL), and ensure played YouTube videos are marked as watched.
Troubleshooting
If button icons are not displayed correctly, ensure you are using a font containing FontAwesome icons. Alternatively, you can disable the use of fancy icons in the config file.
If casting does not work for no apparent reason, ensure you have the latest version of yt_dlp installed: pip install --upgrade yt-dlp.
If you encounter any other issues, please open an issue.
Credits
This package was created with Cookiecutter and the LokiLuciferase/cookiecutter-pypackage project template.
Metadata
Release files for lolcatt 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lolcatt-0.5.1.tar.gz | 50.7 kB | Without provenance | Details for lolcatt-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lolcatt-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for lolcatt-0.5.1-py3-none-any.whl |
Total release size: 69.8 kB
Release files / lolcatt-0.5.1.tar.gz
| Download URL | lolcatt-0.5.1.tar.gz |
|---|---|
| Size | 50.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aec5a795111f0a3087b99fbb8c4d7ca41b9cb0b458af59d920eefeabb8a17064
|
|
BLAKE2b-256 checksum How to use checksums |
cb7499314d4f78edc55ca2f2b251c7203eb9909292fb1a1d32b8a7eac35d19f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / lolcatt-0.5.1-py3-none-any.whl
| Download URL | lolcatt-0.5.1-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c395de71c05ae9214ba77c61414ec6e20ccffbc1d452ed21af6eed744ed08ce8
|
|
BLAKE2b-256 checksum How to use checksums |
e09d119998a36b3838b65cb9ddc66c75e41af5d756107b0ea5634a66de682aee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for lolcatt 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.