[DISCONTINUED][REL] PHP - webDash v2.5 - Plex Media Server Landing Page[UPDATED]
Hello, not so long ago I started working on PlexDash , which eventually became PlexDash v1.7.
Now, I have discontinued the development and rewrote the code.
Recent Movies(no need for third party software like PlexPY)
Image and Information caching through SQL(to speed up loading process and get rid of server load)
Dynamic content(users can add their own nav items and edit pages)
One config file(unlike the other version)
Plex Media Server
PHP & MySQL
-upload the contents of plex_dash to your web folder
-chmod 777 /images
-rename config.php_new to config.php and open it
$servername = "YOURSERVER";
//ad content password
$rpassword = "sample"; //used fo add_content.php
$host_s = '192.168.0.18'; //plex server - used for status script
$port = 32400; // port used for status script
$host = "SERVER+PORT"; //host+port - used for grabbing data off plex -
$token = "TOKENHERE"; //Plex Token - no need to explain what this is
$section_movies = "2"; // section id for movies
$section_music = "1";//section id for music
$server = "localhost"; //mysql server
$username = "user"; //mysql user
$password = "pass"; //mysql pass
$dbname = "yourdb"; //mysql db
-open up phpmyadmin or whatever you use for your sql server and run
open up add_content.php and use $rpassword,then click proceed
voila, you are done
It is still a work in progress, but let me know what more features would you like.
Changelog: Restyled recent_shows.php - some might like it , some might not.
Restyled get_recently_added.php and added icons for media type.
Added IMDB Rating and Year Support for tv shows
Installation: No configuration required - just drop all files in the /inc folder and hit REPLACE ALL. That's it!
Changelog: Added support for querying the show title.Displaying not only episode information , but show information as well.
THIS IS A SIMPLE UPDATE: JUST DROP the two files - recent_shows.php and show_info.php in the inc folder.No need for reconfiguring anything
TV Show Information:
Added ability to display recent TV Shows and Episodes
Added show_info.php script , to grab episode info and summary.
Added ability to disable sections : Most Recent Content, Latest 5 Movies, Latest TV Shows & Episodes from dash_config.php(Set to TRUE for displaying or FALSE for disabling a specific section)
FOR THIS UPDATE YOU MUST reconfigure config.php and dash_config.php, the rest stays the same
And for the folks who want to use the TV SHOWS feature, grab a TVDB api. If you don't want the feature, you won;t have to.
Installation steps are the same , just reconfigure variables in config.php and dash_config.php
If you have this already installed just replace everything but the plex_db folder,otherwise you will have to configure plex_db as well, which I do not see a point in doing , since nothing is changed there.
Changelog: Added youtube trailer support for recent_movies
Rewrote dash_config.php file for better handling of the configuration. No more issues with the server status.
If you just want to update, extract the files somewhere, set the variables in inc/dash_config.php and then copy them to plex_dash.
PS: If you didn't grab the previous updates, you gonna have to grab the whole plexdash_v1.4.zip file.
Screenshot: Trailer Support
Changelog: Fixed Posters not showing if movies haven't been added lately. - recent_movies.php
Changing the count value may have solved the problem .but it creates a lot of load since it was requesting for an array of epic proportions. Now, I only queries the recently added movies by using section_id parameter.
You gonna have to find yours. Simple, go to plex, select a movie, view info, view xml and search for ""librarySectionID".
Open inc/config.php set the $section_id_movies to your library section id value.
example: librarySectionID="2" . this is how it should look like.
PS: If you downloaded the previous version(1.2), nothing is really changed. Simply download update_plexdash1.3.zip and extract it to the plex_dash folder. don't forget to set your plexpy url and api back in the new config.php file.
Changelog: Revamped the stylesheet. White tables on dark backgrounds can tire the eyes
Rearanged the server status and now it;s on the top of the page, not on the bottom.
Added a small copyright line at the bottom of the page.
For thoes who already installed plex_dash. Just reedit the config.php file from /inc/ and also reedit index.php check_Server() function to match your server
For thoes who are new to this, instructions on how to install are bellow.
Hello. A while ago I was searching for a perfect plex landing page. I hardly found one ,but it was plain HTML so I decided to improve it. And I added scripts from users and even wrote three of my own and now I have decided to release it to the public.
This work is based on:
PlexRedirect : https://github.com/ITRav4/PlexRedirect
PLPP - Plex Library Presenter https://forums.plex.tv/discussion/218740/beta-release-php-library-presenter-for-plex-plpp-v0-8-beta
PlexPY (mostly the API): https://github.com/drzoidberg33/plexpy
PlexFeed v1.4 forums.plex.tv/discussion/221995/rel-plexfeed-whats-most-recent-php-script-v1-4#latest
-webserver to run php
-plexpy - https://github.com/drzoidberg33/plexpy
-phpgd and curl enabled on your PHP.ini
Grab PlexPY and install it(link above)
chmod 777 /inc
chmod 777 /plex_db/config
chmod 777 /plex_db/cache
grab a plexpy api . Go to Settings > Access Control > check "enable API" and click "Generate". Copy The API to clipboard.
grab a tvdb api
open the following :
inc/config.php and provide the info
$apikey = "YOUR_PLEXPY_API_KEY";
$plexpy_url = "YOUR_PLEX_PY_URL"; //you may use ports as well ex: 192.168.1.33:8181 or whatever port you have it running on
$section_id_movies = ""; //section id. open up a movie in plex>get info>view xml find librarySectionID
$section_id_shows = "2"; //plex section id for tv shows may be 184.108.40.206.5.6 tec
$tvdb_api = "TV DB API";
inc/dash_config.php and provide the info
$servername = "[SERVERNAME]"; // server title
$home_www_addr = "http:/SERVER.COM"; //your domain name without "/"
$server_address = "http://plex.SERVERNAME.COM/"; //plex server address
$plex_requests_addr = "http://pr.SERVERNAME.COM"; // plex requests adress , youj may use ports as well
$plex_recently_addr_movies = "$home_www_addr/plex_dash/plex_db/index.php?item=1&type=library&filter=recentlyAdded";
$plex_recently_addr_music = "$home_www_addr/plex_dash/plex_db/index.php?item=3&type=library&filter=recentlyAdded";
$plexpy_addr = "http://plexpy.servername.com"; //plexpy adress , you mayh use ports as well
$plexdb_addr = "$home_www_addr/plex_dash/plex_db/"; //dont change this
$plex_description = "Over 500 movies, 20 TV Shows and plenty of music(147 artists).";
$user_mail = "email@example.com"; //your mail
$server_ip = "'192.168.1.58'"; //example: "'plex.servername.com'" or "'192.168.2.554'"
//if plex is mapped to a specific domain ,user port 80
//if not, just specify your port set up for external access
$server_port = "32400"; //default plex port: 32400
//enable recent movies? - 5 Recent Movies
//SET TO TRUE OR FALSE
$enable_movies = TRUE;
//enable recent tv shows? - 5 Recent TV Shows
//SET TO TRUE OR FALSE
$enable_tvshows = TRUE;
//enable recently added? - Most Recent Content
//SET TO TRUE OR FALSE
$enable_added = TRUE;
plex_db/config/usersettings.json and provide info
"title": "[servername] - Media Library", //replace [servernname] with your servername
"admin_password": "yourpasswordhere", //just pick a password or leave it this way. in case you decide to edit the password,it will be required by plex_db/settings_deny.php. just in case you are too lazy to manually edit settings yourself
plex_db/config/plexserver.json and provide info
"server": "SERVERIP", //plex server IP
"domain": "SERVERIP",// plex server ip OR domain
"port": 32400, //plex server port
"username": "plexuser", //plex.tv username
"password": "plexpass" //plex.tv password
plex_db/config/general.json and provide the info
"script_name": "[SERVERNAME] - Media Library", //replace  with your servername
that's it. enjoy!
Big kudos to :