← Back to team overview

ubuntu-phone team mailing list archive

Re: webbrowser-app && streams

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

On 21.04.2015 20:49, Matthias Apitz wrote:
> 
> Hello,
> 
> When I launch in my FreeBSD KDE4 desktop
> 
> $ firefox http://streams.br-online.de/b5aktuell_1.m3u
> 
> firefox offers VLC to start the stream and it works;
> 
> When I launch in the SSH session in the BQ
> 
> $ ubuntu-app-launch  webbrowser-app
> http://streams.br-online.de/b5aktuell_1.m3u
> 
> the app webbrowser-app offers another app called 'Music' which in
> turn does not understand what to do with the audio stream.

seems the music app is lacking support for this. I have a feeling this
shouldn't be too hard to add.

> 
> Any idea how I could get this to work at least on phablet's cmd
> line? I do no expect this working on the Unify desktop on the
> phone, or should I? :-)

Because I was curious about it too I hacked a tiny app that does this.
You can find it here:
Code: https://code.launchpad.net/~mzanetti/+junk/m3uplayer
Package: m3uplayer.mzanetti_0.1_armhf.click (only tested on vivid)

You should be able to use ubuntu-app-launch m3uplayer.mzanetti
file.m3u (only local files supported - you need to wget it first).
Also this won't work when the phone screen is off or the app is in
background. But this was simple enough that I think adding it to the
music player (which could also play it in background) wouldn't be hard.

Hope this helps,
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlU2ywoACgkQXJwWsxE5x7hZugCeO/jlNa1IU9+WTmWzPTtAq+ea
bsQAnAvV7NAIk/H7GuSBdL5E+Vhdg4mK
=p61S
-----END PGP SIGNATURE-----


Follow ups

References