v0.1.54
Added
-
Watch state. The guide grid now dims and ticks programmes you've already seen, fed by whatever player you point at it. tvdinner 1.38+ reports this with
--report-watch-state; a newPOST /api/exports/watch-eventsaccepts it behind the export token you already have. (#127, #128)What a player sends is plain start/stop intervals — never "programme X was watched". tvtimes works out which programmes those cover by overlapping them against its own guide, so re-ingesting the EPG, or correcting a channel's clock offset, updates the answer with nothing re-reported and nothing left dangling. A programme counts as watched once half of it — or 30 minutes, whichever is less — is covered, so flicking past doesn't count and half a three-hour film isn't demanded.
--device-namelabels the reporting box, so a household with two players can tell them apart.
Worth knowing
This is the only write the export token permits, and it stays narrow: it can append viewing intervals for channels already on your account and nothing else. The worst a leaked token could do here is pollute your own watched badges — that token already exposes the whole line-up and streams through it. Leave --report-watch-state off and nothing is ever written.
Migration
One new table (watch_event), applied automatically on start. No configuration.
Images
issinoho1969/tvtimes:0.1.54 · :latest (+ ghcr.io/issinoho/tvtimes), linux/amd64 + linux/arm64.