blob: 151fb5956721765a1dbb0ca23c19b758208eeb9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
. `dirname $0`/mime-functions.sh
echo_mime () {
echo " \"$i\","
}
echo "/* generated with mime-type-imports.sh in the totem module, don't edit or"
echo " commit in the sushi module without filing a bug against totem */"
echo "let audioTypes = ["
get_audio_mimetypes $1;
for i in $MIMETYPES ; do
echo_mime;
done
echo -e "];\n"
echo "let videoTypes = ["
get_video_mimetypes $1;
for i in $MIMETYPES ; do
echo_mime;
done
echo "];"
|