Skip to content

redanium/c8tsender

 
 

Repository files navigation

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

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.

  1. Service receives selected files or folders in Finder.
  2. Add a new Run Shell Script action, use Shell /usr/bin/python, Pass input as arguments.
  3. 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")
  1. 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

  1. Run the c8tsender server.

    ./c8tsender --chromecast 192.168.1.78 # or whatever IP your Chromecast has

  2. Run python c8tfile.py /path/to/file/or/folder to begin queuing files (or use shell extension mentioned above).

  3. Open http://127.0.0.1:8080 (or LAN-IP) to control the playback using any browser/device.

About

c8t sender is a Google Chromecast sender server with a built-in REST API and responsive playlist interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.0%
  • HTML 4.1%
  • Protocol Buffer 1.1%
  • Other 0.8%