Skip to content

Nothing happening, no debug information #1433

@sdfg2

Description

@sdfg2

Don't quite know what's going on here. Been setting up after reading through all the docs and the examples. Probably a configuration error but I can't see where.

config:

sdfg@hera /data/ytdl-sub $ cat config.yaml
###############################################################################
# Top-level configurations to apply umask and write log files
configuration:
  umask: "077"
  persist_logs:
    logs_directory: './logs'
    keep_successful_logs: False
  lock_directory: "./.lock"
  working_directory: "./.tmp"


presets:

  ###############################################################################
  # Set tv_show_directory here instead of in the subscriptions file
  tv_show_paths:
    overrides:
      tv_show_directory: "/data/media/tv"

  ###############################################################################
  # Filter out any YouTube shorts                                                                                                                                                                                                                                                                                                                                                                                                                                                               no_shorts:
    match_filters:
      filters:
        - "original_url!*=/shorts/"

  ###############################################################################
  # Remove all the following sponsorblock sections
  sponsorblock:
    chapters:
      sponsorblock_categories: "all"
      remove_sponsorblock_categories: "all"

  ###############################################################################
  # Wait 2 days before downloading in hopes to get more accurate sponsorblock
  sponsorblock_wait:
    # Import the sponsorblock preset defined above
    preset:
      - "sponsorblock"

    date_range:
      before: "today-2days"


  ###############################################################################
  # base preset to use on all TV Show-based subscriptions
  base:
    preset:
      - "Jellyfin TV Show by Date"  # Set intended player
      - "max_1080p"    # prebuilt preset to get best quality
      - "tv_show_paths"

    # ytdl_options lets you pass any arg into yt-dlp's Python API
    ytdl_options:
      # Set the cookie file
      # cookiefile: "/config/youtube_cookies.txt"

      # For YouTube, get English metadata if multiple languages are present
      extractor_args:
        youtube:
          lang:
            - "en"

  ###############################################################################
  # Custom preset to archive an entire channel
  TV Show Full Archive:
    preset:
      - "base"
      - "sponsorblock_wait"  # wait for sponsorblock when full-archiving

  ###############################################################################
  # Custom preset to only fetch and keep recent videos.
  # Format the videos in reverse order, so the first video is the most recent
  # Also include the prebuilt "Only Recent" preset
  TV Show Only Recent:
    preset:
      - "base"
      - "sponsorblock"
      - "no_shorts"
      - "season_by_year__episode_by_month_day"
#      - "Only Recent"

    overrides:
      only_recent_date_range: "2months"
      only_recent_max_files: 30

subs:

sdfg@hera /data/ytdl-sub $ cat subscriptions.yaml
__preset__:
  TV Show Only Recent:
    = Youtube:
      "Markiplier": "https://www.youtube.com/channel/UC7_YxT-KID8kRbqZo7MyscQ"
      "Nigel Ng": "https://www.youtube.com/mrnigelng"
      "Dark 5": "https://www.youtube.com/@dark5tv"
      "Dark 5 Ancient Mysteries": "https://www.youtube.com/@Dark5AncientMysteries"
      "Nuke's Top 5": "https://www.youtube.com/@NukesTop5"
      "Top 5s": "https://www.youtube.com/@Top5s"
      "Corridor Crew": "https://www.youtube.com/@CorridorCrew"

output:

sdfg@hera /data/ytdl-sub $ sudo ytdl-sub -l debug sub
[ytdl-sub] Validating subscriptions...
[ytdl-sub] No subscriptions ran

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions