File: playflash.sh

package info (click to toggle)
xombrero 2%3A1.6.4-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,860 kB
  • ctags: 2,631
  • sloc: ansic: 17,051; makefile: 465; perl: 387; sh: 120
file content (12 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (3)
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