Skip to content

deepwather/plexWatchWeb-2.0

Repository files navigation

plexWatchWeb-2.1

This is my development of the original plexWatchWeb from "https://github.com/ecleese/plexWatchWeb".

A new web front-end for plexWatch.

###Support

###NEW Features

  • A beautiful Login-Page is now included. The defauld passwort is: plexwatch (All php-Files are protectet!)

    • There is as well new a logout butten integradet in the main-menu
    • You can change the default PW by editing the "login.php" file
  • A very exciting new function, is the "System Info" tab. With it you have now the opportunity to monitor your server

  • You can monitor the server in the following ways:

  • General info like: os-type, uptime, server-time & hostname

  • Internet speed (Up/Down) & available bandwich

  • Load average CPU & numbers of prozessor cores and ram consumption

  • Network statistics, number of connections & IP-adresses

  • Disk usage (all partitions) size, used, avail. & the mountpoint

  • Displays all users on the system & their userhome path

  • Displays all running processes and details like: ->> "user, PID, CPU-load, used-mem, VSZ, RSS, TTY & STAT"

  • Aditionally you can activate ->> last login, who is online, swap usage & installed software (may not working)

  • A SQL-editor is as well new found in the top-Menu. With it you can easily delete incorrect DB informations.

###Regular Features

  • Responsive web design viewable on desktop, tablet and mobile web browsers

  • Themed to complement Plex/Web

  • Easy configuration setup via html form

  • Plex Media Server section counts / Total user count

  • Current Plex Media Server viewing activity including:

    • number of current users
    • title
    • progress
    • platform
    • user
    • state (playing, paused, buffering, etc)
    • stream type (direct, transcoded)
    • video type & resolution
    • audio type & channel count.
  • Recently added media and how long ago it was added

  • Global watching history charts (hourly, max hourly, daily, monthly)

  • Global watching history with search/filtering & dynamic column sorting

    • date
    • user
    • platform
    • ip address (if enabled in plexWatch)
    • title
    • stream information details
    • start time
    • paused duration length
    • stop time
    • duration length
    • percentage completed
  • full user list with general information and comparison stats

  • individual user information

    • username and gravatar (if available)
    • daily, weekly, monthly, all time stats for play count and duration length
    • individual platform stats for each user
    • public ip address history with last seen date and geo tag location
    • recently watched content
    • watching history
  • charts

    • top 10 all time viewed content
    • top 10 viewed movies
    • top 10 viewed tv shows
    • top 10 viewed tv episodes
  • content information pages

    • movies (includes watching history)
    • tv shows (includes top 10 watched episodes)
    • tv seasons
    • tv episodes (includes watching history)

###Requirements

  • Plex Media Server (v0.9.10+) and a PlexPass membership
  • plexWatch (v0.3.2+)
  • a web server that supports php (apache, nginx, XAMPP, WampServer, EasyPHP, lighttpd, etc)
  • php5
  • php5-sqlite
  • php5-curl
  • php5-json

Install PlexWatch 2.0 on Ubuntu


  1. Read Install requirements
  2. Install the following packages:
  • apt-get install libwww-perl libxml-simple-perl libtime-duration-perl libtime-modules-perl libdbd-sqlite3-perl perl-doc libjson-perl
  • apt-get install php5 php5-sqlite php5-curl php5-json
  • apt-get install libfile-readbackwards-perl (For enable IP logging)
  1. Download and unzip the plexWatchWeb 2.0 package.
  2. Upload the contents to the desired location on your web server "/var/www/html/plexwatch"
  3. Check the permission! On Ubuntu the Owner of the web-files must be "www-data". (chown www-data:www-data FOLDER)

Check if you already installed PlexWatch.pl! Without it, it won't work!

For Install execute the following!

  1. wget -P /opt/plexWatch/ https://raw.github.com/ljunkie/plexWatch/master/plexWatch.pl
  2. wget -P /opt/plexWatch/ https://raw.github.com/ljunkie/plexWatch/master/config.pl-dist
  3. sudo chmod 777 /opt/plexWatch && sudo chmod 755 /opt/plexWatch/plexWatch.pl
  4. cp /opt/plexWatch/config.pl-dist /opt/plexWatch/config.pl

###Use

Navigate to: http://ip-of-web-server/plexwatch