Skip to main content

Tdarr_Plugin_goof1_URL_Plex_Refresh

Refresh Plex Via URL (v1.0)

Refreshes folder containing the current file in Plex so changes are picked up properly without the use of external applications or other dockers

View Source

Inputs:

Name: Url_Protocol 

Type: string

Tooltip:


Specified the type of request to make, http:// or https://
\nExample:\n
http
\nExample:\n
https
Name: Plex_Url 

Type: string

Tooltip:


Enter the IP address/URL for Plex.
\nExample:\n
192.168.0.10
\nExample:\n
subdomain.domain.tld
Name: Plex_Port 

Type: number

Tooltip:


The port required to access Plex on the network (may not be required if used with reverse proxy)
\nExample:\n
32400
Name: Plex_Token 

Type: string

Tooltip:


Auth token that is used to authenticate this commend on the Plex server. \n
Instructions for retrieving the token can be found here. \n\n
https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
\nExample:\n
ssQ_eXYYH3hxq3dviDdR
Name: Library_Key 

Type: string

Tooltip:


Library key for the library in Plex where this content is displayed. \n
This number lets Plex know which library contains the current path needing a refresh. \n
See the below page under the 'Listing Defined Libraries' heading to find the key. \n

https://support.plex.tv/articles/201638786-plex-media-server-url-commands/ \n

*Note* If this number is wrong everything will behave as though it's
working great but the folder will simply not be scanned. \n\n

\nExample:\n
29
Name: Plex_Path 

Type: string

Tooltip:


If the Plex path is not the same as the local path you may need to sub parts of the path. \n
Here is where you would enter the path that Plex uses to find the file. \n
You would only enter the part of the path that is different. \n\n
If your TDarr path is: \n
/media/local/tv/The Best Show Evaaaarr/Season 2/The Best Show Evaaaarr - S02E31 - Heck Yea HDTV-720p.mp4\n\n

And the Plex path to the file is: \n
/data/tv/The Best Show Evaaaarr/Season 2/The Best Show Evaaaarr - S02E31 - Heck Yea HDTV-720p.mp4 \n
then part you would enter here is:
\nExample:\n
/data/
Name: Tdarr_Path 

Type: string

Tooltip:


If the Plex path is not the same as the local path you may need to sub parts of the path. \n
Here is where you would enter the path that Plex uses to find the file. \n
You would only enter the part of the path that is different. \n
If your TDarr path is: \n
/media/local/tv/The Best Show Evaaaarr/Season 2/The Best Show Evaaaarr - S02E31 - Heck Yea HDTV-720p.mp4 \n\n

And the Plex path to the file is:\n
/data/tv/The Best Show Evaaaarr/Season 2/The Best Show Evaaaarr - S02E31 - Heck Yea HDTV-720p.mp4\n
then part you would enter here is:
\nExample:\n
/media/local/