Created
November 5, 2016 12:59
-
-
Save OrangeTux/3a3caa971f7d6789655d0691d33cbcd8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import pychromecast | |
casts = pychromecast.get_chromecasts_as_dict().keys() | |
# cast = pychromecast.get_chromecast(friendly_name="Stroopwafel Bij Je Bier") | |
mc = cast[0].media_controller | |
mc.play_media('http://l2cm9c1b98fe3f00581dd388000000.cf9b35b0fb7138c2.smoote2d.npostreaming.nl/d/live/npo/thematv/journaal24/journaal24.isml/journaal24.m3u8', 'application/x-mpegurl') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment