deal with deprecated call
[xombrero.git] / playflash.sh
blob937e5ab126499c50a27d28ec581da6a8e690a2c4
1 #!/bin/sh
2 # This is an example script for playing flash videos. It requires the
3 # get_flash_video package to be installed on the system. You can copy this
4 # file to ~/.xombrero/, and set
5 # default_script = ~/.xombrero/playflash.sh
6 # in ~/.xombrero.conf. Remember to make this file executable.
8 # You may wish to add the following line to ~/.get_flash_videosrc
9 # to avoid accumulating files:
10 # player = mplayer -loop 0 %s 2>/dev/null; rm -f %s
12 cd /var/tmp && get_flash_videos --player="/usr/local/bin/mplayer -really-quiet %s 2> /dev/null" -q -p -y $1