I'm still loving my Bangle but one thing that bothers me all the time is the "wrong" message handling for the "Now Playing" song recognition on my pixel phone.
I looked through the files and am thinking about trying some thing to change it but I can't help myself to be stuck on deciding where to add it properly lol.
Maps and Music playbay hook into the messagegui before the "showmessage" is fired. And they even get another notify signal all together with a custom id.
The problem with the track recognition via now playing is, its message is not as unique as we'd need I guess. They look like this:
notify {
"t": "notify",
"id": 1729922080,
"src": "Android System Intelligence",
"title": "\"Open Your Eyes\" von Guano Apes",
"subject": "",
"body": "Tippen, um deinen Titelverlauf anzusehen",
"sender": ""
}
As you can see they are even translated already and nothing is standardized. Even the src is garbage for using it properly because this is used by other google services most likely.
So, perhaps Gordon has a clever idea to get this implemented, so the displaying of the message is more useful visually.
Imho the title should be the artist, the body should be the track title and we are golden :)
sounded like an easy task at first "if src=nowplaying { change title; change body }
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hey,
I'm still loving my Bangle but one thing that bothers me all the time is the "wrong" message handling for the "Now Playing" song recognition on my pixel phone.
I looked through the files and am thinking about trying some thing to change it but I can't help myself to be stuck on deciding where to add it properly lol.
Maps and Music playbay hook into the messagegui before the "showmessage" is fired. And they even get another notify signal all together with a custom id.
The problem with the track recognition via now playing is, its message is not as unique as we'd need I guess. They look like this:
As you can see they are even translated already and nothing is standardized. Even the src is garbage for using it properly because this is used by other google services most likely.
So, perhaps Gordon has a clever idea to get this implemented, so the displaying of the message is more useful visually.
Imho the title should be the artist, the body should be the track title and we are golden :)
sounded like an easy task at first "if src=nowplaying { change title; change body }
thoughts and ideas?
1 Attachment