Skip to content

Option "--skip-watched" stopped working, possible clash with skip_youtube_extraction #222

@m040601

Description

@m040601

TLDR:

Files that show up as watched in the interface and are in the
"watched.txt" list are still being played/downloaded

I just noticed this today. I cant precise pinpoint when this started happening.
For some reason I cannot find out, it seems that the option "skip_watched"
stopped working on my system.

skip_watched
       Skip already watched/downloaded videos.

I have been using it for years like this. Temporarly and inside a running
pipe-viewer, I type explicitly

--skip-watched

To enable it. Then, when I dont want it anymore, I type

--no-skip-watched

You can also use it permanently in the configuration file, pipe-viewer.conf

  skip_watched                  => 1,

Or issue it when launching pipe-viewer as a flag

pipe-viewer --skip-watched

I tried all three option above.

The file "watched.txt" is correctly being read and written. I have a big one.
It is 2MB and 200k lines approx. Just in case I used a fresh empty test one.

Issuing for ex, ";w3-7" on a running pipe-viewer correctly marks those entries as "watched".

I then tried creating a new fresh new system user with default pristine configs. I
modified this default to speed up things with the new option.

  #skip_youtube_extraction       => 0,
  skip_youtube_extraction       => 1,

Same problem. Watched videos are being played/downloaded again.

I the restored the default

  skip_youtube_extraction       => 0,

And tried to watch already watched things. It then worked as it is supposed to,

:: Already watched video (ID: XXXXXX)... Skipping...

So it seems ???? That this new option,

  skip_youtube_extraction       => 1,

Is somehow clashing with the old "skip_watched" ???

I'm on Arch Linux,

Repository                    : aur
Name                          : pipe-viewer-git
Version                       : 0.5.6.r0.g577a750-1
Last Modified                 : Tue 22 Apr 2025 05:47:54 PM WEST
Maintainer                    : trizen
Name            : pipe-viewer-git
Version         : 0.5.6.r17.g5229c24-1
Depends On      : perl  perl-data-dump  perl-json  perl-lwp-protocol-https  perl-gtk3  perl-libwww  perl-file-sharedir  perl-unicode-linebreak  yt-dlp
Optional Deps   : ffmpeg: conversions and MKV merging [installed]
                  gnome-icon-theme: icons in menus
                  perl-json-xs: faster JSON parsing [installed]
                  perl-lwp-useragent-cached: local cache support [installed]
                  perl-term-readline-gnu: better STDIN support [installed]
                  perl-parallel-forkmanager: for option get_subscriptions_in_parallel [installed]
                  mpv: play videos with MPV (recommended) [installed]
                  vlc: play videos with VLC
                  wget: download videos with wget [installed]
Build Date      : Sun 27 Jul 2025 06:34:39 PM WEST
Install Date    : Sun 27 Jul 2025 06:34:51 PM WEST
Install Reason  : Explicitly installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions