Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

NodudeWasTaken/theHandy_Plex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

theHandy_Plex

REQUIRES PLEX PASS

Webhooks are a plex premium feature, you need to pay for it

How to setup

1: Git clone or download this branch**

2: Run plexv2.py once

3: Edit settings.json

Set app_secret to a random string

Set plex_token (X-Plex-Token) to your plex_token, this can be found in your web f12 menu on the networks section when doing something on app.plex.tv.

Set handy_key to your handy key.

Modify plex_ip to the plex server's ip if this script runs on a different machine than the script, otherwise leave it be.

Set access_ip, this should be the lan ip of the machine that runs plex script, this enables local script upload instead of uploading the script to the handyfeeling server and is recommended.

The view_offset is the handy latency offset.

The timeout value is the number of hours to remember the handy's instance before forgetting.

Set pause_sync if you want to use the pause sync.

Pause sync attempts to find the plex webhook delay by sending pause and play commands to plex and recording the latency until it receives said webhook response again.

Pause sync overrides the offset and is recommended

4: Add a webhook with http://127.0.0.1:8008 (or the ip of the machine running the script) as the address to plex.

5: Install systemd service

Copy the plex_hand.service file into /etc/systemd/system and edit the user, group and directory path.

6: Done

How to use

Name the script the same as the video file, and have them in the same directory.

Like:

video.mp4

video.funscript or video.csv

Known bugs

There is no webhook call for media scrubbing, so to resync after scrub you need to pause and play it again.

Slow initialization, since the script attempts to find the latency the handy's api, takes about 10s~.

Custom transcoding sometimes excludes original file path, so the script is unable to find the funscript.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages