mirror of https://github.com/espruino/BangleApps
parent
be5fcdd185
commit
ac448b5f36
|
@ -7,3 +7,4 @@ Addict.
|
||||||
0.06: Add compatibility with Fastload Utils.
|
0.06: Add compatibility with Fastload Utils.
|
||||||
0.07: Remove just the specific listeners to not interfere with Quick Launch
|
0.07: Remove just the specific listeners to not interfere with Quick Launch
|
||||||
when fastloading.
|
when fastloading.
|
||||||
|
0.08: Issue newline before GB commands (solves issue with console.log and ignored commands)
|
||||||
|
|
|
@ -144,6 +144,7 @@ let simpleSearchTerm = function() { // input a simple search term without tags,
|
||||||
|
|
||||||
let searchPlayWOTags = function() { //make a search and play using entered terms
|
let searchPlayWOTags = function() { //make a search and play using entered terms
|
||||||
searchString = simpleSearch;
|
searchString = simpleSearch;
|
||||||
|
Bluetooth.println("");
|
||||||
Bluetooth.println(JSON.stringify({
|
Bluetooth.println(JSON.stringify({
|
||||||
t: "intent",
|
t: "intent",
|
||||||
action: "android.media.action.MEDIA_PLAY_FROM_SEARCH",
|
action: "android.media.action.MEDIA_PLAY_FROM_SEARCH",
|
||||||
|
@ -157,6 +158,7 @@ let searchPlayWOTags = function() { //make a search and play using entered terms
|
||||||
};
|
};
|
||||||
|
|
||||||
let gadgetbridgeWake = function() {
|
let gadgetbridgeWake = function() {
|
||||||
|
Bluetooth.println("");
|
||||||
Bluetooth.println(JSON.stringify({
|
Bluetooth.println(JSON.stringify({
|
||||||
t: "intent",
|
t: "intent",
|
||||||
target: "activity",
|
target: "activity",
|
||||||
|
@ -174,6 +176,7 @@ let actFn = function(actName, activOrServ) {
|
||||||
// Send the intent message to Gadgetbridge
|
// Send the intent message to Gadgetbridge
|
||||||
let btMsg = function(activOrServ, cls, actName, xtra) {
|
let btMsg = function(activOrServ, cls, actName, xtra) {
|
||||||
|
|
||||||
|
Bluetooth.println("");
|
||||||
Bluetooth.println(JSON.stringify({
|
Bluetooth.println(JSON.stringify({
|
||||||
t: "intent",
|
t: "intent",
|
||||||
action: actFn(actName, activOrServ),
|
action: actFn(actName, activOrServ),
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "podadrem",
|
"id": "podadrem",
|
||||||
"name": "Podcast Addict Remote",
|
"name": "Podcast Addict Remote",
|
||||||
"shortName": "PA Remote",
|
"shortName": "PA Remote",
|
||||||
"version": "0.07",
|
"version": "0.08",
|
||||||
"description": "Control Podcast Addict on your android device.",
|
"description": "Control Podcast Addict on your android device.",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
Loading…
Reference in New Issue