update search engines
[uweb.git] / zh / searchurl / script / filecap_app.sh
blobbec88ec1868f6196bb7b654a60638cbf16e95397
1 (cat<<EOF ;cat /sdcard/uweb/default.filecap)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.filecap
2 m3u8:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
3 mp3:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
4 m4b:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
5 mp4:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
6 mkv:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
7 doc::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.ms-word"
8 xls::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.ms-excel"
9 ppt::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.ms-powerpoint"
10 docx::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
11 xlsx::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
12 pptx::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.openxmlformats-officedocument.presentationml.presentation"
13 EOF