I just added a section to slocategui for playing selected media files over a bluetooth device using mplayer backend. This assumes you have a bluetooth device configured in /etc/asound.conf . So you can play a list of files over bluetooth speaker/headset in some other room and not interfere with your local media experience. Working well! I also set F9 key to killall mpalyer for stop. When the gui asks for command to execute type btp.
Code: Select all
elif [[ "$app" = btp ]]; then
yaf-splash -bg blue -text "Press F9 to stop bluetooth player" &
mplayer -ao alsa:device=btheadset -playlist /tmp/list-"$filext".m3u &
Code: Select all
sed -i '/^$/d' /tmp/list-"$filext".m3u