This task requires the full version of AutoShare.
Import this intent and this intent to make this work. To import these simply open the links on your Android Device after you install AutoShare
This very simple task will toggle playing in Google Play Music.
It simply simulates pressing down on the Play/Pause button and then releasing the Play/Pause button, and directs these actions to Google Play Music.
You can direct this to any other compatible media app by going into both actions in the task, editing them and choosing "Find Compatible apps" and selecting a different app in both of them.