Skip to content

Commit d0344b0

Browse files
committed
fix: dont mark unfinished shows as watched
1 parent 9df6520 commit d0344b0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Note: SSL is highly suggested, some clients default to not allowing insecure con
128128

129129
## Reverse proxy
130130

131-
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.
131+
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.
132132

133133
- /video/:/transcode/universal/session
134134
- /library/parts
@@ -138,6 +138,8 @@ If you have a reverse proxy running and dont want to proxy streaming through ple
138138
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.
139139
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
140140

141+
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
142+
141143
## Known limitations
142144

143145
- hero rows on Android devices dont load more content. so hero rows have a maximum of 100 items on Android.

src/models.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ impl MetaData {
13251325
format!("collection:{}", collection_id),
13261326
)
13271327
.await?;
1328-
// dbg!(collection_details.media_container.library_section_id);
1328+
13291329
Ok(collection_details
13301330
.media_container
13311331
.children()
@@ -1340,7 +1340,7 @@ impl MetaData {
13401340
return true;
13411341
}
13421342
if self.viewed_leaf_count.is_some()
1343-
&& self.viewed_leaf_count.unwrap_or_default() > 0
1343+
&& self.leaf_count.unwrap_or_default() == self.viewed_leaf_count.unwrap()
13441344
{
13451345
return true;
13461346
}

0 commit comments

Comments
 (0)