added pw-cat for pipewire playback
authorFred T. Hamster <fred@momumpops.gruntose.blurgh>
Thu, 18 Jan 2024 04:42:36 +0000 (23:42 -0500)
committerFred T. Hamster <fred@momumpops.gruntose.blurgh>
Thu, 18 Jan 2024 04:42:36 +0000 (23:42 -0500)
scripts/multimedia/sound_play.sh

index 66b859f9f41397e5fae8da56d78810b4b0c3e0af..a934799813bfd92b855ead0cc2b3a1398b5d4404 100644 (file)
@@ -29,6 +29,8 @@ elif [ ! -z "$(psfind esd)" ]; then
 elif [ ! -z "$(psfind pulseaudio)" ]; then
 #echo we see pulse running...
   BASIC_PLAY_CMD="padsp aplay"
+elif [ ! -z "$(whichable pw-cat)" ]; then
+  BASIC_PLAY_CMD="pw-cat -p"
 else
   echo "I don't know how to play basic sound files for this OS and sound system."
 fi