20 lines
347 B
Bash
Executable File
20 lines
347 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ~/.bin/_config
|
|
|
|
if [ ! -f ~/.cache/media.ccc.list ]
|
|
then
|
|
media-ccc-list-update
|
|
fi
|
|
|
|
# S=$(cat ~/.cache/media.ccc.list | fgrep '/webm-hd/' | fzf -i -e -d '/' --with-nth=-4,-3,-1)
|
|
S=$(cat ~/.cache/media.ccc.list | fgrep '/webm-hd/' | $DMENU_CMD -p "Media CCC" -l 40)
|
|
|
|
if [ ! -z "$S" ]
|
|
then
|
|
echo "Playing: $S"
|
|
mpv "$S"
|
|
fi
|
|
|
|
|