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.
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.
In Automator
create a new Service
.
files or folders
in Finder
.Run Shell Script
action, use Shell /usr/bin/python
, Pass input as arguments
.c8tfile.py
.#!/usr/bin/env python
queue_only = False # or True
execfile("/Users/erik/c8tsender/c8tfile.py")
In Finder
a new context menu option is available, select a file or folder and play on Chromecast!
Run the c8tsender server.
./c8tsender --chromecast 192.168.1.78
# or whatever IP your Chromecast has
Run python c8tfile.py /path/to/file/or/folder
to 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.