Skip to content

Continue playback still logs viewing history when disabled

Description

On Mac, one can disable recently accessed files across most apps via System Preferences -> General -> Recent Items -> (select None). One can also disable the Continue Playback feature via Vlc Media Player -> Preferences -> Continue Playback -> (select Never). With recent items and continue playback disabled, one would expect that their viewing history on VLC to not be logged, however, this is not the case. VLC continues to store and track recently played media via the Continue Playback feature. This behavior can be verified by viewing the relevant stored keys in a terminal:

<computer name>:~ <username>$ defaults read org.videolan.vlc recentlyPlayedMedia
{
    "file:///Path/to/file/one.mp4" = 321;
    "file:///Path/to/file/two.mp4" = 321;
    ...
}
<computer name>:~ <username>$ defaults read org.videolan.vlc recentlyPlayedMediaList
(
    "file:///Path/to/file/one.mp4",
    "file:///Path/to/file/two.mp4",
    ...
)

Expected behavior

The relevant default keys should be deleted and not written to when the user selects to disable continue playback.

Actual behavior

VLC logs which files you access via this feature even when disabled.

Steps to reproduce

  1. Disable recent items (Optional, but important for the spirit of the issue)
  2. Disable Continue Playback
  3. Watch a video and stop part-way
  4. Re-enable resume playback and verify that it knows where you left off, or read defaults values.

Context

User has selected all relevant options to disable logging of which files they view.

App version

3.0.16

Device model

Macbook

Edited by Tom W
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information