Page 1 of 1
AMC : rtorrent/plex update (plex home)
Posted: 16 Dec 2014, 00:47
by discinabq
Ever since plex introduced plex home. My update call from AMC has not been working. it seems that plex requires a token now to update the server. Is their a way to work this into the script?
as of right now I am running the "touch" call to a new file with:
wget -qO-
http://IP ADD:32400/library/sections/all/refresh?X-Plex-Token=uniquetoken > /dev/null
to update plex. it works but it seems a bit slow to get through the cmd and actually process the udpate
Re: AMC : rtorrent/plex update (plex home)
Posted: 16 Dec 2014, 05:13
by rednoah
I have yet to find proper documentation on the HTTP API calls.
If I have some sort of official reference, then I could implement support for that.
Does the issue affect all latest versions of Plex? Or only the ones with the "Home" feature?
Re: AMC : rtorrent/plex update (plex home)
Posted: 16 Dec 2014, 13:31
by discinabq
As of now it only affects plex users who are using "Home". I read something on Plex documentation that made it sound like they are going to move all management of shared libraries and users to plex home at some point. At that point my assumption is that this would affect all users.
If it were possible to add a variable to the update script for our token and append it to the end of the URL, this may work?
Re: AMC : rtorrent/plex update (plex home)
Posted: 16 Dec 2014, 16:07
by rednoah
Found some docs here:
https://support.plex.tv/hc/en-us/articl ... L-Commands
You can test the latest script by calling
-script dev:amc and this is how you pass in plex host/token now:
Re: AMC : rtorrent/plex update (plex home)
Posted: 16 Dec 2014, 18:38
by discinabq
works great!
Re: AMC : rtorrent/plex update (plex home)
Posted: 23 Dec 2014, 05:39
by pax0707
How do I see Plex authentication token?
Re: AMC : rtorrent/plex update (plex home)
Posted: 29 Dec 2014, 08:45
by pax0707
Re: AMC : rtorrent/plex update (plex home)
Posted: 20 Jan 2015, 02:34
by elgallo
either of you have the --def for plea to update only a section?
i have
plex=localhost:uniqueToken
1=TV but I can't figure out how to parse it so it updates TV instead of all
Re: AMC : rtorrent/plex update (plex home)
Posted: 20 Jan 2015, 08:48
by rednoah
It'll always update everything. Only updating a section doesn't make that much more sense. Although Plex has major performance issues when doing a full refresh, this is a Plex problem that should be fixed on their side.
@see
https://github.com/filebot/scripts/pull ... t-64526351