← Back to team overview

ubuntu-phone team mailing list archive

Re: Url Dispatcher

 

2013/10/30 Ted Gould <ted@xxxxxxxxxx>

> **
> On Wed, 2013-10-30 at 10:14 +0100, Sam Segers wrote:
>
> Is there an eta for being able to recieve url calls in your own
> application?
>
>
> It's on my TODO list, I don't have a specific ETA.
>
>
>  That brings another question to how to form a url for music for a
> internet stream? Now the music only filters music:///* and
> file:///home/*/Music/*. Is it also possible to implement options. Something
> like starttime....
>
>
> I'm not sure quite what you're asking for, do you want to launch another
> app to play the music?  There is a music-service planned that will allow
> playing music for you.  That's not a URL dispatcher thing, it'll have its
> own API.
>
>
Yes I meant to let music-app play it (isn't that what music:///... should
do?)
I'm referring to this:
https://wiki.ubuntu.com/URLDispatcher
This music-service sounds good.


>  Last thing is if i can test this on desktop. I tried url-dispatcher but
> it does nothing.
>
>
> Hmm, it does work for me on the desktop.  Do you have upstart-app-launch
> installed?  I also believe that if you're not using the QPA for Ubuntu
> Touch QUrls resolve differently.  So it might not be calling URL
> dispatcher.  You can force a call to URL Dispatcher using the
> url-dispatcher-tools package.
>

Yes to all. I meant the url-dispatcher tool from the url-dispatcher-tools
package. I tried it from the terminal but it doesn't react nor give
feadback for a music file. Apparently url-dispatcher
settings:///system/wifi does work. I have touch-coreapps installed. It's
also missing manpages and parsing -h or --help to it doesn't reveal much
ether.

Anyhow. I'd just use a Audio component for now and let the linking to an
epub app rest till when this url thing is implemented.

Thanks

Sam Segers


>
>
> Ted
>
> --
> 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