$(cat ~/.scriptpath) yadPlayerDemo &trap "exit 1" TERMexport TOP_PID=$$
function close () { echo "Goodbye" kill -s TERM $TOP_PID}export -f closeThis version should test for wmctrl, xdotool, and imagemagick as well as mplayer
--
You received this message because you are subscribed to the Google Groups "yad-common" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/yad-common/57e45dcb-eabb-482a-b11d-3539fffa99d8%40googlegroups.com.
Once you have the song you want playing, if you want more controls like finding specific points in the track you can open the song or the playlist externally in your default player.
Regarding the terminal messages, I just ignore that by starting the script from a launcher (no terminal open), and only use the terminal when I'm troubleshooting (although sometimes I trouble shoot by using yad messages instead of the terminal, then comment them out once I fix it)
bug fixes (see attached)also, just finished the demo: http://cedar-chiropractic.com/YadPlayerDemo.mkv
shellcheck *.sh
--
You received this message because you are subscribed to the Google Groups "yad-common" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/yad-common/1840c917-4166-449d-b1f9-c248518eac75o%40googlegroups.com.