Open
Description
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:
- Create a Media Profile
- Ensure the Output Path Template includes the key {{ playlist }} - for example, /{{ channel }}/{{ playlist_title }}/{{ upload_yyyy_mm_dd }} - {{ title }}.{{ ext }}
- Set all other required options and save it
- Use the Media Profile for a new Source that is specifically a YT playlist, for example https://www.youtube.com/playlist?list=PLZioPDnFPNsGnUXuZScwn6Ackf6LGILCa
- 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