From 5abe8d2ca72f4eccfb1bcf1bb40c8a6ad8cb17d0 Mon Sep 17 00:00:00 2001 From: Mosder Date: Thu, 3 Sep 2026 11:21:54 +0200 Subject: changed music command to get music from nas --- common/home/mosder/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/home/mosder') diff --git a/common/home/mosder/.bashrc b/common/home/mosder/.bashrc index 635815b..7ca9c2f 100644 --- a/common/home/mosder/.bashrc +++ b/common/home/mosder/.bashrc @@ -45,7 +45,7 @@ resizeVideo() { } music() { if [[ $# == 0 ]]; then - command find $HOME/music -printf "\"%p\"\n" | grep .mp3 | xargs vlc + command find /nfs/music -printf "\"%p\"\n" | grep .mp3 | xargs vlc else if [[ $@ == list ]]; then command ls -AldQ $HOME/music/*/ | grep -v ^downloadLinkFiles/$ | awk -F'"' '{print $2}' | awk -F'/' '{print $5}' @@ -62,7 +62,7 @@ music() { rx="$rx\|$regexp" done rx="$rx\)" - command find $HOME/music -printf "\"%p\"\n" | grep -i "$rx.*\.mp3\"$" | xargs vlc + command find /nfs/music -printf "\"%p\"\n" | grep -i "$rx.*\.mp3\"$" | xargs vlc fi fi } -- cgit v1.2.3