diff --git a/run.sh b/run.sh index 9741899..e6ab920 100755 --- a/run.sh +++ b/run.sh @@ -1,3 +1,5 @@ #!/usr/bin/env bash - -exec bin/player music/pink\ floyd/dark\ side\ of\ the\ moon/01\ Speak\ to\ Me.flac music/pink\ floyd/dark\ side\ of\ the\ moon/02\ Breathe\ \(In\ the\ Air\).flac \ No newline at end of file +mapfile -t tracks < <( + find "music/pink floyd/dark side of the moon" -type f -iname '*.flac' | sort -V +) +exec bin/player "${tracks[@]}"