Song Changed Trigger/Current Song Playing Information

jagg

New member
Hi, would it be possible to add a trigger which is activated when a current song ends or new one starts? For example, if I am playing a mp3 file, when the file is finished playing or new file would begin playing, this trigger would activate.

Also, would it be possible to add an action to get all the information regarding the current file the mp3 player is playing. For example if I used this action, all of the information of the song that is currently playing data such as artist, song name, genre, etc. would be stored in an a array/ dictionary format. This information could be obtained directly from the properties of the audio file itself.

Thanks in advance.
 

jagg

New member
This you can achieve with notification received trigger and use the title magic text
This issue with this method is that many mp3 player use a persistent notification and would be impossible to trigger with the notification received trigger as the notification technically never leaves/received, only changed. In addition even if a player is set not to use a persistent notification, macrodroid does not detect the "music menu" notification as a normal notification and does not trigger the notification received trigger.

I have tested this with powerAmp which the music menu never triggers notification received both for the standard and persistent notification but the notification received trigger is activated upon "normal" notifications from powerAmp. I have also tested this with spotify which the notification received trigger also does not activate for both the persistent and normal notification for the music menu except when the pause button is pressed and only then does it get triggered.
 
Top