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

--mark-watched partially works (no red progress bar on YT) #15382

Closed
freMea opened this issue Jan 21, 2018 · 0 comments
Closed

--mark-watched partially works (no red progress bar on YT) #15382

freMea opened this issue Jan 21, 2018 · 0 comments
Labels

Comments

@freMea
Copy link

@freMea freMea commented Jan 21, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.01.21. 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 2018.01.21

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
    It is a development from issue #14021 that had poor description

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

Steps to reproduce

youtube-dl version 2018.01.21

  • Pass any YouTube link using --mark-watched option and your account credentials.
  • Once the download or simulation has done, go to your YouTube.

Results

  • Open the history section of YouTube site or app. Video processed by youtube-dl appears at the top of your history but (at the time I'm writing) the red progress bar under the video thumbnail shows a progress of around 10%.
    screenshot 1
  • If you open the video in YouTube, the playback will start from the beginning instead of being related to the progress bar (10%).
  • This 10% progress bar only appears in history section. The same video on any other section will show no progress bar at all.
  • If you play a video in YouTube until its end or more than 75% or jump to the end, this video will show a full red progress bar in every section of the website or app.
    screenshot 2

Conclusion

Even when using the --mark-watched option, once you're back in YouTube, there is no obvious way during your browsing experience to see which video has already been watched/downloaded. There are maybe workaround based on browser extensions that change watched video appearance in lists that could work. But there is no solution when using YouTube on mobile or in app.

Here is a debug log as an example but it's not really required here since it can be easily reproduced using very basic command as long as you use --mark-watched option with your credentials.

[debug] System config: []
[debug] User config: ['--download-archive', '/data/data/com.termux/files/home/storage/shared/Youtube/archive.txt', '--output', '/data/data/com.termux/files/home/storage/shared/Youtube/%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s', '--mark-watched', '--format', 'best[height<=480]', '--simulate', '--get-title', '--ignore-errors', '--verbose', '--no-mtime', '--username', 'PRIVATE', '--password', 'PRIVATE']
[debug] Custom config: []
[debug] Command-line args: ['https://youtu.be/_CwHrJt8Oz8']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.01.21
[debug] Python version 3.6.4 (CPython) - Linux-3.10.72-x86_64_moor-gb6d574d-i686-with-libc
[debug] exe versions: none
[debug] Proxy map: {}
Le Serveur | The Waiter (Greg Romano)

[Process completed - press Enter]
@dstftw dstftw closed this Jan 21, 2018
@dstftw dstftw added the duplicate label Jan 21, 2018
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
2 participants
You can’t perform that action at this time.