Add pms_image_proxy to api
This commit is contained in:
22
API.md
22
API.md
@@ -772,7 +772,7 @@ Get the metadata for a media item.
|
||||
```
|
||||
Required parameters:
|
||||
rating_key (str): Rating key of the item
|
||||
media_info (bool): True or False wheter to get media info
|
||||
media_info (bool): True or False whether to get media info
|
||||
|
||||
Optional parameters:
|
||||
None
|
||||
@@ -1793,6 +1793,26 @@ Returns:
|
||||
```
|
||||
|
||||
|
||||
### pms_image_proxy
|
||||
Gets an image from the PMS and saves it to the image cache directory.
|
||||
|
||||
```
|
||||
Required parameters:
|
||||
img (str): /library/metadata/153037/thumb/1462175060
|
||||
or
|
||||
rating_key (str): 54321
|
||||
|
||||
Optional parameters:
|
||||
width (str): 150
|
||||
height (str): 255
|
||||
fallback (str): "poster", "cover", "art"
|
||||
refresh (bool): True or False whether to refresh the image cache
|
||||
|
||||
Returns:
|
||||
None
|
||||
```
|
||||
|
||||
|
||||
### refresh_libraries_list
|
||||
Refresh the PlexPy libraries list.
|
||||
|
||||
|
Reference in New Issue
Block a user