-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
System and IINA version:
- macOS 13.2.1
- IINA
Expected behavior:
The filename displayed in the inspector window File
tab matches the value shown in the Status
tab if the mpv property filename
is being watched in the Watch
section of the inspector window.
Actual behavior:
The filename is displayed correctly in the File
tab:
However the filename shows as "<error>" in the Status
tab:
Steps to reproduce:
I have not tracked down the exact sequence required to reproduce this. Bringing up the settings panel is part of it. I noticed the problem while code reading and just wanted to demonstrate that it can result in a problem.
The offending code is this line from InspectorWindowController.tableView
:
return PlayerCore.active.mpv.getString(property) ?? "<Error>"
The rest of the InspectorWindowController
code is correctly using PlayerCore.lastActive
instead of active
.
I will post a PR with a fix shortly.
- MPV does not have this problem.
This is an IINA problem.
How often does this happen?
It requires a certain sequence to reproduce, but it is reproducible.