[PR #1211] [MERGED] Fix startedAt in progress API #3484

Closed
opened 2026-04-25 00:15:50 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/1211
Author: @lkiesow
Created: 11/24/2022
Status: Merged
Merged: 11/24/2022
Merged by: @advplyr

Base: masterHead: started-at


📝 Commits (1)

  • 45434b1 Fix startedAt in progress API

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 server/objects/user/MediaProgress.js (+1 -1)

📄 Description

If no progress had been set before, setting startedAt did not work and it would always been set to finishedAt or Date.now(). Settings this if any progress had already been recorded did work.

This fixes the problem so that setting startedAt it properly works in both cases.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/1211 **Author:** [@lkiesow](https://github.com/lkiesow) **Created:** 11/24/2022 **Status:** ✅ Merged **Merged:** 11/24/2022 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `started-at` --- ### 📝 Commits (1) - [`45434b1`](https://github.com/advplyr/audiobookshelf/commit/45434b16e03d43eda5ca88ebd946677aef71af2f) Fix startedAt in progress API ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/objects/user/MediaProgress.js` (+1 -1) </details> ### 📄 Description If no progress had been set before, setting `startedAt` did not work and it would always been set to `finishedAt` or `Date.now()`. Settings this if any progress had already been recorded did work. This fixes the problem so that setting `startedAt` it properly works in both cases. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:15:50 +02:00
adam closed this issue 2026-04-25 00:15:50 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3484