Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 15, 2026

Adds granular control over playback position tracking to address users who prefer manual seeking over resume prompts.

Changes

Settings Service

  • Added TrackLastPosition boolean setting (default: true)
  • Stored as "General/TrackLastPosition" in local settings

Position Tracking Logic

  • SeekBarViewModel.UpdateLastPosition() now checks TrackLastPosition before saving
  • SeekBarViewModel.RestoreLastPosition() early-returns when tracking disabled
  • When disabled: no positions saved, no resume prompts or auto-resume

UI Structure

Track last position (expander)
├── Always resume from last position (toggle)
└── Clear tracked position history (button)

The existing "Always resume from last position" setting is now a sub-option under the new expander, creating a logical hierarchy where the parent controls tracking and the child controls auto-resume behavior.

Data Management

  • Added LastPositionTracker.ClearAll() to wipe all tracked positions
  • SettingsPageViewModel.ClearLastPositionHistoryAsync() clears and persists immediately

Behavior

Track Enabled Auto-Resume Result
Off N/A No tracking, no prompts
On Off Tracks + shows resume prompt
On On Tracks + auto-resumes

Disabling tracking prevents both saving new positions and using existing ones, effectively silencing all resume functionality without deleting saved data.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • crl.godaddy.com
    • Triggering command: /usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/Screenbox/.codeql-scratch/dbs/csharp/working/F4FE9CD0811B4B5580B623F91E0A93F4/missingpackages_workingdir --packages /home/REDACTED/work/Screenbox/.codeql-scratch/dbs/csharp/working/missingpackages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal --configfile /home/REDACTED/work/Screenbox/.codeql-scratch/dbs/csharp/working/nugetconfig/nuget.config --force (dns block)
  • ocsp.godaddy.com
    • Triggering command: /usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/Screenbox/.codeql-scratch/dbs/csharp/working/F4FE9CD0811B4B5580B623F91E0A93F4/missingpackages_workingdir --packages /home/REDACTED/work/Screenbox/.codeql-scratch/dbs/csharp/working/missingpackages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal --configfile /home/REDACTED/work/Screenbox/.codeql-scratch/dbs/csharp/working/nugetconfig/nuget.config --force (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Option to disabled "Resume where you left off" prompt</issue_title>
<issue_description>Is your feature request related to a problem? Please describe.
I am personally not a fan of the prompt to "Resume where you left off" and often prefer to just manually make use of the timeline/SeekBar.

Describe the solution you'd like
Having a sub option to toggle Track last position and a sub option to Clear tracked/last position history below Always resume from last position would be pretty fancy.

Describe alternatives you've considered
N/A

Additional context
I understand this is a pedantic request; but, I wanted to throw the idea out there. I assume that not having the playback progress stored would result in the player acting like it does when a video is played for the first time, or is restarted after ending at 0:00 playback progress, thus effectively disabling the prompt.</issue_description>

<agent_instructions>Implement a "Track last position" toggle and a "Clear tracked position history" option.</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…ry option

Co-authored-by: huynhsontung <31434093+huynhsontung@users.noreply.github.com>
Copilot AI changed the title [WIP] Add option to disable 'Resume where you left off' prompt feat: Add track last position toggle and clear history option Jan 15, 2026
Copilot AI requested a review from huynhsontung January 15, 2026 22:35
@United600
Copy link
Collaborator

#700 is same idea, right?

@huynhsontung
Copy link
Owner

@United600 Oh my bad you are right. I didn't expect this to be in a privacy-related PR. Is there any blocker on #700?

@United600
Copy link
Collaborator

@United600 Oh my bad you are right. I didn't expect this to be in a privacy-related PR. Is there any blocker on #700?

The position list was highly unreliable, making testing painful. The main issue is clearing the cache, for some reason, it persists and (on app exit) regenerates the list after being cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to disabled "Resume where you left off" prompt

3 participants