Skip to content

Commit 6edd211

Browse files
committed
fix: add token to images
1 parent 73240d6 commit 6edd211

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/transform.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,8 @@ impl Transform for MediaStyleTransform {
801801
.replace("plex://", "");
802802

803803
//let cover_art = item.get_hero_art(plex_client).await;
804-
let cover_art = Some(format!("/image/hero/{}/{}",
805-
//options.host.clone().unwrap(),
804+
let cover_art = Some(format!("http://{}/image/hero/{}/{}",
805+
options.host.clone().unwrap(),
806806
guid,
807807
options.token.clone().unwrap()
808808
));

0 commit comments

Comments
 (0)