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
AMC : rtorrent/plex update (plex home)
Re: AMC : rtorrent/plex update (plex home)
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?
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)
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?
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)
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:
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:
Code: Select all
--def plex=localhost:token
Re: AMC : rtorrent/plex update (plex home)
works great!
Re: AMC : rtorrent/plex update (plex home)
How do I see Plex authentication token?
Re: AMC : rtorrent/plex update (plex home)
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
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)
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
@see https://github.com/filebot/scripts/pull ... t-64526351