#!/bin/bash # Send Youtube videos and Twitch streamings to Chromecast # Install packages yt-dlp and vlc # Use like ./chromecash.sh https://www.twitch.tv/angrodtralari yt-dlp "$1" -o - 2>/dev/null | cvlc --sout "#chromecast" --sout-chromecast-ip="`dig +short Chromecast.lan`" -