jmbannon / ytdl-sub

Lightweight tool to automate downloading and metadata generation with yt-dlp
https://ytdl-sub.readthedocs.io
GNU General Public License v3.0
1.74k stars 69 forks source link

All subtitles not downloading #964

Open jsuelwald opened 5 months ago

jsuelwald commented 5 months ago

Subtitles aren't downloaded. What am I doing wrong? (Yeah, the videos downloaded do have subtitles for at least one of the configured languages. i also updated yt-dl to a more recent version, this didn't fix this issue.

ytdl-sub -c config.yaml sub media.yaml

--- config.yaml ---

presets:
  base:
    # Embed chapters into video files
    chapters:
      embed_chapters: True

    # Embed English subtitles into video files (supports more)
    subtitles:
      #subtitles_name: "{title_sanitized}.{lang}.{subtitles_ext}"
      #subtitles_type: "srt"
      embed_subtitles: True
      languages:
        - "en"  # supports multiple languages
        - "de"
      allow_auto_generated_subtitles: True

--- media.yaml ---

__preset__:
  overrides:
    tv_show_directory: "/mnt/dl/yt"  # Root folder of all ytdl-sub TV Shows

    # For 'Only Recent' preset, only keep vids within this range and limit
    only_recent_date_range: "7days"
    only_recent_max_files: 300

Jellyfin TV Show by Date:
  = Documentaries | Only Recent:
    "Code Bullet": "https://www.youtube.com/@CodeBullet"