Commit 2388c05 1 parent e07f484 commit 2388c05 Copy full SHA for 2388c05
File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,17 @@ impl Transform for MediaStyleTransform {
43
43
}
44
44
guid = guid. replace ( "plex://" , "" ) ;
45
45
46
- let cover_art = Some ( format ! ( "/replex/image/hero/{}.jpg " ,
46
+ // let cover_art = Some(format!("/replex/image/hero/{}/{} ",
47
47
// let cover_art = Some(format!("/replex/image/hero/{}?X-Plex-Token={}",
48
- // match options.forwarded_proto {
49
- // Some(v) => v,
50
- // None => "http".to_string()
51
- // },
52
- // match options.forwarded_host {
53
- // Some(v) => v,
54
- // None => options.host.clone().unwrap()
55
- // },
56
- // options.host.clone().unwrap(),
48
+ let cover_art = Some ( format ! ( "{}://{}/replex/image/hero/{}.jpg" ,
49
+ match options . forwarded_proto {
50
+ Some ( v ) => v ,
51
+ None => "http" . to_string ( )
52
+ } ,
53
+ match options . forwarded_host {
54
+ Some ( v ) => v ,
55
+ None => options . host . clone ( ) . unwrap ( )
56
+ } ,
57
57
guid,
58
58
// options.token.clone().unwrap()
59
59
) ) ;
You can’t perform that action at this time.
0 commit comments