Skip to content

Commit 9117dc6

Browse files
committed
fix: test
1 parent dcef698 commit 9117dc6

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Remix your plex recommendations.
1212
- Auto load artwork for hero styles.
1313
- Disable user state: remove unplayed badges from row items.
1414
- Disable leaf count: remove episode count from artwork.
15-
- Hot cache: auto refreshed cache for home and library recommended.
1615
- Force maximum quality.
1716
- Auto select version based on resolution of the client.
1817
- Fallback to different version if selected version is video transcoding.
@@ -87,8 +86,6 @@ Settings are set via [environment variables](https://kinsta.com/knowledgebase/wh
8786
| REPLEX_REDIRECT_STREAMS | false | Redirect streams to another endpoint. |
8887
| REPLEX_REDIRECT_STREAMS_HOST | REPLEX_HOST | Alternative streams endpoint |
8988
| REPLEX_CACHE_TTL | 1800 | Time to live for caches in seconds. Set to 0 to disable (not recommended). |
90-
| REPLEX_CACHE_ROWS | true | Cache rows |
91-
| REPLEX_CACHE_ROWS_REFRESH | true | Auto refresh cached rows |
9289
9390
## Mixed rows
9491

src/routes.rs

+5-4
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,11 @@ pub async fn hero_image(
399399
res.status_code(StatusCode::NOT_FOUND);
400400
return
401401
}
402-
let uri = url.unwrap().parse::<http::Uri>().unwrap();;
403-
req.set_uri(uri);
404-
let proxy = proxy("https://metadata-static.plex.tv".to_string());
405-
proxy.handle(req, depot, res, ctrl).await;
402+
// let uri = url.unwrap().parse::<http::Uri>().unwrap();;
403+
// req.set_uri(uri);
404+
// let proxy = proxy("https://metadata-static.plex.tv".to_string());
405+
// proxy.handle(req, depot, res, ctrl).await;
406+
res.render(Redirect::found(url.unwrap()));
406407
}
407408

408409
// if directplay fails we remove it.

0 commit comments

Comments
 (0)