Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Youtube] Mark watched despite match-filter skip #13835

Open
tree68505 opened this issue Aug 5, 2017 · 0 comments
Open

[Youtube] Mark watched despite match-filter skip #13835

tree68505 opened this issue Aug 5, 2017 · 0 comments

Comments

@tree68505
Copy link

@tree68505 tree68505 commented Aug 5, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.07.30.1. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.07.30.1

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: [u'-f', u'(bestvideo+bestaudio/best)[ext!=webm]', u'--no-part', u'-o', u'__some location__/%(title)s.%(ext)s', u'--cookies', u'__some location__/cookies.txt']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--match-filter', u"duration <= 600 & uploader != __some user name__ & uploader != '__some user name with spaces__'", u'--mark-watched', u'-n', u'-v', u'https://www.youtube.com/playlist?list=WL']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.07.30.1
[debug] Python version 2.7.12 - Linux-4.4.0-87-generic-x86_64-with-Peppermint-7-xenial
[debug] exe versions: avconv 2.8.11-0ubuntu0.16.04.1, avprobe 2.8.11-0ubuntu0.16.04.1, ffmpeg 2.8.11-0ubuntu0.16.04.1, ffprobe 2.8.11-0ubuntu0.16.04.1
[debug] Proxy map: {}
[youtube:watchlater] Downloading login page
[youtube:watchlater] Looking up account info
[youtube:watchlater] Logging in
[youtube:watchlater] Checking cookie
[youtube:watchlater] WL: Downloading webpage
WARNING: [youtube:watchlater] Youtube gives an alert message: This playlist is automatically sorted by date added.
[download] Downloading playlist: Watch later
[youtube:watchlater] WL: Downloading page #1
[youtube:watchlater] playlist Watch later: Downloading 11 videos
[download] Downloading video 1 of 11
[youtube] Downloading login page
[youtube] Looking up account info
[youtube] Logging in
[youtube] Checking cookie
[youtube] __some id__: Downloading webpage
[youtube] __some id__: Downloading video info webpage
[youtube] __some id__: Extracting video information
[youtube] __some id__: Downloading MPD manifest
[youtube] __some id__: Marking watched
[download] __some video title__ does not pass filter duration <= 600 & uploader != __some user name__ & uploader != '__some user name with spaces__', skipping ..
...
<end of log>

Description of your issue, suggested solution and other information

When a command is run with the following arguments:

youtube-dl --match-filter "duration <= 600 & uploader != __some user name__ & uploader != '__some other user name with spaces'" --mark-watched -n https://www.youtube.com/playlist?list=WL

and following in the youtube-dl.conf file:

-f '(bestvideo+bestaudio/best)[ext!=webm]' --no-part -o __some location__/%(title)s.%(ext)s --cookies _some other location__/cookies.txt

videos that are skipped due to the 'match-filter' regex argument are still marked as watched. Expected behavior is to only 'mark watched' videos that pass the filter and are downloaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.