SchizoDuckie / DuckieTV

A web application built with AngularJS to track your favorite tv-shows with semi-automagic torrent integration
http://schizoduckie.github.io/DuckieTV/
Other
1.12k stars 277 forks source link

Preserve watched timestamp from Trakt.TV during import #1398

Closed geekman closed 10 months ago

geekman commented 10 months ago

Currently epi.markWatched always uses the current date, so as a result, when Trakt.TV syncs, all of the watched-at date will be wrong (i.e. the time of import). This patch makes markWatched accept a date to set, and uses the last_watched_at field from Trakt.TV during import to fill this in, thereby preserving the watched-at date.

Some background: I was using Trakt to add shows watched at the "release date" and I hoped to pull that info back into DuckieTV to "correct" some of the dates, but I noticed that now all the dates were wrong.

garfield69 commented 10 months ago

Nice.

garfield69 commented 10 months ago

https://github.com/DuckieTV/Nightlies/releases/tag/nightly-202308131147