notes/Android MediaMusic Controls-saqxhwx4.sh
#Android adb shell music/media controls
#turn on screen

input keyevent KEYCODE_POWER 

#list all packages

pm list packages

#start apollo mplayer
am start the.joeapollo

#use media command to control media

#'media' for help; example:
media dispatch next


#"list-sessions" and "monitor" my need root 

media list-sessions

#interactive

media monitor MediaSessionHelper-the.joeapollo

#kill app (should not need root if done with 'am')

am force-stop the.joeapollo

syntax highlighted by Code2HTML, v. 0.9.1