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