parent
40529938ca
commit
fd1a44f15f
1 changed files with 2 additions and 2 deletions
|
@ -190,12 +190,12 @@ class MyHandler(BaseHTTPRequestHandler):
|
||||||
elif request_path == "player/playback/skipNext":
|
elif request_path == "player/playback/skipNext":
|
||||||
self.response(getOKMsg(), self.js.getPlexHeaders())
|
self.response(getOKMsg(), self.js.getPlexHeaders())
|
||||||
for playerid in self.js.getPlayerIds():
|
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()
|
self.subMgr.notify()
|
||||||
elif request_path == "player/playback/skipPrevious":
|
elif request_path == "player/playback/skipPrevious":
|
||||||
self.response(getOKMsg(), self.js.getPlexHeaders())
|
self.response(getOKMsg(), self.js.getPlexHeaders())
|
||||||
for playerid in self.js.getPlayerIds():
|
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()
|
self.subMgr.notify()
|
||||||
elif request_path == "player/navigation/moveUp":
|
elif request_path == "player/navigation/moveUp":
|
||||||
self.response(getOKMsg(), self.js.getPlexHeaders())
|
self.response(getOKMsg(), self.js.getPlexHeaders())
|
||||||
|
|
Loading…
Reference in a new issue