Skip to content

Commit

Permalink
Merge pull request #2846 from thyttan/spotify-remote
Browse files Browse the repository at this point in the history
spotrem: Send GB wake command only once
  • Loading branch information
gfwilliams authored Jun 29, 2023
2 parents ca124b2 + 5bd3070 commit 2aa3dc5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion apps/spotrem/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
0.06: Make compatible with Fastload Utils app.
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.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.
1 change: 0 additions & 1 deletion apps/spotrem/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ let touchHandler = function(_, xy) {
} else if ((R.x-1<x && x<R.x+len) && (R.y2-len<y && y<R.y2+1)) {
//Wake
gadgetbridgeWake();
gadgetbridgeWake();
} else if ((R.x2-len<x && x<R.x2+1) && (R.y-1<y && y<R.y+len)) {
//Srch
Bangle.removeListener("touch", touchHandler);
Expand Down
2 changes: 1 addition & 1 deletion apps/spotrem/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "spotrem",
"name": "Remote for Spotify",
"version": "0.08",
"version": "0.09",
"description": "Control spotify on your android device.",
"readme": "README.md",
"type": "app",
Expand Down

0 comments on commit 2aa3dc5

Please sign in to comment.