1.1 --- a/gst-plugins-nuvdemux/debian/maemo-nuvdemux.postinst Thu Feb 01 16:56:55 2007 +0000
1.2 +++ b/gst-plugins-nuvdemux/debian/maemo-nuvdemux.postinst Tue May 01 16:04:02 2007 +0100
1.3 @@ -13,4 +13,12 @@
1.4 /usr/bin/gconftool-2 --makefile-install-rule /usr/share/gconf/schemas/osso_media_server_nuv.schemas
1.5 fi
1.6
1.7 +#append nuv info on osso mediaplayer ui
1.8 +data_file=/usr/share/applications/hildon/mp_ui.desktop
1.9 +tmp_file=/tmp/mp_ui.desktop
1.10 +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
1.11 +echo -e "\n\n[X-Osso-URI-Action Handler myth] \nMethod=mime_open\nName=medi_ap_mediaplayer_name\nTranslationDomain=mediaplayer" >> $tmp_file
1.12 +cat $tmp_file > $data_file
1.13 +echo "FILE DESKTOP UPDATED"
1.14 +
1.15 exit 0