View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#37
Ok, I wrote the Javascript, it works, so here's a sketchy HOWTO:

Before you start, you need:
  • A way to become root
  • Python
  • Text editor (leafpad)
  • Pipeline's dbus-switchboard package
  • Greasemonkey Browser Extension
  1. Install dbus-switchboard
  2. Edit /usr/share/applications/hildon/mp_ui.desktop, remove the line beginning with MimeType
  3. Edit /usr/share/applications/defaults.list, change (or add) the following lines from hildon-mp_ui.desktop to hildon-dbus-switchboard.desktop:
    Code:
    video/avi=hildon-dbus-switchboard.desktop
    video/x-ms-asf=hildon-dbus-switchboard.desktop
    video/x-msvideo=hildon-dbus-switchboard.desktop
    video/x-ms-wmv=hildon-dbus-switchboard.desktop
    video/x-ms-wm=hildon-dbus-switchboard.desktop
    video/x-ms-asf-plugin=hildon-dbus-switchboard.desktop
    video/x-ms-wvx=hildon-dbus-switchboard.desktop
    video/x-ms-wmx=hildon-dbus-switchboard.desktop
    application/x-ms-asx=hildon-dbus-switchboard.desktop
    application/octet-stream=hildon-dbus-switchboard.desktop
    (I have more, but these ones should ensure that all .wmv video plays in mplayer.)
  4. Install my Greasemonkey script.

EDIT: I uploaded my tiny script to userscripts.org. Click on the link above to install it.
Attached Files
File Type: txt mms2http.user.js.txt (385 Bytes, 146 views)

Last edited by qole; 2008-03-24 at 17:28. Reason: Added a link for Greasemonkey script
 

The Following 3 Users Say Thank You to qole For This Useful Post: