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

How do we pull album art and such? #81

Open
BradChase2011 opened this issue Sep 3, 2022 · 0 comments
Open

How do we pull album art and such? #81

BradChase2011 opened this issue Sep 3, 2022 · 0 comments

Comments

@BradChase2011
Copy link

BradChase2011 commented Sep 3, 2022

Sorry newbie here but I couldnt seem to find any examples or test cases to pull the album and thumbnail artwork down? Is there a simple http I am missing? For music, as of now I have the artist information pulled down with the Art property filled in, but cant seem how to display the image without some bytes or http address.

Thanks much! Btw it was really easy to setup the library and get it running quickly.

EDIT: The easiest way that I have found so far is to rebuild the Art property with an http uri combined with the X-Plex-Token at the end. I didnt know if there is a better way?

EDIT2: Side note, how do we get albums by an artist? I tried using the PlexLibraryClient.LibrarySearch(...) using no title and a filter request with Filter = "artist" and value of the Artist's Metadata.Title but it returns other artist's albums. Addition, I figured I can get them with using a filter on artist.id == Artist.RatingKey. Would the best practice to inherit our own PlexLibraryClient?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant