mirror of https://github.com/espruino/BangleApps
Merge pull request #2840 from thyttan/podcast-addict
podadrem: Issue newline before GB commandspull/2842/head
commit
1eda4cb0bb
|
@ -7,3 +7,4 @@ Addict.
|
|||
0.06: Add compatibility with Fastload Utils.
|
||||
0.07: Remove just the specific listeners to not interfere with Quick Launch
|
||||
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
|
||||
searchString = simpleSearch;
|
||||
Bluetooth.println("");
|
||||
Bluetooth.println(JSON.stringify({
|
||||
t: "intent",
|
||||
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() {
|
||||
Bluetooth.println("");
|
||||
Bluetooth.println(JSON.stringify({
|
||||
t: "intent",
|
||||
target: "activity",
|
||||
|
@ -174,6 +176,7 @@ let actFn = function(actName, activOrServ) {
|
|||
// Send the intent message to Gadgetbridge
|
||||
let btMsg = function(activOrServ, cls, actName, xtra) {
|
||||
|
||||
Bluetooth.println("");
|
||||
Bluetooth.println(JSON.stringify({
|
||||
t: "intent",
|
||||
action: actFn(actName, activOrServ),
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"id": "podadrem",
|
||||
"name": "Podcast Addict Remote",
|
||||
"shortName": "PA Remote",
|
||||
"version": "0.07",
|
||||
"version": "0.08",
|
||||
"description": "Control Podcast Addict on your android device.",
|
||||
"readme": "README.md",
|
||||
"type": "app",
|
||||
|
|
Loading…
Reference in New Issue