Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for fixing Chromecast Blue icon on TV problem #16

Merged
merged 1 commit into from
Sep 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/local/ChromecastSkill.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def set_volume(self, data, cast, mc):
print('Volume command sent to Chromecast. Set to {}.'.format(volume_normalized))

def play_video(self, data, cast, mc):
url = subprocess.check_output("youtube-dl -g --no-check-certificate -- " + data['videoId'], shell=True)
url = subprocess.check_output("youtube-dl -g --no-check-certificate -f best -- " + data['videoId'], shell=True)
mc.play_media(url, 'video/mp4')
print('video sent to chromecast: {}'.format(url))

Expand Down
10 changes: 5 additions & 5 deletions src/local/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
boto3==1.4.3
miniupnpc==1.9
PyChromecast==0.8.1
requests==2.18.1
boto3==1.4.7
miniupnpc==2.0.2
PyChromecast==0.8.2
requests==2.18.4
zeroconf==0.19.1
youtube-dl==2017.1.25
youtube-dl==2017.8.27.1