From a12de33a59b64dc347c60aac8b9bef011a604c9e Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Fri, 13 Oct 2017 10:07:49 -0400 Subject: [PATCH] Add support for the new beta of Pocket Casts Tested against: Version 2.0 Build 22 Fixes: #243 --- extension/keysocket-pocketcasts.js | 8 ++++---- extension/manifest.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extension/keysocket-pocketcasts.js b/extension/keysocket-pocketcasts.js index 3b8689c..8ec29d5 100644 --- a/extension/keysocket-pocketcasts.js +++ b/extension/keysocket-pocketcasts.js @@ -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 } -); \ No newline at end of file +); diff --git a/extension/manifest.json b/extension/manifest.json index fdd21d3..2cdd366 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -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"] }, {