Skip to content

[Triage] Output Path Template {{ playlist }} is always "NA" #673

Open
@csammis

Description

@csammis

Describe the bug
When using a Media Source output path template that includes the key {{ playlist }}, the literal string "NA" is produced instead

To Reproduce
Steps to reproduce the behavior:

  1. Create a Media Profile
  2. Ensure the Output Path Template includes the key {{ playlist }} - for example, /{{ channel }}/{{ playlist_title }}/{{ upload_yyyy_mm_dd }} - {{ title }}.{{ ext }}
  3. Set all other required options and save it
  4. Use the Media Profile for a new Source that is specifically a YT playlist, for example https://www.youtube.com/playlist?list=PLZioPDnFPNsGnUXuZScwn6Ackf6LGILCa
  5. Downloaded media is saved to /{{ channel }}/NA/{{ upload_yyyy_mm_dd }} - {{ title }}.{{ ext }}
    Expected behavior
    The output path template component should be saved with the playlist title or ID as described in the yt-dlp documentation.

Diagnostic info

  • App Version: 2025.3.17
  • yt-dlp Version: 2025.03.25
  • Apprise Version: v1.9.2
  • System Architecture: x86_64-pc-linux-gnu
  • Timezone: America/Chicago

Additional context

The predicted_media_filepath for a pending item does in fact have the correct value substituted for {{ playlist }} so this seems to be working on some level, perhaps just not when the files are actually written to disk

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions