Allow getting a client by machine identifier by JonnyWong16 · Pull Request #1418 · pushingkarmaorg/python-plexapi

Description

Allow getting a client by machine identifier.

client = plex.client("<client-name>")
client = plex.client("<client-machine-identifier>")

Closes #1414

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