Page 1 of 1

Stream to the phone you're controling with?

PostPosted: 05 Aug 2019, 06:51
by mickburke
VERY new to Rune Audio and like it very much. Using a raspberry Pi as a headless music player via our outdoor speakers.

Occasionally, we like to go out late with the Bluetooth speaker and listen to music more quietly.

Is there a way to stream the rune audio music to the (android) phone itself to play through the Bluetooth speaker, rather than the amp that the Raspberry Pi is connected to?

Thanks for any info or suggestions!

Re: Stream to the phone you're controling with?

PostPosted: 05 Aug 2019, 16:41
by janui
Hi mickburke,
mickburke wrote:…Is there a way to stream the rune audio music to the (android) phone itself to play through the Bluetooth speaker, rather than the amp that the Raspberry Pi is connected to?...
There is no straightforward way of doing this with RuneAudio, it was not really built with this in mind. But there are a couple of ways which may work:
    - Switch on Samba in the Settings UI then play songs on your Android device using the Samba file share. Not sure which Android music player would be suitable.
    - There is an experimental version of MPD available for Android. MPD can be set up to play in master/slave mode with multiple clients using the same database. See here for details: https://www.musicpd.org/doc/html/user.h ... lite-setup
    - You can instruct MPD to stream via a URL, you could then connect to this stream on your Android device and play it like a webradio, see here for details: post26228.html#p26228
janui

Re: Stream to the phone you're controling with?

PostPosted: 07 Aug 2019, 05:14
by mickburke
Thanks, I don't see a samba option in the settings?

The other options look a bit beyond my scope at the moment, but I'll read up on this whole MPD thing!

Re: Stream to the phone you're controling with?

PostPosted: 07 Aug 2019, 10:29
by janui
Hi mickburke,
mickburke wrote:...Thanks, I don't see a samba option in the settings?...
Sounds like you are using an old version. This version has the Samba options: runeaudio-0-5-beta-for-all-raspberry-pi-models-t6532.html#p25819

However there is a bug in this version caused by an on-line service which RuneAudio expects, but is no longer available. The fix is documented here: rune-ui-is-slow-t6829-10.html#p28023
You can fix it by connecting via SSH and running this command (best to copy and paste it):
Code: Select all
sed -i '/^127.0.0.1/ s/$/ api.dirble.com dirble.com/' /etc/hosts

You may need some help connecting via SSH. Here is some documentation, for Windows: https://www.raspberrypi.org/documentati ... windows.md and for Linux/MacOS: https://www.raspberrypi.org/documentati ... sh/unix.md (user name: root, password: rune).
janui

Re: Stream to the phone you're controling with?

PostPosted: 08 Aug 2019, 00:10
by mickburke
Thanks you again, that may be the problem as It looks like I have .4, rather than .5. Any way to 'upgrade' it or should I just reimage and start from scratch? I don't have any playlists or anything other than the one main source so far, so not a bg deal either way, but figured I'd ask and if one is better than the other if updating is an option.

I actually got the whole SSH thing figure dout when I was trying to work with Open media Vault, so I think I'm OK there!

Thanks agian!

Re: Stream to the phone you're controling with?

PostPosted: 08 Aug 2019, 10:44
by janui
Hi mickburke,
mickburke wrote:Any way to 'upgrade' it or should I just reimage and start from scratch?
I am afraid that there is no upgrade from 0.4 to 0.5, you will need to do it from scratch.
janui