Editing
PlexWatch
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Install=== 1) sudo wget -P /opt/plexWatch/ https://raw.github.com/ljunkie/plexWatch/master/plexWatch.pl 2) sudo chmod 755 /opt/plexWatch/plexWatch.pl 3) sudo nano /opt/plexWatch/plexWatch.pl ''Modify Variables as needed'': <source lang=perl> $server = 'localhost'; ## IP of PMS - or localhost $port = 32400; ## port of PMS $notify_started = 1; ## notify when a stream is started (first play) $notify_stopped = 1; ## notify when a stream is stopped </source> <source lang=perl> ## Give a user a more friendly name. I.E. REAL_USER will now be Frank ## OPTIONAL my $user_display = {'REAL_USER1' => 'Frank', 'REAL_USER2' => 'Carrie', }; </source> <source lang=text> $notify = {... * to enable a provider, i.e. file, prowl, pushover set 'enabled' => 1, under selected provider * Prowl: required you fill in 'apikey' * PushOver: required to fill in 'token' and 'user' </source> 4) Install Perl requirements * '''Debian/Ubuntu''' - apt-get <source> sudo apt-get install libwww-perl sudo apt-get install libwww-curl-perl sudo apt-get install libxml-simple-perl sudo apt-get install libtime-duration-perl sudo apt-get install libtime-modules-perl sudo apt-get install libdbd-sqlite3-perl sudo apt-get install perl-doc </source> * '''RHEL/Centos''' - yum <source> yum -y install perl\(LWP::UserAgent\) perl\(WWW::Curl::Easy\) perl\(XML::Simple\) \ perl\(DBI\) perl\(Time::Duration\) perl\(Time::ParseDate\) </source> 5) **run** the script manually to verify it works: /opt/plexWatch/plexWatch.pl * start video(s) * /opt/plexWatch/plexWatch.pl * stop video(s) * /opt/plexWatch/plexWatch.pl 6) setup cron - /etc/crontab <source> * * * * * root cd /opt/plexWatch && /opt/plexWatch/plexWatch.pl </source>
Summary:
Please note that all contributions to RARForge may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RARForge:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Home
All Pages
All Files
View Categories
Recent changes
Random page
Edit this menu
Tools
What links here
Related changes
Special pages
Page information