Skip to content

Conversation

@JonnyWong16
Copy link
Collaborator

@JonnyWong16 JonnyWong16 commented Sep 17, 2025

Description

Add support for Common Sense Media

Ref.: https://forums.plex.tv/t/age-appropriate-ratings-from-commonsensemedia-org/97954/52
Ref.: https://support.plex.tv/articles/common-sense-media/

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the docstring for new or existing methods
  • I have added tests when applicable

@JonnyWong16 JonnyWong16 force-pushed the feature/commonsensemedia branch 2 times, most recently from 7bac9ea to 28a848b Compare September 18, 2025 18:49
@JonnyWong16 JonnyWong16 force-pushed the feature/commonsensemedia branch from 28a848b to 1305cb6 Compare October 22, 2025 05:08
@JonnyWong16 JonnyWong16 requested a review from Copilot October 22, 2025 05:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Common Sense Media ratings and information to the PlexAPI library, allowing users to retrieve age ratings, parental advisories, and talking points for movies and TV shows.

Key changes:

  • Added CommonSenseMedia, AgeRating, TalkingPoint, and ParentalAdvisoryTopic classes to represent Common Sense Media data
  • Integrated Common Sense Media properties into Movie and Show classes
  • Added comprehensive test coverage for the new functionality

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
plexapi/media.py Implements new Common Sense Media data classes with full attribute definitions and reload functionality
plexapi/video.py Adds commonSenseMedia property to Movie and Show classes; fixes minor documentation inconsistencies
plexapi/utils.py Registers new tag types for Common Sense Media support
tests/test_video.py Adds test cases for Common Sense Media functionality, both basic and full data retrieval

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

JonnyWong16 and others added 2 commits October 21, 2025 22:52
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@JonnyWong16 JonnyWong16 merged commit 659b549 into pushingkarmaorg:master Nov 3, 2025
5 checks passed
@JonnyWong16 JonnyWong16 deleted the feature/commonsensemedia branch November 16, 2025 08:29
JonnyWong16 added a commit to JonnyWong16/python-plexapi that referenced this pull request Nov 18, 2025
* Add support for Common Sense Media

* Update tag types

* Add tests for Common Senses Media

* Single commonSenseMedia object

* Fix docstring example indent

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix Common Sense Media reload docstring

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant