Skip to content

Commit

Permalink
net-misc/pulseaudio-dlna : add patch
Browse files Browse the repository at this point in the history
Wait for Chromecast device to be ready
masmu/pulseaudio-dlna#398

Signed-off-by: Etienne d'Hautefeuille [email protected]
  • Loading branch information
bdouxx committed May 1, 2020
1 parent ca57c4e commit 8239cb2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions net-misc/pulseaudio-dlna/files/chromecast_wait.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/pulseaudio_dlna/plugins/chromecast/renderer.py b/pulseaudio_dlna/plugins/chromecast/renderer.py
index 6950a56..df3d839 100644
--- a/pulseaudio_dlna/plugins/chromecast/renderer.py
+++ b/pulseaudio_dlna/plugins/chromecast/renderer.py
@@ -65,6 +65,7 @@ class ChromecastRenderer(pulseaudio_dlna.plugins.renderer.BaseRenderer):
def _create_pychromecast(self):
chromecast = pychromecast._get_chromecast_from_host(
(self.ip, self.port, self.udn, self.model_name, self.name))
+ chromecast.wait()
return chromecast

0 comments on commit 8239cb2

Please sign in to comment.