Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
lostb1t committed Jul 11, 2024
1 parent dcef698 commit 9117dc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Remix your plex recommendations.
- Auto load artwork for hero styles.
- Disable user state: remove unplayed badges from row items.
- Disable leaf count: remove episode count from artwork.
- Hot cache: auto refreshed cache for home and library recommended.
- Force maximum quality.
- Auto select version based on resolution of the client.
- Fallback to different version if selected version is video transcoding.
Expand Down Expand Up @@ -87,8 +86,6 @@ Settings are set via [environment variables](https://kinsta.com/knowledgebase/wh
| REPLEX_REDIRECT_STREAMS | false | Redirect streams to another endpoint. |
| REPLEX_REDIRECT_STREAMS_HOST | REPLEX_HOST | Alternative streams endpoint |
| REPLEX_CACHE_TTL | 1800 | Time to live for caches in seconds. Set to 0 to disable (not recommended). |
| REPLEX_CACHE_ROWS | true | Cache rows |
| REPLEX_CACHE_ROWS_REFRESH | true | Auto refresh cached rows |
## Mixed rows
Expand Down
9 changes: 5 additions & 4 deletions src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,11 @@ pub async fn hero_image(
res.status_code(StatusCode::NOT_FOUND);
return
}
let uri = url.unwrap().parse::<http::Uri>().unwrap();;
req.set_uri(uri);
let proxy = proxy("https://metadata-static.plex.tv".to_string());
proxy.handle(req, depot, res, ctrl).await;
// let uri = url.unwrap().parse::<http::Uri>().unwrap();;
// req.set_uri(uri);
// let proxy = proxy("https://metadata-static.plex.tv".to_string());
// proxy.handle(req, depot, res, ctrl).await;
res.render(Redirect::found(url.unwrap()));
}

// if directplay fails we remove it.
Expand Down

0 comments on commit 9117dc6

Please sign in to comment.