Use Applescript to command PMS?
Hi,
A question. Does PMS support Applescript? I want to do a script that updates the library (I have my library on my network).
waw74
February 18, 2011, 1:28am
2
you can update via the PMS web interface.
do shell script "curl \"http://**.**.**.**:32400/library/sections/2/refresh\""<br />
you'll have to change the IP, also the 2 at the end is my TV section, the easiest way to go to the web manager, pull up the section you want, and get the number out of the URL
or on in terminal, you can do
~/Library/Application\ Support/Plex/Plex\ Media\ Server.app/Contents/MacOS/Plex\ Media\ Scanner -l
the last is from [this forum post](http://forums.plexapp.com/index.php/topic/19303-command-line-for-plex-media-scanner/)
that might also give you what you want.
joesoes
February 20, 2011, 10:22am
3
Web interface? I have totally missed that. Can you please hint me in the right direction, the search function doesn't work so good :)
Is a static IP needed?
waw74
February 21, 2011, 6:33am
4
on the machine running PMS
http://localhost:32400/manage/index.html
http://localhost:32400/manage/index.html
you don't need a static IP, but it will help, so you don't have to figure out the IP every time you want to access
joesoes
February 21, 2011, 7:36pm
5
wow, this was so simple :) Now i can save it as an app and ad it in Plex. Thanks alot!
If some one come upp with an idea that works without an static IP, please let me know..
joesoes
February 21, 2011, 8:08pm
7
You could just use the library updater plugin
http://forums.plexapp.com/index.php/topic/21108-update-library-from-a-plug-in/page__view__getnewpost
Well... Thats just awesome!
Thank you :)
system
Closed
December 20, 2019, 8:58pm
8
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.