Server resized thumb and art

Hi,



I am working on a Plex client and I was wondering if it is possible to get PMS to send back the Thumb and Art images resized at the server? If I just browse to the URI of the art, I will usually get a high resolution image which is about 500kb. This seems like a waste of bandwidth (especially over metered cellular) when I really only need a small thumbnail.



Perhaps HTTP header properties or something I can stick on the end of the URI?



Cheers,

Clint

yup



http://url:32400/photo/:/transcode?width=<width px>&height=<height px>&url=<url of the photo safe encoded>



so like


http://127.0.0.1:32400/photo/:/transcode?url=http%3A%2F%2F127.0.0.1%3A32400%2Flibrary%2Fmetadata%2F4110%2Fthumb%3Ft%3D1321930768&width=148&height=156



hope that helps

Fantastic!



That was exactly what I wanted. Any chance this is documented some where? Either I can’t find it or I missed it. Otherwise I may be in here often asking how to do things :slight_smile:



Cheers,

Clint

best source of info… check the log files:)



That has been one of my problems. I haven't figured out where it is. I am running the Windows PMS and in the folder there are a log.txt and a log.real.txt which don't ever change. Plus they don't have the information that I am looking for. There is a 'http://.../log' on the PMS service but if I try to open it with my browser I get a '400' error so I may be missing some parameters.

Cheers,
Clint

Found it. Though I am curious what the http://…/logs usage is.



For anyone else wondering where the log is on Windows; you will find it in



%USERS%<user>\AppData\Local\Plex Media Server\Logs



Cheers,

Clint

The /log endpoint is to allow clients to write to the media server’s log file, not for reading from it :slight_smile:



OK, thanks.


I have another question. Is it pretty certain that the Plex Media Server port will always be 32400? ie. Can the user pick a different port? If so how does one figure out what the port is when accessing it via the myPlex API? The address that is published via that mechanism is the external address and the external port. In my case it is 32400 on my lan but something else externally.

Cheers,
Clint

No, the media server will always be on port 32400 - there’s no way for the user to change this. Servers accessed from myPlex may have different ports mapped, but you’ll be able to get that information from the web service :slight_smile:

Great … Best Source … :slight_smile: thnks .

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.