Fix movie audio profile test by JonnyWong16 · Pull Request #1579 · pushingkarmaorg/python-plexapi

Conversation

@JonnyWong16

Description

Fix movie audio profile test.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

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

Copilot AI review requested due to automatic review settings

January 30, 2026 19:01

Choose a reason for hiding this comment

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

Pull request overview

Relaxes the movie audio stream profile assertion to accommodate Plex server responses where the audio stream profile attribute may be missing.

Changes:

  • Updated test_video_Movie_attrs to accept audio.profile as either "lc" or None.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Labels

2 participants

@JonnyWong16