repo.or.cz
/
mldonkey.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
patch #6396
[mldonkey.git]
/
distrib
/
mldonkey_previewer
blob
2e46d33e80cf3d8717f1c8842bc29ce52c366b24
1
#!/bin/sh
2
3
echo
Local File is
"
$1
"
4
echo
Pseudo
file
name is
"
$2
"
5
6
MOVIE_PLAYER
=
'mplayer -vo sdl'
7
8
case
"
$2
"
in
9
*
.avi |
*
.mpg |
*
.mpeg |
*
.divx |
*
.AVI |
*
.MPG |
*
.MPEG |
*
.DIVX |
*
.ogm |
*
.OGM
)
10
$MOVIE_PLAYER $1
&;;
11
*)
echo
No player
for
this
file
;;
12
esac