get_popular_content
Retrieve top-performing Plex media content based on plays or duration within a specified time range. Filter by media type and set limit for precise results.
Instructions
Get most popular content by plays or duration
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Number of items to return (default: 10) | |
mediaType | No | Filter by media type | all |
metric | No | Sort by plays or total duration | plays |
timeRange | No | Time range in days (default: 30) |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 10,
"description": "Number of items to return (default: 10)",
"type": "number"
},
"mediaType": {
"default": "all",
"description": "Filter by media type",
"enum": [
"movie",
"show",
"episode",
"all"
],
"type": "string"
},
"metric": {
"default": "plays",
"description": "Sort by plays or total duration",
"enum": [
"plays",
"duration"
],
"type": "string"
},
"timeRange": {
"default": 30,
"description": "Time range in days (default: 30)",
"type": "number"
}
},
"type": "object"
}