Skip to content

Commit

Permalink
Merge pull request #1642 from rern/UPDATE
Browse files Browse the repository at this point in the history
Update player.sh
  • Loading branch information
rern authored Mar 30, 2024
2 parents 97f741d + ed28c3b commit 88d0552
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion srv/http/bash/settings/player.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ statusmpdignore )
list="\
<bll># find /mnt/MPD -name .mpdignore</bll>"
while read file; do
[[ $file == /mnt/MPD/NAS/.mpdignore ]] && lines=$( grep -v ^data$ "$file" ) || lines=$( < "$file" )
lines=$( < "$file" )
[[ $file == /mnt/MPD/NAS/.mpdignore ]] && lines=$( sed 's|^data$|& <yl>(rAudio Shared Data)</yl>|' <<< $lines )
path="<g>$( dirname "$file" )/</g>"
list+="
$file
Expand Down

0 comments on commit 88d0552

Please sign in to comment.