Skip to content

How do we pull album art and such? #81

@BradChase2011

Description

@BradChase2011

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions