Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Themes Support #879

Merged
merged 7 commits into from
Feb 27, 2022
Merged

Add Themes Support #879

merged 7 commits into from
Feb 27, 2022

Conversation

ReenigneArcher
Copy link
Contributor

Description

Please include a summary of the change and which issue is fixed.

  • Closely replicates Poster Mixins for Themes
    • list themes
    • upload theme
    • set theme
    • get theme url with token
  • Add Theme attribute for movies in video.py
  • Fixes typo in PosterUrlMixin class (grandparentThumb)
  • Replaces Add ability to upload theme music #658

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • 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

@ReenigneArcher
Copy link
Contributor Author

Again, I understand if you don't want to merge this due to not being able to easily delete the Themes. Either way, this is a cleaner version of #658 .

@JonnyWong16
Copy link
Collaborator

Can you separate this into a new bugfix PR?

  • Fixes typo in PosterUrlMixin class (grandparentThumb)

Copy link
Collaborator

@JonnyWong16 JonnyWong16 left a comment

Choose a reason for hiding this comment

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

Collection can also have ThemeMixin.

plexapi/video.py Outdated Show resolved Hide resolved
plexapi/video.py Outdated Show resolved Hide resolved
plexapi/audio.py Outdated Show resolved Hide resolved
plexapi/audio.py Outdated Show resolved Hide resolved
plexapi/audio.py Outdated Show resolved Hide resolved
plexapi/mixins.py Outdated Show resolved Hide resolved
plexapi/media.py Outdated Show resolved Hide resolved
@ReenigneArcher
Copy link
Contributor Author

Can you separate this into a new bugfix PR?

* Fixes typo in PosterUrlMixin class (`grandparentThumb`)

Do I also need to revert that change in this branch?

@JonnyWong16
Copy link
Collaborator

Do I also need to revert that change in this branch?

No, leave it for now and rebase after #880.

plexapi/media.py Outdated Show resolved Hide resolved
plexapi/media.py Outdated Show resolved Hide resolved
@JonnyWong16 JonnyWong16 merged commit 9a5170c into pkkid:master Feb 27, 2022
@JonnyWong16 JonnyWong16 mentioned this pull request Feb 27, 2022
9 tasks
@ReenigneArcher ReenigneArcher deleted the themes branch January 19, 2023 20:13
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.

2 participants