Skip to content

fix: solves divide by zero bug in save_progress#258

Draft
MarcusVH98 wants to merge 1 commit intojustchokingaround:mainfrom
MarcusVH98:fix/total-duration
Draft

fix: solves divide by zero bug in save_progress#258
MarcusVH98 wants to merge 1 commit intojustchokingaround:mainfrom
MarcusVH98:fix/total-duration

Conversation

@MarcusVH98
Copy link
Contributor

@MarcusVH98 MarcusVH98 commented Jun 2, 2025

Gets total_duration from the existing mpv IPC socket instead of from external domain which currently gives Error code: [SEC_ERROR_EXPIRED_CERTIFICATE]

TODO:

  • Fix: Breaks for platforms that doesn't support UNIX-sockets for the IPC.

Closes #257

@MarcusVH98 MarcusVH98 changed the title replaces curl with mpv ipc call for getting total_duration fix: solves divide by zero bug in save_progress Jun 2, 2025
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.

History issue

1 participant

Comments