Skip to content

Commit

Permalink
Add support for the new beta of Pocket Casts
Browse files Browse the repository at this point in the history
Tested against: Version 2.0 Build 22

Fixes: #243
  • Loading branch information
pioto committed Oct 13, 2017
1 parent ce57acc commit a12de33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions extension/keysocket-pocketcasts.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
keySocket.init(
"pocketcasts",
{
"play-pause": "div.play_pause_button",
"prev": "div.skip_back_button",
"next": "div.skip_forward_button"
"play-pause": "div.play_pause_button, div.animated-play-button",
"prev": "div.skip_back_button, div.skip-back-button",
"next": "div.skip_forward_button, div.skip-forward-button"
// stop is omitted
}
);
);
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"js": ["plugin-api.js", "keysocket-plex.js"]
},
{
"matches": ["*://play.pocketcasts.com/*"],
"matches": ["*://play.pocketcasts.com/*", "*://playbeta.pocketcasts.com/*"],
"js": ["plugin-api.js", "keysocket-pocketcasts.js"]
},
{
Expand Down

0 comments on commit a12de33

Please sign in to comment.