C8tsender
c8tsender is a Google Chromecast sender server with a built-in REST API and responsive playlist interface
Install / Use
/learn @eriklax/C8tsenderREADME
c8t sender is a Google Chromecast sender server with a built-in REST API and responsive playlist interface. Sound and video remuxing (encoding) is done with ffmpeg.
Requirements
- It's a C++11 project (go figure)
- libmicrohttpd (http://www.gnu.org/software/libmicrohttpd/, ./configure && make install)
- protobuf (https://github.com/google/protobuf/releases, ./configure && make install)
- ffmpeg (http://ffmpeg.org/)
Installation
c8tsender requires ffmpeg in the $PATH or $PWD (in the same directory) in order to remux files to mkv, and convert the sound to aac), the flags to ffmpeg are not in away way optimized for you, but they worked for me.
Bonus: Install shell extension in OSX
In Automator create a new Service.
- Service receives selected
files or foldersinFinder. - Add a new
Run Shell Scriptaction, use Shell/usr/bin/python, Pass inputas arguments. - Paste the content below, but correct the path for your
c8tfile.py.
#!/usr/bin/env python
queue_only = False # or True
execfile("/Users/erik/c8tsender/c8tfile.py")
- Save with a useful name, such as 'Play on Chromecast' or 'Queue on Chromecast'
In Finder a new context menu option is available, select a file or folder and play on Chromecast!
Running
-
Run the c8tsender server.
./c8tsender --chromecast 192.168.1.78# or whatever IP your Chromecast has -
Run
python c8tfile.py /path/to/file/or/folderto begin queuing files (or use shell extension mentioned above). -
Open
http://127.0.0.1:8080(or LAN-IP) to control the playback using any browser/device.
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
