A command-line tool for scheduling and casting YouTube videos to Chromecast devices.
pip install kittycasterkittycaster initCast a video:
kittycaster once --start --video_id dQw4w9WgXcQStop casting:
kittycaster once --stopInteractive scheduling:
kittycaster schedule --interactiveRun predefined schedule:
kittycaster schedulekittycaster --help # See available subcommandskittycaster initCreates a default config.yaml in ~/.config/kittycaster/.
kittycaster once [options]Options:
--start: Cast a video--stop: Stop casting--friendly_name: Override Chromecast name--video_id: Specify YouTube video--volume: Set volume (0.0-1.0)
kittycaster schedule [options]Options:
--interactive: Interactively create schedules
Default config: ~/.config/kittycaster/config.yaml
Example config:
friendly_name: "KittyCaster TV"
video_ids:
- "dQw4w9WgXcQ"
schedule:
- start_time: "08:00"
end_time: "09:00"
volume: 0.05Use --config to specify a different config file:
kittycaster --config /path/to/config.yaml schedule- Ensure Chromecast and computer are on the same network
- Verify
friendly_namematches your device - Check system clock and time zone settings
- Fork the repository
- Create a feature branch
- Commit changes
- Push to the branch
- Create a Pull Request
GNU General Public License v3.0 (GPLv3)