From fd1a44f15f57eb2a45efae47b6075ec78c367c9d Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 26 Jun 2016 17:06:00 +0200 Subject: [PATCH] Plex Companion: fix skipping forward and backward - Fixes #45 --- resources/lib/plexbmchelper/listener.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/plexbmchelper/listener.py b/resources/lib/plexbmchelper/listener.py index 4621e0dc..c43ba4da 100644 --- a/resources/lib/plexbmchelper/listener.py +++ b/resources/lib/plexbmchelper/listener.py @@ -190,12 +190,12 @@ class MyHandler(BaseHTTPRequestHandler): elif request_path == "player/playback/skipNext": self.response(getOKMsg(), self.js.getPlexHeaders()) for playerid in self.js.getPlayerIds(): - self.js.jsonrpc("Player.Seek", {"playerid":playerid, "value":"bigforward"}) + self.js.jsonrpc("Player.GoTo", {"playerid":playerid, "to":"next"}) self.subMgr.notify() elif request_path == "player/playback/skipPrevious": self.response(getOKMsg(), self.js.getPlexHeaders()) for playerid in self.js.getPlayerIds(): - self.js.jsonrpc("Player.Seek", {"playerid":playerid, "value":"bigbackward"}) + self.js.jsonrpc("Player.GoTo", {"playerid":playerid, "to":"previous"}) self.subMgr.notify() elif request_path == "player/navigation/moveUp": self.response(getOKMsg(), self.js.getPlexHeaders())