Skip to content

Add support for Common Sense Media - #1553

Merged
JonnyWong16 merged 6 commits into
pushingkarmaorg:masterfrom
JonnyWong16:feature/commonsensemedia
Nov 3, 2025
Merged

Add support for Common Sense Media#1553
JonnyWong16 merged 6 commits into
pushingkarmaorg:masterfrom
JonnyWong16:feature/commonsensemedia

Conversation

@JonnyWong16

@JonnyWong16JonnyWong16 commented Sep 17, 2025

Copy link
Copy Markdown
Collaborator

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
JonnyWong16force-pushed the feature/commonsensemedia branch 2 times, most recently from 7bac9ea to 28a848bCompareSeptember 18, 2025 18:49
@JonnyWong16
JonnyWong16force-pushed the feature/commonsensemedia branch from 28a848b to 1305cb6CompareOctober 22, 2025 05:08

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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.

FileDescription
plexapi/media.pyImplements new Common Sense Media data classes with full attribute definitions and reload functionality
plexapi/video.pyAdds commonSenseMedia property to Movie and Show classes; fixes minor documentation inconsistencies
plexapi/utils.pyRegisters new tag types for Common Sense Media support
tests/test_video.pyAdds 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.

Comment threadplexapi/media.py Outdated
Comment threadplexapi/media.py Outdated
JonnyWong16and 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:masterNov 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@JonnyWong16