Moode Forum
[solved] Playing youtube over bubbleupnp on moode - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [solved] Playing youtube over bubbleupnp on moode (/showthread.php?tid=1875)



[solved] Playing youtube over bubbleupnp on moode - hjheins - 11-03-2019

Hi,

I am trying to use a feature of bubbleupnp to play something on my android phone; youtube in this case, over bubbleupnp on my moode 6.3 box.
This used to work in the 4.x series, but now I get an error on mpd:

Code:
Nov 03 22:18 : exception: nested: CURL failed: Failed to connect to 127.0.0.1 port 57645: Connection refused
Nov 03 22:18 : player: played "http://127.0.0.1:57645/proxy/redirectorproxy/H4sIAAAAAAAAABWJ3QqCMBhA38bL9n37VxgxnXuNGLlImM10RkEP3-Jwbs55zVPMZFn5917K2hGCVJ2ggp1QkgsS32UL17KXLYbl2NK5avzA5X97zzmzvZTKAiAIX6PAEfQIQqIeBLCROew1tc61lqJjLQPnmqdRFJpwTHO-5Ef6mFtIe_wBQelp0Y0AAAA=.mp4"

The moode log contains nothing.

What is happening here that this is not working?

thanks,

Hendrik-Jan


RE: Playing youtube over bubbleupnp on moode - TheOldPresbyope - 11-04-2019

(11-03-2019, 09:23 PM)hjheins Wrote: Hi,

I am trying to use a feature of bubbleupnp to play something on my android phone; youtube in this case, over bubbleupnp on my moode 6.3 box.
This used to work in the 4.x series, but now I get an error on mpd:

Code:
Nov 03 22:18 : exception: nested: CURL failed: Failed to connect to 127.0.0.1 port 57645: Connection refused
Nov 03 22:18 : player: played "http://127.0.0.1:57645/proxy/redirectorproxy/H4sIAAAAAAAAABWJ3QqCMBhA38bL9n37VxgxnXuNGLlImM10RkEP3-Jwbs55zVPMZFn5917K2hGCVJ2ggp1QkgsS32UL17KXLYbl2NK5avzA5X97zzmzvZTKAiAIX6PAEfQIQqIeBLCROew1tc61lqJjLQPnmqdRFJpwTHO-5Ef6mFtIe_wBQelp0Y0AAAA=.mp4"

The moode log contains nothing.

What is happening here that this is not workking?

thanks,

Hendrik-Jan


I had no idea what this "feature" of BubbleUPnP would be so I had to do some homework. 

Turns out that after downloading/installing a module to the Chrome browser on my Android Pixel 3A phone I can indeed "cast" YouTube audio from the browser via the BubbleUPnP v3.3.5.1 app, both on my phone, to the UPnP client on my moOde v6.3.0 player. The key point of the feature being, of course, to use the Browser setting panel to "share" to BubbleUPnP after I choose YouTube.

It feels a bit fiddly but it's pretty cool. I didn't know that was possible.

It's working here. No error messages. I don't have enough experience with it yet to know why it isn't working for you.

Regards,
Kent


RE: Playing youtube over bubbleupnp on moode - hjheins - 11-04-2019

Hi Kent,

thank you for looking into this. It is indeed a pretty cool feature, aus I think it entails using cast to send to bubble, and then using bubble recoding to dlna to send to moode.
The thing is: the error I posted is happening on moode. So that means that I actually am sending to moode, and moode is receiving something, but then "stalls" on localhost (127.0.0.1) on a port with a connection refused error. The error is generated as a curl error, and the only place to find it, is the mpd logs.
The error is a connection refused error on a port, which looks as a proxy port error. Even worse: when I use one of the solutions proposed for curl with a proxy error, I actually do get the album/song image displayed! (Solution used is:  "unset http_proxy" / "unset https_proxy"), but the song never plays.
So this error seems to be more mpd related than anything else, unfortunately the logs are scant on this. Any way to get them more clear?

thanks,

Hendrik-Jan


RE: Playing youtube over bubbleupnp on moode - hjheins - 11-04-2019

Hi Kent,

to reply on this myself:
I played a bit with bubbleupnp and fiddled with the settings.
I think basically what I changed was that I now recode the audio track on bubble. This was apparently the solution, as now all is fine. I changed nothing on moode.

So closing this one. Thank you for looking into it!

Hendrik-Jan