Skip to content

Use get_image_url() for building media_image in media_item #124

Description

@antonk-dev

Currently if image not remotely accessible mass_queue#return_image_or_none don't try to resolve it url using proxy_id field.

Music assistant client have get_image_url API that could resolve image to MA image proxy path that will be accessible from same network.

Additional benefit - from first sight it supports resizing, so maybe using smaller size images for queue items could save some traffic / make things load even faster.

Some context: #42 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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