If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

[Beta-Release] PHP Library Presenter for PLEX [PLPP] (v0.9 beta)

24

Comments

  • mlocher75mlocher75 Posts: 53Members, Plex Pass Plex Pass

    I think I know why this happens.
    Will probably be fixed in the next release.

  • pikeupepikeupe Posts: 108Members, Plex Pass Plex Pass

    Hello

    ok strongly this new maj
    thank you for this work

  • m1e1w1m1e1w1 Posts: 363Members, Plex Pass Plex Pass

    Updated to beta 0.6, only issue i can still find:

    When checking a library to exclude, then saving settings; unchecking the selected library and saving reports successful, but does not change the library to unchecked state and will not allow the library to show in the front end.

    Everything else looks to be working 100% - Synology Web Station - apache 2.2, php 5.5.

    With windows, same issue listed above with behavior, otherwise working well. - xampp - apache 2.4, php 7.0.6.

    Synology DS1511+ 5x4TB + DX513 5x4TB + DX513 5x4TB (For content) + 4TB External (For PMS Library)

    Dedicated Win 10 64bit PMS - 16GB RAM - intel i7 3770K @ 4.2Ghz (PMS App)
    2 Roku 2 XS, 3 Roku 2 XD, 2 Roku 3, 4 Chromecast
    11 Android Devices, 5 IDevices
    Using browsers - Chrome, Safari, Firefox, Internet Explorer

    130mb Down / 4mb Up

  • mlocher75mlocher75 Posts: 53Members, Plex Pass Plex Pass

    When checking a library to exclude, then saving settings; unchecking the selected library and saving reports successful, but does not change the library to unchecked state and will not allow the library to show in the front end.

    This is really strange.
    Please check the file /config/libraries.json before and after you save the excluded libraries settings.
    Please report: did the "modified" time stamp of the file change? Did the content of the file change?

  • pevapeva Posts: 102Members, Plex Pass Plex Pass

    My images aren't loading with nginx and when i'm getting a 500 error, doesn't look like they are getting cached either, but all the info for the media items from plex are there and are all correct.

  • m1e1w1m1e1w1 Posts: 363Members, Plex Pass Plex Pass

    @peva
    I have yet to get nginx to work for anything. I can get everything working with apache no problem. and not just php library presenter, i mean any php web app. So, for me if you get the page to load is progress i can't even attain; congrats.

    Synology DS1511+ 5x4TB + DX513 5x4TB + DX513 5x4TB (For content) + 4TB External (For PMS Library)

    Dedicated Win 10 64bit PMS - 16GB RAM - intel i7 3770K @ 4.2Ghz (PMS App)
    2 Roku 2 XS, 3 Roku 2 XD, 2 Roku 3, 4 Chromecast
    11 Android Devices, 5 IDevices
    Using browsers - Chrome, Safari, Firefox, Internet Explorer

    130mb Down / 4mb Up

  • mlocher75mlocher75 Posts: 53Members, Plex Pass Plex Pass

    @peva said:
    My images aren't loading with nginx and when i'm getting a 500 error, doesn't look like they are getting cached either, but all the info for the media items from plex are there and are all correct.

    I have tested it on a Synology Diskstation with DMS v6.0 under both nginx and apache 2.2. Both worked perfectly. As m1e1w1 has posted above, maybe there is an issue with your nginx installation. Most probably your nginx installation is missing the GD extension for PHP which is required for image manipulation.

  • pevapeva Posts: 102Members, Plex Pass Plex Pass

    Installing php5-gd worked for me! Everything looks great now :D

    Thanks

  • mlocher75mlocher75 Posts: 53Members, Plex Pass Plex Pass

    PHP Library Presenter for PLEX has been updated to version 0.8 (beta).

    There are a lot of new features including support for music and photo/picture libraries.

    Download the file in the first post!

  • pikeupepikeupe Posts: 108Members, Plex Pass Plex Pass

    Hello
    Great work thank you very much
    by cons when I pass HTTPS no š'affiché image is the address http remains
    I think a problem with xampp he has missed something that works https
    an idea?

    thank you

  • mlocher75mlocher75 Posts: 53Members, Plex Pass Plex Pass

    @pikeupe

    Honestly I have some difficulties to understand your question. Looks like it went through google translator.
    If you speak German, French or Italian you can also ask your question in one of these languages.
    Although I can only write back in German or English, I can at least understand French and Italian.

  • pikeupepikeupe Posts: 108Members, Plex Pass Plex Pass

    bonjour
    oui je passe par un traducteur
    un grand merci pour ce travail
    par contre quand je passe en HTTPS aucune image š'affiche est l'adresse reste en http
    je pense à un problème avec xampp il doit manqué quelque chose pour que https fonctionne
    une idée?

  • mlocher75mlocher75 Posts: 53Members, Plex Pass Plex Pass

    Hi Pikeupe

    First: the address of the script in the browser window will not change to https. Only the connection between the script and the plex server will change to https but you will never see this connection.

    If you do not see the images after turning on https, it most probably is an issue with your xampp installation. To use https, PHP needs to have OpenSSL installed in order to establish a proper https connections. If OpenSSL is not installed, the Plex server refuses the https connection. For the meta data I have found a solution to overcome this problem, but the images are loaded differently. (That is why you see the movie titles, etc. but not the image although both are loaded via https connection if https is turned on)

    Just turn off https and stay with http. There is no big drawback on using http only. The only potential problem is that the token is transmitted uncoded and could potentially be intercepted if no https encryption is used.

  • NicholiNicholi Posts: 91Members, Plex Pass Plex Pass

    I am guessing there is no support for Plex Home because we have no way to enter pin info?

    I hit the settings page and json's were generated but no Libraries at all are listed. Nothing is showing up in error logs for webserver either. I am guessing it's because my Plex is in Home mode...but maybe it's something else?

    Anyone getting 500 errors you will likely also need php-xml installed (as well as php-gd), and likely php-curl. Just guessing though, as I'm not the dev here. A full list would be useful.

  • mlocher75mlocher75 Posts: 53Members, Plex Pass Plex Pass

    @Nicholi said:
    I am guessing there is no support for Plex Home because we have no way to enter pin info?

    Correct. It is not the intention of the script to support PLEX Home and it will never be supported. The main intention of the script is to just present the libraries of one PLEX server over the web in order for others to see what movies/TV shows/music albums you have in your libraries.

    I hit the settings page and json's were generated but no Libraries at all are listed. Nothing is showing up in error logs for webserver either. I am guessing it's because my Plex is in Home mode...but maybe it's something else?

    The script works regardless whether you are in Home mode or not (I am actually using the Home feature on my PLEX server too).
    If you do not see anything, the settings for the plex server are incorrect (you actually should get an error message but I just discovered that due to an error in the code, the message is not shown).
    Try turning on the "debug mode" (Settings -> User Settings -> Debug -> true) and click on "Show Debug Data" in the menu on the front page. It will first show the URLs which are used to connect to the PLEX server:
    $plexURL = Array ( [0] => https://XXXXXXXXXXXXXXXX:32400/library/sections?X-Plex-Token=YYYYYYYYYYYYYYYYY [1] => https://XXXXXXXXXXXXXXXX:32400/library/recentlyAdded?X-Plex-Token=YYYYYYYYYYYYYYYYY )

    Try to copy/past the first URL into a browser window and check the response from the server.

    Anyone getting 500 errors you will likely also need php-xml installed (as well as php-gd), and likely php-curl. Just guessing though, as I'm not the dev here. A full list would be useful.

    Curl, XML and GD are required. Maybe even more but I actually didn't care about PHP extension as I thought that nowadays a decent PHP installation would always include all available extensions anyway.

  • m1e1w1m1e1w1 Posts: 363Members, Plex Pass Plex Pass

    Tested beta 0.8 on synology apache 2.2 and php 5.5. everything is working.
    Tested on nginx, 500 error. normal for me though. nothing works for me on nginx.

    Synology DS1511+ 5x4TB + DX513 5x4TB + DX513 5x4TB (For content) + 4TB External (For PMS Library)

    Dedicated Win 10 64bit PMS - 16GB RAM - intel i7 3770K @ 4.2Ghz (PMS App)
    2 Roku 2 XS, 3 Roku 2 XD, 2 Roku 3, 4 Chromecast
    11 Android Devices, 5 IDevices
    Using browsers - Chrome, Safari, Firefox, Internet Explorer

    130mb Down / 4mb Up

  • pikeupepikeupe Posts: 108Members, Plex Pass Plex Pass
    edited June 2016

    bonjour

    hier tout allé bien et aujourd'hui il me dit "Error: No token received! Plex.tv not reachable or wrong credentials!"
    a rien comprendre

    edit:c'est bon le mot de passe ces modifié bizarre

  • NicholiNicholi Posts: 91Members, Plex Pass Plex Pass

    Not sure what happened, maybe I just hadn't restarted the services but all the Libraries started showing up and all is good :).

    Also I'm using plpp with nginx and php-fpm. Everything seems to be working.

  • mlocher75mlocher75 Posts: 53Members, Plex Pass Plex Pass
    edited June 2016

    @pikeupe said:

    edit:c'est bon le mot de passe ces modifié bizarre

    Please tell me if this happens again. I will investigate then.

    By the way, I have rewritten the function which loads the images. So in the next release (v0.9) it will hopefully work also in https mode if no OpenSSL is installed.

    @Nicholi
    I am glad that it is working now.
    Maybe the plex server was just to busy for some time to respond. It sometimes happens while indexing.

  • pikeupepikeupe Posts: 108Members, Plex Pass Plex Pass

    bonjour

    vivement cet V0.9 car toujours pas compris pour Openssl

    merci pour ce travail

Sign In or Register to comment.