about summary refs log tree commit diff stats
path: root/playflash.sh
blob: 937e5ab126499c50a27d28ec581da6a8e690a2c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# This is an example script for playing flash videos. It requires the
# get_flash_video package to be installed on the system. You can copy this
# file to ~/.xombrero/, and set
#   default_script = ~/.xombrero/playflash.sh
# in ~/.xombrero.conf. Remember to make this file executable.
#
# You may wish to add the following line to ~/.get_flash_videosrc
# to avoid accumulating files:
#   player = mplayer -loop 0 %s 2>/dev/null; rm -f %s

cd /var/tmp && get_flash_videos --player="/usr/local/bin/mplayer -really-quiet %s 2> /dev/null" -q -p -y $1