diff options
Diffstat (limited to 'Scripts')
-rwxr-xr-x | Scripts/.local/scripts/localstream | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Scripts/.local/scripts/localstream b/Scripts/.local/scripts/localstream index fece208..aa6b46f 100755 --- a/Scripts/.local/scripts/localstream +++ b/Scripts/.local/scripts/localstream @@ -13,19 +13,19 @@ fi case $1 in "-f") - filtering="-name '*.mp4' -or -name '*.mkv' -or -name '*.webm'" && - selection="\(.*\)";; + filtering="-name '*.mp4' -or -name '*.mkv' -or -name '*.webm' -or -name '*.opus'"; + selection="\(.*\)";; "-p") - filtering="-name 'playlist'" && - selection="\(.*\)\/playlist" && - ending="/playlist";; + filtering="-name 'playlist'"; + selection="\(.*\)\/playlist"; + ending="/playlist";; *) usage && exit 1;; esac choice=$(ssh oreo@oldboy "find /media/hdd/content/ -type 'f' $filtering" |\ sed "s/\/media\/hdd\/content\/$selection/\1/g" |\ - dmenu -i -p "Choose file: ") + dmenu -i -l 5 -p "Choose file: ") if [ $1 == "-f" ] then |