ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #12255
Re: Media Player
El día Sunday, April 19, 2015 a las 01:46:46PM +0200, Oliver Grawert escribió:
> what you can currently do is grab the stream url from inside the m3u and
> call it directly on commandline:
>
> ubuntu-app-launch mediaplayer-app
> http://stream.dradio.de/7/251/142684/v1/gnl.akacast.akamaistream.net/dradio_mp3_dlf_s
>
> ...
Hi Oliver,
Both:
$ ubuntu-app-launch mediaplayer-app http://stream.dradio.de/7/251/142684/v1/gnl.akacast.akamaistream.net/dradio_mp3_dlf_s
and
$ ubuntu-app-launch mediaplayer-app file:///home/phablet/Music/VoiceMessage.wav
worked, the Internet stream not very stable; thanks for the hint about
how to launch apps from the shell cmd line; this is just another
topic for our growing list of how-to-do-what-with-the-phone-behind-the-scene;
> or if you want to learn how to fish ;)
> ... you can quickly throw together your own click package for such a
> case.
> (start with sudo apt-get install click ...)
I will investigate this; thanks
matthias
> you need four files like: http://paste.ubuntu.com/10850107/ ... and an
> icon.png file ... (i downloaded one from
> www.turi2.de/wp-content/uploads/2015/01/DLF-Deutschlandfunk-150.png and
> saved it as icon.png)
>
> throw all of them into a dir ... lets call it package/ and run:
>
> click build package
> (from the dir one level above...)
> that produces deutschlandradio.ogra_0.1_all.click which you can then
> push to the device and install with:
> pkcon install-local --allow-untrusted
> deutschlandradio.ogra_0.1_all.click
>
> (you might need to "pull to refresh" the app scope to make it show up
> then)
>
> you can try the result of the above from (it only took me a few minutes
> to roll this)
> http://people.canonical.com/~ogra/ubuntu-touch/deutschlandradio.ogra_0.1_all.click
>
>
> ciao
> oli
> --
> 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
--
Matthias Apitz, guru@xxxxxxxxxxx, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)
References