Skip to content

Commit

Permalink
fix: dont mark unfinished shows as watched
Browse files Browse the repository at this point in the history
  • Loading branch information
lostb1t committed Jul 11, 2024
1 parent 9df6520 commit d0344b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Note: SSL is highly suggested, some clients default to not allowing insecure con

## Reverse proxy

If you have a reverse proxy running and dont want to proxy streaming through plex then you can route the following paths and it subpaths directly to plex.
There should be no need for this but if you have a reverse proxy running and dont want to proxy streaming through plex then you can route the following paths and it subpaths directly to plex.

- /video/:/transcode/universal/session
- /library/parts
Expand All @@ -138,6 +138,8 @@ If you have a reverse proxy running and dont want to proxy streaming through ple
If you have for example an appbox it might not be ideal to stream media through replex. As that will take a lot of network resources.
You can redirect streams by enabling `REPLEX_REDIRECT_STREAMS` and optionally set `REPLEX_REDIRECT_STREAMS_HOST` if it needs to be different from REPLEX_HOST

Note: Plex doesnt handle redirects wel, and will not remeber it. So every chuck of a stream will first hit replex and then gets redirected to actuall download that chuck from the redirect url. So a bit wastefull

## Known limitations

- hero rows on Android devices dont load more content. so hero rows have a maximum of 100 items on Android.
Expand Down
4 changes: 2 additions & 2 deletions src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ impl MetaData {
format!("collection:{}", collection_id),
)
.await?;
// dbg!(collection_details.media_container.library_section_id);

Ok(collection_details
.media_container
.children()
Expand All @@ -1340,7 +1340,7 @@ impl MetaData {
return true;
}
if self.viewed_leaf_count.is_some()
&& self.viewed_leaf_count.unwrap_or_default() > 0
&& self.leaf_count.unwrap_or_default() == self.viewed_leaf_count.unwrap()
{
return true;
}
Expand Down

0 comments on commit d0344b0

Please sign in to comment.