Added IDs as an option for output templates (#543)

This commit is contained in:
Kieran
2025-01-03 10:50:43 -08:00
committed by GitHub
parent e150355874
commit e4c186eacb
2 changed files with 11 additions and 5 deletions
@@ -201,6 +201,9 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilder do
source = media_item_with_preloads.source
%{
"media_item_id" => to_string(media_item_with_preloads.id),
"source_id" => to_string(source.id),
"media_profile_id" => to_string(source.media_profile_id),
"source_custom_name" => source.custom_name,
"source_collection_id" => source.collection_id,
"source_collection_name" => source.collection_name,