mirror of https://github.com/espruino/BangleApps
podadrem: fix warning from linter no-unused-var
parent
163df7be62
commit
18bb51d27c
|
@ -8,6 +8,6 @@ Addict.
|
||||||
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)
|
0.08: Issue newline before GB commands (solves issue with console.log and ignored commands)
|
||||||
0.09: Don't send the gadgetbridge wake command twice. Once should do since we
|
0.09: Don't send the gadgetbridge wake command twice. Once should do since we issue newline before GB commands.
|
||||||
issue newline before GB commands.
|
|
||||||
0.10: Minor code improvements
|
0.10: Minor code improvements
|
||||||
|
0.11: Fix a warning from the linter.
|
||||||
|
|
|
@ -127,7 +127,7 @@ The functions for interacting with Android and the Podcast Addict app
|
||||||
let pkg = "com.bambuna.podcastaddict";
|
let pkg = "com.bambuna.podcastaddict";
|
||||||
let standardCls = pkg + ".receiver.PodcastAddictPlayerReceiver";
|
let standardCls = pkg + ".receiver.PodcastAddictPlayerReceiver";
|
||||||
let updateCls = pkg + ".receiver.PodcastAddictBroadcastReceiver";
|
let updateCls = pkg + ".receiver.PodcastAddictBroadcastReceiver";
|
||||||
let speed = 1.0;
|
//let speed = 1.0;
|
||||||
|
|
||||||
let simpleSearch = "";
|
let simpleSearch = "";
|
||||||
|
|
||||||
|
@ -269,15 +269,15 @@ let speedMenu = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Regular Speed": () => {
|
"Regular Speed": () => {
|
||||||
speed = 1.0;
|
//speed = 1.0;
|
||||||
btMsg("service", standardCls, "player.1xspeed");
|
btMsg("service", standardCls, "player.1xspeed");
|
||||||
},
|
},
|
||||||
"1.5x Regular Speed": () => {
|
"1.5x Regular Speed": () => {
|
||||||
speed = 1.5;
|
//speed = 1.5;
|
||||||
btMsg("service", standardCls, "player.1.5xspeed");
|
btMsg("service", standardCls, "player.1.5xspeed");
|
||||||
},
|
},
|
||||||
"2x Regular Speed": () => {
|
"2x Regular Speed": () => {
|
||||||
speed = 2.0;
|
//speed = 2.0;
|
||||||
btMsg("service", standardCls, "player.2xspeed");
|
btMsg("service", standardCls, "player.2xspeed");
|
||||||
},
|
},
|
||||||
//"Faster" : ()=>{speed+=0.1; speed=((speed>5.0)?5.0:speed); btMsg("service",standardCls,"player.customspeed",{arg1:speed});},
|
//"Faster" : ()=>{speed+=0.1; speed=((speed>5.0)?5.0:speed); btMsg("service",standardCls,"player.customspeed",{arg1:speed});},
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "podadrem",
|
"id": "podadrem",
|
||||||
"name": "Podcast Addict Remote",
|
"name": "Podcast Addict Remote",
|
||||||
"shortName": "PA Remote",
|
"shortName": "PA Remote",
|
||||||
"version": "0.10",
|
"version": "0.11",
|
||||||
"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