View Single Post
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#44
Hmm success (for mms: ), now to figure out which settings i changed were the magic ones :

- I added qoles massive list of media associations to defaults.list
- I added this to dbus-switchboard.desktop :
Code:
[X-Osso-URI-Actions]
mms=X-Osso-URI-Action-Open;

[X-Osso-URI-Action-Open]
Method=mime_open
Name=uri_link_play
TranslationDomain=osso-uri
- and removed the mms=X-Osso-URI-Action-Open; line from mp_ui.desktop's X-Osso-URI-Actions region

there may have also been a :
update-mime-database /usr/share/mime (as root)

And the mms video link earlier posted loads into mplayer

Brontide : This wmv works for wmv because the link (passed to dbus-switchboard still ends in a file type... wmv which i can route)

For the tel: link to work i need to modify dbus-switchboard to handle that custom but it should work... i'm guessing i would edit /usr/bin/dbus-switchboard.py and add (near qoles temporary logic) :
Code:
    if argstr.find("tel:") <> -1:
        os.system("/usr/bin/call.sh " + arguments)
        print "placing call:"
        return
And then maybe edit /usr/share/applications/hildon/dbus-switchboard.desktop and add the tel: handler (like i do above for wmv) to [X-Osso-URI-Actions] and [X-Osso-URI-Action-Open]

do you python enough to edit and test that?

Last edited by pipeline; 2008-03-24 at 22:47.
 

The Following User Says Thank You to pipeline For This Useful Post: