diff options
Diffstat (limited to '.local/bin/movie')
| -rwxr-xr-x | .local/bin/movie | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/movie b/.local/bin/movie index b56828f..1cee6f5 100755 --- a/.local/bin/movie +++ b/.local/bin/movie @@ -2,11 +2,11 @@ if [ -t 0 ]; then - filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)" + filename="$(find ~/remote/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)" else - filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fuzzel -d -l 25)" + filename="$(find ~/remote/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fuzzel -d -l 25)" fi -filepath="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")" +filepath="$(find ~/remote/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")" mpv "$(grep "$filename" <<< "$filepath")" |
