diff --git a/src/local/ChromecastSkill.py b/src/local/ChromecastSkill.py index 1b6b4fc..a61accf 100644 --- a/src/local/ChromecastSkill.py +++ b/src/local/ChromecastSkill.py @@ -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)) diff --git a/src/local/requirements.txt b/src/local/requirements.txt index c42fb14..c119178 100644 --- a/src/local/requirements.txt +++ b/src/local/requirements.txt @@ -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