Skip to content

Commit

Permalink
podadrem: fix warning from linter no-unused-var
Browse files Browse the repository at this point in the history
  • Loading branch information
thyttan committed Nov 7, 2024
1 parent 163df7b commit 18bb51d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/podadrem/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ Addict.
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)
0.09: Don't send the gadgetbridge wake command twice. Once should do since we
issue newline before GB commands.
0.09: Don't send the gadgetbridge wake command twice. Once should do since we issue newline before GB commands.
0.10: Minor code improvements
0.11: Fix a warning from the linter.
8 changes: 4 additions & 4 deletions apps/podadrem/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ The functions for interacting with Android and the Podcast Addict app
let pkg = "com.bambuna.podcastaddict";
let standardCls = pkg + ".receiver.PodcastAddictPlayerReceiver";
let updateCls = pkg + ".receiver.PodcastAddictBroadcastReceiver";
let speed = 1.0;
//let speed = 1.0;

let simpleSearch = "";

Expand Down Expand Up @@ -269,15 +269,15 @@ let speedMenu = {
}
},
"Regular Speed": () => {
speed = 1.0;
//speed = 1.0;
btMsg("service", standardCls, "player.1xspeed");
},
"1.5x Regular Speed": () => {
speed = 1.5;
//speed = 1.5;
btMsg("service", standardCls, "player.1.5xspeed");
},
"2x Regular Speed": () => {
speed = 2.0;
//speed = 2.0;
btMsg("service", standardCls, "player.2xspeed");
},
//"Faster" : ()=>{speed+=0.1; speed=((speed>5.0)?5.0:speed); btMsg("service",standardCls,"player.customspeed",{arg1:speed});},
Expand Down
2 changes: 1 addition & 1 deletion apps/podadrem/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "podadrem",
"name": "Podcast Addict Remote",
"shortName": "PA Remote",
"version": "0.10",
"version": "0.11",
"description": "Control Podcast Addict on your android device.",
"readme": "README.md",
"type": "app",
Expand Down

0 comments on commit 18bb51d

Please sign in to comment.