Skip to content

Playback position does not match Now Playing #5337

@low-batt

Description

@low-batt

IINA Version

1.3.5

Release Channel

Release

macOS Version

macOS 15.2

Steps to Reproduce

  • Install socat to be able to use mpv IPC support
  • Install jq (optional)
  • Start IINA
  • Click on Settings… under the IINA menu
  • The settings panel appears
  • On the left side of the panel click on Advanced
  • Slide the Enable advanced settings toggle button to be on (blue)
  • In the Additional mpv options section click on +
  • A new entry appears in the table
  • Double click on name and replace it with input-ipc-server
  • Double click on value and replace it with /tmp/mpv-socket
  • Restart IINA to activate the new settings
  • Start playing a video
  • Open Terminal
  • Past this command in the terminal window:
echo '{ "command": ["seek", "0.51", "absolute+exact"] }' | socat - /tmp/mpv-socket | jq
  • Open the Control Center
  • Click on the Now Playing module
  • Notice the playback position is 00:01
  • Move the mouse to show the IINA OSC
  • Notice the playing position in the OSC is 00:00

Expected Behavior

The playback position shown in IINA's OSC should match the playback position shown in the macOS Control Center Now Playing module.

Actual Behavior

Sometimes the playback position shown in the macOS Control Center Now Playing module is one second ahead of the position shown by the IINA OSC as seen here:
now-playing

Crash Report or Process Sample

No response

Logs

No response

Sample Files

I used a downloaded copy of the YouTube video Big Buck Bunny 60fps 4K

How often can you reproduce the issue

Every time.

Required Actions

  • I tried my best to search from the existing issues (including closed issues) and didn't find duplicated issues.

Optional Actions

  • I tested with the Nightly build and confirmed the issue is not fixed.
  • I tested with the latest version of mpv and confirmed mpv doesn't have this issue.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions