diff -r 0944bea397f9 -r 43ce4ea2f9fb gst-plugins-nuvdemux/debian/maemo-nuvdemux.postinst --- a/gst-plugins-nuvdemux/debian/maemo-nuvdemux.postinst Thu Feb 01 16:56:55 2007 +0000 +++ b/gst-plugins-nuvdemux/debian/maemo-nuvdemux.postinst Tue May 01 16:04:02 2007 +0100 @@ -13,4 +13,12 @@ /usr/bin/gconftool-2 --makefile-install-rule /usr/share/gconf/schemas/osso_media_server_nuv.schemas fi +#append nuv info on osso mediaplayer ui +data_file=/usr/share/applications/hildon/mp_ui.desktop +tmp_file=/tmp/mp_ui.desktop +cat $data_file | sed 's/X-Osso-URI-Actions=rtsp/X-Osso-URI-Actions=rtsp;myth/' | sed 's/MimeType=\(.*\)/MimeType=\1;video\/x-nuv/' > $tmp_file +echo -e "\n\n[X-Osso-URI-Action Handler myth] \nMethod=mime_open\nName=medi_ap_mediaplayer_name\nTranslationDomain=mediaplayer" >> $tmp_file +cat $tmp_file > $data_file +echo "FILE DESKTOP UPDATED" + exit 0