Repository: yt-dlp
Issue: [youtube] match-filters: 'mark watched' should be skipped
Labels: site-bug,triage,site:youtube,core:extractor

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Russia

### Provide a description that is worded well enough to be understood

I download a large playlist, for example :ytrec

Case one: live broadcasts (there is !is_live in the filter). All live broadcasts that are in ytrec are **marked as viewed, but the download is skipped** ```filter (!is_live & duration < 333)```.
Case two: some random videos (**_2 out of 275_** in my case).

First, yt-dlp receives information about the video, marks it as viewed, and then it turns out that the video does not match the filter.

```
[youtube] Extracting URL: 
[youtube] xxx: Marking watched
[youtube] xxx: Marking fully watched
[download] xxx does not pass filter xxx, skipping ..
```

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[download] 【OP】じょしらく/「お後がよろしくって…よ!」 does not pass filter (!is_live & duration < 333 & title ~= (?i)штефанов) | (!is_live & duration < 333 & description ~= (?i)штефанов), skipping ..
[download] Downloading item 90 of 275
[youtube] Extracting URL: https://www.youtube.com/watch?v=jOfyRCRXWhM
[youtube] jOfyRCRXWhM: Downloading webpage
[youtube] jOfyRCRXWhM: Downloading ios player API JSON
[youtube] jOfyRCRXWhM: Downloading mweb player API JSON
[youtube] jOfyRCRXWhM: Downloading m3u8 information
[youtube] jOfyRCRXWhM: Marking watched
[youtube] jOfyRCRXWhM: Marking fully watched
[MetadataParser] Parsed meta_title from '%(title)s': 'Влюбился в девушку, которая на самом деле мужик #anime #аниме'
[download] Влюбился в девушку, которая на самом деле мужик #anime #аниме does not pass filter (!is_live & duration < 333 & title ~= (?i)штефанов) | (!is_live & duration < 333 & description ~= (?i)штефанов), skipping ..
...
[download] Downloading item 156 of 275
[youtube] Extracting URL: https://www.youtube.com/watch?v=gP5wpOLpr7A
[youtube] gP5wpOLpr7A: Downloading webpage
[youtube] gP5wpOLpr7A: Downloading ios player API JSON
[youtube] gP5wpOLpr7A: Downloading mweb player API JSON
[youtube] gP5wpOLpr7A: Downloading m3u8 information
[youtube] gP5wpOLpr7A: Marking watched
[youtube] gP5wpOLpr7A: Marking fully watched
[MetadataParser] Parsed meta_title from '%(title)s': 'He want Save Her Girlfriend At The Past But it will be causing time paradox'
[download] He want Save Her Girlfriend At The Past But it will be causing time paradox does not pass filter (!is_live & duration < 333 & title ~= (?i)штефанов) | (!is_live & duration < 333 & description ~= (?i)штефанов), skipping ..
```

```
yt-dlp --print is_live wxgaWVjMaDQ
True
```

```
yt-dlp --match-filters !is_live wxgaWVjMaDQ
[youtube] oauth: Refreshing access token
WARNING: [youtube] Preferring "ru" translated fields. Note that some metadata extraction may fail or be incorrect.
[youtube] Extracting URL: wxgaWVjMaDQ
[youtube] wxgaWVjMaDQ: Downloading webpage
[youtube] wxgaWVjMaDQ: Downloading ios player API JSON
[youtube] wxgaWVjMaDQ: Downloading mweb player API JSON
[youtube] wxgaWVjMaDQ: Downloading m3u8 information
[youtube] wxgaWVjMaDQ: Downloading m3u8 information
[youtube] wxgaWVjMaDQ: Marking watched
[youtube] wxgaWVjMaDQ: Marking fully watched
[MetadataParser] Parsed meta_title from '%(title)s': 'Молдова выбрала президента, Гугл сдал военные объекты, Айова за Харрис. Ганапольский, Сиркели 2024-11-04 10:21'
[download] Молдова выбрала президента, Гугл сдал военные объекты, Айова за Харрис. Ганапольский, Сиркели 2024-11-04 10:21 does not pass filter (!is_live), skipping ..
```