GithubHelp home page GithubHelp logo

xrolfex / plex-movie-poster-display Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattsshack/plex-movie-poster-display

0.0 2.0 0.0 337 KB

Scraps the Plex sessions page to display the current playing movie or TV show poster on a screen.

Home Page: https://www.mattsshack.com

License: GNU General Public License v3.0

PHP 92.21% CSS 5.01% JavaScript 2.78%

plex-movie-poster-display's Introduction

Plex Movie Poster Display

Scraps the Plex sessions page to display the current playing movie or TV show poster on a screen.

Disclaimer – I am a network engineer not a programmer. I play around with code. I am publishing this to give back to the communities that has helped me learn. There may be better ways of scraping the Plex Posters, but this is the way I chose to do it. I am open to suggestions. Use at your own risk.

I decided to rewrite the program in PHP and make it browser based. This allows me to have the Raspberry Pi boot to the desktop, automatically start a browser in kiosk mode, and open the PHP site.

This script scraps http://IP_ADDRESS_OF_PLEX_SERVER>:32400/status/sessions for clients and displays the poster of the currently playing movie or TV show. If nothing is currently playing it will pull a random poster of an unwatched movie.

My Setup

Plex Media Server is running on a dedicated server. Plex Movie Poster Display is running on separate Raspberry Pi 3 connected to a screen via HDMI. On boot up the Pi launches Chromium in kiosk mode and loads the Plex Movie Poster Display URL.

Prerequisites

Features

  • Custom Text on top and bottom of posters.
  • Cache posters locally.
  • Custom Image
  • Web Frontend for configuration (ALPHA)

Installation

  • Copy all the files into the root of your web server.
  • Fix permission on cache folder (chmod 777 cache)
  • Fix permission on config.php file. (chmod 777 config.php)
  • Open the URL to your server in a browser and configure. http://SERVER_IP_ADDRESS/admin.php

Upgrading

  • Delete all files in the cache directory.
  • Check permissions on cache and config.php.

plex-movie-poster-display's People

Contributors

mangavalk avatar mattsshack avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.