ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #12324
Re: webbrowser-app && streams
It truly might not be _technically_ hard to get M3Us working with the Music
app, however, the mediascanner2 service explicitly ignores M3U files as
there is no defined use case to play them [1]. The best end solution might
be to have a method of converting an M3U to the app's internal playlist
structure (assuming the contained audio files can be found by the
mediascanner2 service). However, this doesn't help the usecase for playing
streaming audio via M3U. That feels more like a podcasting or streaming
player's job, but maybe playlist streams could be listed in the app under
Playlists. Perhaps something to talk about at the upcoming UOS...
1 - https://bugs.launchpad.net/mediascanner2/+bug/1384295
On Tue, Apr 21, 2015 at 5:24 PM, Michael Zanetti <
michael.zanetti@xxxxxxxxxxxxx> wrote:
> -----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 : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References