Last active
February 26, 2016 03:15
-
-
Save dardo82/049a67942cdff7ddb6fa to your computer and use it in GitHub Desktop.
Stream StarTrek Ent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Stream an FLV to AppleTV | |
# using AirPlay mirroring | |
airplay-mirror start | |
URL="guardarefilm.tv/serie-tv-streaming/3506-star-trek-enterprise.html";EP=${1/x/_} | |
open -W -a vlc $(curl $URL|sed -n "s/embed/mobile/;s/-640x360.html/.mp4/;/sd-$EP\"/p"|cut -d\" -f8) | |
airplay-mirror stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment