[HELP] Plex update script ?
[HELP] Plex update script ?
I looked through the forum and see a suggestion, but can't get it to work.
Anyone got a working Plex update script please ?
(same style as sickbeards, push to Plex update)
Would like to assign to certain folders only.
thanks in advance.
Anyone got a working Plex update script please ?
(same style as sickbeards, push to Plex update)
Would like to assign to certain folders only.
thanks in advance.
Re: [HELP] Plex update script ?
Still, struggling to get this sussed, but I found this command on the PLEX forum, but still can't get it to work in the form of a post processing script.
This is the actual command I wish SAB to send to my Plex library is >>>
http://192.168.0.22:32400/library/sections/1/refresh
This is the actual command I wish SAB to send to my Plex library is >>>
http://192.168.0.22:32400/library/sections/1/refresh
Last edited by shadytree on January 8th, 2015, 12:07 am, edited 1 time in total.
Re: [HELP] Plex update script ?
on which OS is SAB running?
Re: [HELP] Plex update script ?
Running in Linux on a QNAP server, so needs to be a Python script.
Re: [HELP] Plex update script ?
Doesshadytree wrote:Running in Linux on a QNAP server, so needs to be a Python script.
Code: Select all
lynx --dump http://192.168.0.22:32400/library/sections/1/refresh
Re: [HELP] Plex update script ?
No, it gives the following error msg
line 1
{\rtf1\ansi\ansicpg1252\cocoartf1343\cocoasubrtf160
^
SyntaxError: unexpected character after line continuation character
line 1
{\rtf1\ansi\ansicpg1252\cocoartf1343\cocoasubrtf160
^
SyntaxError: unexpected character after line continuation character
Re: [HELP] Plex update script ?
Oh, then I can't help you. I thought you just had to trigger that script to let Plex update.
Re: [HELP] Plex update script ?
Pyhton script? Should work with just a easy bash scritp.. Either way, this is the code you need.
This is easy, this is my "movie" script:
Create a script and save it to your script folder ( sickberd/autoprocess folder etc..)
Replace the number "6" with the correct library number
Now just add the script to a category
You might want to make the script(s) executable sudo chmod +x..
This is easy, this is my "movie" script:
Create a script and save it to your script folder ( sickberd/autoprocess folder etc..)
Code: Select all
#! /bin/bash
### Updates Plex movies ###
wget -q --delete-after "http://PLEX-SERVER-IP:32400/library/sections/6/refresh" > /dev/null
Now just add the script to a category
You might want to make the script(s) executable sudo chmod +x..
Re: [HELP] Plex update script ?
Thanks Nock, just what i was looking for. Will give that a try later.
To confirm, making it executable, is just?
To confirm, making it executable, is just
Code: Select all
'sudo chmod +x filename.sh'
Re: [HELP] Plex update script ?
Yes, but you can drop ".sh"
Re: [HELP] Plex update script ?
nock, I've done all above, and copied the new script to the correct folder, but its not visible in the sab config script dropdown?
I thought only python scripts were possible?
I thought only python scripts were possible?
Re: [HELP] Plex update script ?
go to sab config -> folders -> Post-Processing Scripts Folder and make sure the path are correct
Re: [HELP] Plex update script ?
Yep path is correct. I can see all my .py scripts for sickbeard and couchpotato etc, but not this new one. very oddnock wrote:go to sab config -> folders -> Post-Processing Scripts Folder and make sure the path are correct
Re: [HELP] Plex update script ?
Try make a .txt, .py and see if you can see it etc. If you cant see it, i cant help you..