pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix is watched precentage

Pas fedcb4d2 805cccf1

+9 -9
+3 -3
src/components/overlays/details/EpisodeCarousel.tsx
··· 169 169 100 170 170 : 0; 171 171 172 - // If watched (>80%), reset to 0%, otherwise set to 100% 173 - const isWatched = percentage > 80; 172 + // If watched (>90%), reset to 0%, otherwise set to 100% 173 + const isWatched = percentage > 90; 174 174 175 175 // Get the poster URL from the mediaPosterUrl prop 176 176 const posterUrl = mediaPosterUrl; ··· 372 372 : 0; 373 373 const isAired = hasAired(episode.air_date); 374 374 const isExpanded = expandedEpisodes[episode.id]; 375 - const isWatched = percentage > 98; 375 + const isWatched = percentage > 90; 376 376 377 377 return ( 378 378 <Link
+6 -6
src/components/player/atoms/Episodes.tsx
··· 213 213 100 214 214 : 0; 215 215 216 - // If watched (>80%), reset to 0%, otherwise set to 100% 217 - const isWatched = percentage > 80; 216 + // If watched (>90%), reset to 0%, otherwise set to 100% 217 + const isWatched = percentage > 90; 218 218 219 219 updateItem({ 220 220 meta: { ··· 350 350 351 351 const isAired = hasAired(ep.air_date); 352 352 const isActive = ep.id === meta?.episode?.tmdbId; 353 - const isWatched = percentage > 98; 353 + const isWatched = percentage > 90; 354 354 355 355 return ( 356 356 <div key={ep.id} ref={isActive ? activeEpisodeRef : null}> ··· 385 385 {episodeProgress && ( 386 386 <ProgressRing 387 387 className="h-[18px] w-[18px] text-white" 388 - percentage={percentage > 98 ? 100 : percentage} 388 + percentage={percentage} 389 389 /> 390 390 )} 391 391 </div> ··· 526 526 <div 527 527 className="h-full bg-progress-filled" 528 528 style={{ 529 - width: `${percentage > 98 ? 100 : percentage}%`, 529 + width: `${percentage}%`, 530 530 }} 531 531 /> 532 532 </div> ··· 679 679 <div 680 680 className="h-full bg-progress-filled" 681 681 style={{ 682 - width: `${percentage > 98 ? 100 : percentage}%`, 682 + width: `${percentage}%`, 683 683 }} 684 684 /> 685 685 </div>