Track watch activity for scenes. (#3055)

* track watchtime and view time
* add view count sorting, added continue position filter
* display metrics in file info
* add toggle for tracking activity
* save activity every 10 seconds
* reset resume when video is nearly complete
* start from beginning when playing scene in queue

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
CJ
2022-11-20 19:55:15 -06:00
committed by GitHub
parent f39fa416a9
commit 0664c5b974
42 changed files with 1239 additions and 104 deletions

View File

@@ -59,12 +59,15 @@
}
}
.duration-input {
.duration-control {
.duration-input,
.percent-input {
.duration-control,
.percent-control {
min-width: 3rem;
}
.duration-button {
.duration-button,
.percent-button {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
line-height: 10px;
@@ -167,6 +170,20 @@ button.collapse-button.btn-primary:not(:disabled):not(.disabled):active {
text-decoration: none;
}
.progress-bar {
background-color: #73859f80;
bottom: 5px;
display: block;
height: 5px;
position: absolute;
width: 100%;
}
.progress-indicator {
background-color: #137cbd;
height: 5px;
}
.card-check {
left: 0.5rem;
margin-top: -12px;