# HTTP\_API Fast Forward Speed

**URL:** <https://forums.plex.tv/t/http_api-fast-forward-speed/33106>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [April 20, 2013, 5:26am UTC](https://forums.plex.tv/t/http_api-fast-forward-speed/33106 "2013-04-20T05:26:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephenpontes](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stephenpontes](https://forums.plex.tv/u/stephenpontes)\
**Post date:** [April 20, 2013, 5:26am UTC](https://forums.plex.tv/t/http_api-fast-forward-speed/33106/1 "2013-04-20T05:26:54Z")

</div>

Been working on a simple local site that uses the plex http api to do simple things like play/pause, stop, browse menus, etc. so I can control plex from my laptop while hanging out on the couch.

&nbsp;

I've been able to tie into the fast forward and rewind commands:

&nbsp;

```
/system/players/192.168.0.x/playback/fastForward
```

&nbsp;

But it appears as though it'll only scrub at 2x regardless of how many times that URL is hit. &nbsp;Is there a way to configure that speed with just the HTTP API?

&nbsp;

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Zootalaws](https://avatars.discourse-cdn.com/v4/letter/z/87869e/32.png) [@Zootalaws](https://forums.plex.tv/u/Zootalaws)\
**Post date:** [May 6, 2013, 2:16pm UTC](https://forums.plex.tv/t/http_api-fast-forward-speed/33106/2 "2013-05-06T14:16:27Z")

</div>

I've been trying the same thing, but had no luck.

I used the examples from the HTTP API docs on the wiki.

for example:

[http://192.168.1.30:32400/clients](http://192.168.1.30:32400/clients)

Returns:

\<MediaContainer&nbsp;size="1"\>

\<Server&nbsp;name="mini"&nbsp;host="192.168.1.30"&nbsp;address="192.168.1.30"&nbsp;port="3000"&nbsp;machineIdentifier="206fecc0-7f5d-4874-a3b9-4f225ae76a0c"&nbsp;version="0.9.5.4-f067f15"/\>

&nbsp;

All well and good.

&nbsp;

But the other examples, such as:&nbsp;

&nbsp;

[http://192.168.1.30:32400/system/players/mini/playback/OSD](http://192.168.1.30:32400/system/players/mini/playback/OSD)

&nbsp;

Returns:

&nbsp;

\<Response&nbsp;code="2000"&nbsp;status="TypeError: 'NoneType' object is not callable"\>

Traceback (most recent call last): File "/Volumes/2TB2/Plex DB/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 837, in handle\_request result = f(\*\*d) File "/Users/mini/Library/Application Support/Plex Media Server/Plug-ins/System.bundle/Contents/Code/playerservice.py", line 29, in process\_remote\_command result = cmd(\*\*kwargs) File "/Volumes/2TB2/Plex DB/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 18, in \_apply return apply(f, args, kwargs) TypeError: 'NoneType' object is not callable

&nbsp;

And:

&nbsp;

[http://192.168.1.30:32400/system/players/mini/playback/pause](http://192.168.1.30:32400/system/players/mini/playback/pause)

&nbsp;

returns:

&nbsp;

\<Response&nbsp;code="2000"&nbsp;status="TypeError: 'NoneType' object is not callable"\>

Traceback (most recent call last): File "/Volumes/2TB2/Plex DB/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 837, in handle\_request result = f(\*\*d) File "/Users/mini/Library/Application Support/Plex Media Server/Plug-ins/System.bundle/Contents/Code/playerservice.py", line 29, in process\_remote\_command result = cmd(\*\*kwargs) File "/Volumes/2TB2/Plex DB/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 18, in \_apply return apply(f, args, kwargs) TypeError: 'NoneType' object is not callable

&nbsp;

Have I missed something, or am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![stephenpontes](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stephenpontes](https://forums.plex.tv/u/stephenpontes)\
**Post date:** [May 7, 2013, 12:49am UTC](https://forums.plex.tv/t/http_api-fast-forward-speed/33106/3 "2013-05-07T00:49:15Z")

</div>

Hrm, I think the reason the fast foward stuff isn't working for me might be due to the fact that I'm on PMS for Linux, or that they've phased out those particular commands. &nbsp;For what it's worth, I've found that I have to call the specific IP address of the client, not the friendly name:

```
http://IPADDR:32400/system/players/192.168.0.XXX/playback/play
```

Where IPADDR is my server's IP address, and the XXX represents the value of the local IP address. &nbsp;Play / pause will toggle each time you call the /playback/play url. &nbsp;I haven't gotten the OSD to work either, but I did get the context menu to come up:

```
/navigation/contextMenu
```

Good luck!

---

<div class="post-metadata">

**Author:** ![Zootalaws](https://avatars.discourse-cdn.com/v4/letter/z/87869e/32.png) [@Zootalaws](https://forums.plex.tv/u/Zootalaws)\
**Post date:** [May 7, 2013, 1:18am UTC](https://forums.plex.tv/t/http_api-fast-forward-speed/33106/4 "2013-05-07T01:18:26Z")

</div>

Perfect! THanks for that - it worked straight away when I installed IP address instead of DNS name.

Thanks

---

<div class="post-metadata">

**Author:** ![steve\_coomber](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@steve\_coomber](https://forums.plex.tv/u/steve_coomber)\
**Post date:** [September 12, 2013, 12:00pm UTC](https://forums.plex.tv/t/http_api-fast-forward-speed/33106/5 "2013-09-12T12:00:10Z")

</div>

> Been working on a simple local site that uses the plex http api to do simple things like play/pause, stop, browse menus, etc. so I can control plex from my laptop while hanging out on the couch.
> 
> I've been able to tie into the fast forward and rewind commands:
> 
> ```
> /system/players/192.168.0.x/playback/fastForward
> ```
> 
> But it appears as though it'll only scrub at 2x regardless of how many times that URL is hit. &nbsp;Is there a way to configure that speed with just the HTTP API?
> 
> Thanks in advance!

Did you manage to get this working? I have the same problem. Many thanks.

---

<div class="post-metadata">

**Author:** ![stephenpontes](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stephenpontes](https://forums.plex.tv/u/stephenpontes)\
**Post date:** [September 12, 2013, 7:57pm UTC](https://forums.plex.tv/t/http_api-fast-forward-speed/33106/6 "2013-09-12T19:57:08Z")

</div>

> Did you manage to get this working? I have the same problem. Many thanks.

I still haven't been able to get the fastFoward call to work. &nbsp;My workaround is to bring up the OSD:

```
http://IPADDR:32400/system/players/IPADDR/navigation/toggleOSD
```

Then also tie in to the left / right controls:

```
http://IPADDR:32400/system/players/IPADDR/navigation/moveRight
```

To highlight the fast forward icon (on screen) then use that. &nbsp;Hitting it each time will increase the scrub speed.

Basically I've tied all of these commands to a script that monitors keystrokes...It'll need to updated for your particular install, but feel free to use it if you'd like. &nbsp;I'm using jQuery:

```
function plexGestures(){
		if(plexfocus == "true"){

```
		$("body").bind().keydown(function(e){
			e.preventDefault();
		// alert(e.keyCode);	
		// 8 = back
		// 13 = enter
		// 37 = left
		// 38 = up
		// 39 = right
		// 40 = down		
		// 70 = "f" (toggle ff or rewind speed)
		// 73 = "i" (for info)
		// 79 = "o" (onscreen menu)
		// 82 = "r" (reboot plex)

		if(e.keyCode == "8" || e.keyCode == "27"){
			$.get("http://IPADDR:32400/system/players/IP.AD.DR.ESS/navigation/back", function() {})
			}
		else if(e.keyCode == "13"){
			$.get("http://IPADDR:32400/system/players/IP.AD.DR.ESS/navigation/select", function() {})
			}
		else if(e.keyCode == "32"){
			$.get("http://IPADDR:32400/system/players/IP.AD.DR.ESS/playback/play", function() {})
			}
		else if(e.keyCode == "37"){
			$.get("http://IPADDR:32400/system/players/IP.AD.DR.ESS/navigation/moveLeft", function() {})
			}
		else if(e.keyCode == "38"){
			$.get("http://IPADDR:32400/system/players/IP.AD.DR.ESS/navigation/moveUp", function() {})
			}
		else if(e.keyCode == "39"){
			$.get("http://IPADDR:32400/system/players/IP.AD.DR.ESS/navigation/moveRight", function() {})
			}
		else if(e.keyCode == "40"){
			$.get("http://IPADDR:32400/system/players/IP.AD.DR.ESS/navigation/moveDown", function() {})
			}
		else if(e.keyCode == "73"){
			$.get("http://IPADDR:32400/system/players/IP.AD.DR.ESS/navigation/contextMenu", function() {})
			}
		else if (e.keyCode == "70"){
			$.get("http://IPADDR:32400/system/players/IP.AD.DR.ESS/playback/bigStepForward", function() {})
			}
		else if (e.keyCode == "79"){
			$.get("http://media.stephenpontes.com:32400/system/players/IP.AD.DR.ESS/navigation/toggleOSD", function() {})
			}
		else if (e.keyCode == "82"){
			// shell fire restart plex
			}
		}); //end key function
	}
	else {
		$("body").unbind();
	};
}

```
```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 11:15pm UTC](https://forums.plex.tv/t/http_api-fast-forward-speed/33106/7 "2019-12-20T23:15:06Z")

</div>

Closed on December 20, 2019, 11:15pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
