My bash script should call the user preferred audio player instead of vlc or mplayer directly. How can I call it from bash? I assume something like
audio-player --play music.mp3
My bash script should call the user preferred audio player instead of vlc or mplayer directly. How can I call it from bash? I assume something like
audio-player --play music.mp3
Try to use XDG open, it should open file with default application:
From xdg-open man-page: