-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22.04.2015 00:11, Michael Zanetti wrote: > 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.
Actually I just realize that this won't work with ubuntu-app-launch unless the m3u file is located in one of the allowed directories (like ~/.cache/m3uplayer.mzanetti/). However, you can run it using /opt/click.ubuntu.com/m3uplayer.mzanetti/current/lib/arm-linux-gnueabihf/bin/app /home/phablet/b5aktuell_1.m3u - --desktop_file_hint=/home/phablet/.local/share/applications/m3uplayer.mzanetti_app_0.1.desktop - -- Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlU2zjIACgkQXJwWsxE5x7jqGgCggrR2+Y7V1ZbLQSviGlDOtK9g JkwAn2uFHh8vgW010LvcKjALZf2k7hKP =psxG -----END PGP SIGNATURE----- -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

