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

Sync Capability: Automatically remove items that are not in a playlist anymore #1038

Open
Kwbmm opened this issue Aug 25, 2024 · 1 comment
Labels
feature request Request for a brand new feature

Comments

@Kwbmm
Copy link

Kwbmm commented Aug 25, 2024

Hey,
I have a non-listed playlist that I use as a Watch Later. The idea is that I go on youtube, put the video I wanna watch the in playlist and ytdl-sub downloads it when it runs.

This is the config I have:

presets:
  base_watch_later:
    preset:
      - chunk_initial_download
      - max_1080p

    chapters:
      embed_chapters: True

    ytdl_options:
      break_on_existing: False
    output_options:
      output_directory: "{tv_show_directory}"
      file_name: "{tv_show_directory}/{channel}/{title_sanitized}.{ext}"
      thumbnail_name: "{tv_show_directory}/{channel}/{title_sanitized}.{thumbnail_ext}"
      info_json_name: "{tv_show_directory}/{channel}/{title_sanitized}.{info_json_ext}"
      maintain_download_archive: True

And this is the subscription file (a.k.a watch_later.yaml):

__preset__:
  overrides:
      tv_show_directory: "/my/home/Watch Later"

Watch Later:
  preset:
    - "base_watch_later"
    - "no_shorts"
    - "sponsorblock"
    - "add_subs"
  download:
    url: "https://youtube.com/playlist?list=XYZ"

This works as I want because it splits the files in the playlist by their channel name.

The problem though is that I would like to keep the playlist on youtube and the ytdl-sub playlist in sync. When I remove a file from the youtube playlist, I would like to remove it from the .ytdl-sub-Watch Later-download-archive.json and also remove it from it's channel.

Is this possible?

@jmbannon
Copy link
Owner

As of now there is no 'sync' capability in ytdl-sub. This would be a good feature though, I will keep it in the backlog

@jmbannon jmbannon added the feature request Request for a brand new feature label Sep 20, 2024
@jmbannon jmbannon changed the title Remove items that are not in a playlist anymore Sync Capability: Automatically remove items that are not in a playlist anymore Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a brand new feature
Projects
None yet
Development

No branches or pull requests

2 participants