Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI]Playback/Timebar freezes at the start while playing any audio file #4051

Closed
1 task done
singh-jagjot opened this issue Nov 8, 2022 · 4 comments · Fixed by #4087
Closed
1 task done

[UI]Playback/Timebar freezes at the start while playing any audio file #4051

singh-jagjot opened this issue Nov 8, 2022 · 4 comments · Fixed by #4087

Comments

@singh-jagjot
Copy link

System and IINA version:

  • macOS 13
  • IINA 1.3.1 Build 133

Expected behavior:
Playback/Timebar should display the correct played time for audio files in audio player mode.

Actual behavior:
Playback/Timebar freezes at the start while playing any audio file in audio player mode, but the audio keeps playing as expected.


Steps to reproduce:
Just play any MP3/FLAC file in audio player mode.

  • MPV does not have this problem.

How often does this happen?
At Random

@singh-jagjot singh-jagjot changed the title Playback/Timebar freezes at the start while playing any audio file [UI]Playback/Timebar freezes at the start while playing any audio file Nov 8, 2022
@low-batt low-batt added the bug label Nov 8, 2022
@low-batt
Copy link
Contributor

low-batt commented Nov 8, 2022

I reproduced this same behavior when investigating issue #4049.

low-batt added a commit that referenced this issue Nov 21, 2022
This commit will:
- Change MainWindowController.hideUI to not stop the timer that
  synchronizes the UI if displaying the mini player
- Change PlayerCore.switchToMiniPlayer to ensure the timer is running
  if media is playing
@low-batt low-batt linked a pull request Nov 21, 2022 that will close this issue
2 tasks
@low-batt low-batt self-assigned this Nov 21, 2022
@birdjumper
Copy link

As a temporary workaround, I've noticed that stopping playback, then restarting coaxes the playback time to show correctly.

MikeWang000000 pushed a commit to MikeWang000000/iina that referenced this issue Mar 8, 2023
This commit will:
- Change MainWindowController.hideUI to not stop the timer that
  synchronizes the UI if displaying the mini player
- Change PlayerCore.switchToMiniPlayer to ensure the timer is running
  if media is playing
uiryuu pushed a commit that referenced this issue Mar 22, 2023
This commit will:
- Change MainWindowController.hideUI to not stop the timer that
  synchronizes the UI if displaying the mini player
- Change PlayerCore.switchToMiniPlayer to ensure the timer is running
  if media is playing
@low-batt
Copy link
Contributor

The fix for this issue has been merged into the IINA develop branch. GitHub automatically closed the linked issue in reaction to the merge. I am reopening this issue until the fix is available in an official release of IINA so that users intending to report this problem can easily locate this existing report. Once the fix for this issue has been included in an official release this issue will be closed.

Should you wish to confirm the fix is working and do not have the ability to build IINA from the sources in the develop branch, at some point a new unsigned nightly build will be available for download. If you encounter a defect in a nightly build that has not been reported please enter an issue for it and be sure to indicate the problem was found in a nightly build.

The ability to disable this GitHub automatic closing action has been requested by GitHub users (discussions #23476 and #17308 for example), but so far GitHub has not implemented a way to control this behavior.

@low-batt low-batt reopened this Mar 22, 2023
@low-batt
Copy link
Contributor

IINA 1.3.2 contains the fix for this issue.

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

Successfully merging a pull request may close this issue.

3 participants