I’m using easer on Motorola moto g4 play running Android 7.1.1. I’m using an sms as a trigger to play some media. But media is not playing sand I have error: Failed:play_media. Does anyone know why is this happening?
osomat123:
Failed:play_media
Did you report this upstream?
opened 05:05PM - 12 Feb 18 UTC
closed 11:31PM - 08 Apr 18 UTC
bug
compatibility
#### Description:
I did a pretty simple setup where a profile (called "Music Sk… ip") has the operation "Media Control" set to "Next" (I tried others too), which is then set inside an event (called "MiBand Button Press"), where it receives a broadcast from GadgetBridge.
#### Outcome:
The expected outcome would be a change in whatever the media player (Shuttle+ or YouTube) is playing. In reality it doesn't work at all.
### Additional info:
Easer has root permission, it also complains about missing perms (apparently for notification) even though it has every permission asked allowed.
I tried doing the same using another operation for disabling WiFi and it works fine.
### System info:
**Device:** Redmi Note 3 Special Edition (kate)
**Android OS:** 8.1 (NitrogenOS 20180206)
**Easer version:** 0.5.3.2
[Logcat](https://github.com/renyuneyun/Easer/files/1717083/2018-02-12-14-41-01.txt)
[Easer log](https://www.dropbox.com/s/mgyg07zkx2q6os9/logs_0.csv?dl=0)
opened 06:01AM - 06 Jul 18 UTC
closed 01:55PM - 31 Mar 19 UTC
feature request
Difficulty 2
I would like to make my device ring (play a sound) right in the instance when so… me profile matches.
Using an ADB shell, I found I can play an arbritrary sound file using this command:
`am start -a android.intent.action.VIEW -d file:///system/media/audio/ringtones/New_Beginning.ogg -t audio/wav`
For some reason though, pasting that same command into an easer "Run commands" profile doesn't do anything (no error, no sound).
Also a profile with a "Send Broadcast" item with Action = "android.intent.action.VIEW", Type = "audio/wav", Data = "file:///system/media/audio/ringtones/New_Beginning.ogg" doesn't do anything (no error, no sound).
Does anybody have an idea how to debug this, or an idea how else to get that feature?
An alternative Feature Request from user Ildar in the previous issue https://github.com/renyuneyun/Easer/issues/129 was to extend the Notification functionality so that it does not only show a configured text but also plays a sound.
Sorry I don’t understand what you’re trying to say. I have not reported anything yet.
Do it… they can fix it, we just build their code.
system
Closed
December 8, 2019, 12:42pm
5
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.