Skip to content

Commit e07f484

Browse files
committed
fix: hero images for web
1 parent 2467d43 commit e07f484

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/transform/media_style.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ impl Transform for MediaStyleTransform {
4343
}
4444
guid = guid.replace("plex://", "");
4545

46-
// let cover_art = Some(format!("/replex/image/hero/{}/{}",
47-
let cover_art = Some(format!("/replex/image/hero/{}.jpg?X-Plex-Token={}",
46+
let cover_art = Some(format!("/replex/image/hero/{}.jpg",
47+
// let cover_art = Some(format!("/replex/image/hero/{}?X-Plex-Token={}",
4848
// match options.forwarded_proto {
4949
// Some(v) => v,
5050
// None => "http".to_string()
@@ -55,7 +55,7 @@ impl Transform for MediaStyleTransform {
5555
// },
5656
// options.host.clone().unwrap(),
5757
guid,
58-
options.token.clone().unwrap()
58+
// options.token.clone().unwrap()
5959
));
6060
//dbg!(&cover_art);
6161
if cover_art.is_some() {

0 commit comments

Comments
 (0)