EroScripts is a community for scripts that sync up interactive sex toys with porn. Learn more.

To discover, download, and help choose what gets scripted, create an account.


theHandy support for PlexMediaServer

What this software does is, it runs on your PlexMediaServer and detects when you play (or stop) a video.
It then sends a play signal to theHandy, if said video has a funscript, and plays the funscript.

To use theHandy on my mobile phone and other devices, i felt a good cross-platform approach was needed.
So i firstly developed my own media server, it was decent, but finding compatibility profiles for video codec’s on largely undocumented webbrowsers is a nightmare.
So i decided to check if PMS could do this, and it could.
So now anything that has access to your plex server can run theHandy, this includes desktop, mobile, smart tv’s, consoles etc.

It works as a Plex webhook (requires plexpass/payment).
What this does is that, when you start, play, pause or stop a video’s playback, it sends a signal to my python script, which can then ask the server what video file it is.
I can then check for if said video file has a funscript, and then just send said file to and ask their handyAPI to run it from there.


NodudeWasTaken/theHandy_Plex (

Please read the git description on how to install and use it.
As you might guess there is also a certain latency, as the process of going from device->server->my script has an undefined latency.
Its generally low if you’re local, but please just stop and start to fix this.
There’s also a load of other known bugs on the github, that you should read before sending them to me.

Feel free to write suggestions on how to fix said bugs :smile:

An image


You definitely should post this to over 18? ! I’m sure and his team will love this!

1 Like

Hi, i tried installing the script but i have runtime errors .

  File "", line 3, in <module>
    from handy import TheHandy, upload_funscript
  File "/root/theHandy_Plex/", line 125
    print(data, file=sys.stderr)

Yeah, this is my fault for not writing a detailed enough readme.
You need both and downloaded and in the same folder to run this.
You need python 3.
You need libraries requests and flask (do: pip install requests, pip install flask).
And finally you need to run

hello, a mistake by myself, I forgot to specify python3 in the execution of the script. Probably because I tested quickly before sleeping. Thanks for the informations
for installation.

I just updated this, fixing all viewOffset bugs.
Instead of trusting the included viewOffset, i now manually search the sessions of plex to find it, and this is both more accurate and more consistent.
I still have initial sync issues, but otherwise its great

This is awesome! Currently I have Plex playing my 2d Videos with theHandy support through DeoVR but this would be awesome for when I don’t have my headset. Well done!

1 Like