diff --git a/lib/pinchflat/downloading/output_path_builder.ex b/lib/pinchflat/downloading/output_path_builder.ex index 374d57f..89d3f6c 100644 --- a/lib/pinchflat/downloading/output_path_builder.ex +++ b/lib/pinchflat/downloading/output_path_builder.ex @@ -42,7 +42,8 @@ defmodule Pinchflat.Downloading.OutputPathBuilder do "upload_day" => "%(upload_date>%d)S", "upload_yyyy_mm_dd" => "%(upload_date>%Y-%m-%d)S", "season_from_date" => "%(upload_date>%Y)S", - "season_episode_from_date" => "s%(upload_date>%Y)Se%(upload_date>%m%d)S" + "season_episode_from_date" => "s%(upload_date>%Y)Se%(upload_date>%m%d)S", + "artist_name" => "%(artist,creator,uploader,uploader_id)S" } end end diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html.ex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html.ex index 7ce35f3..a68bb8f 100644 --- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html.ex +++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html.ex @@ -74,6 +74,6 @@ defmodule PinchflatWeb.MediaProfiles.MediaProfileHTML do end defp audio_output_template do - "/music/{{ source_custom_name }}/{{ title }}.{{ ext }}" + "/music/{{ artist_name }}/{{ title }}.{{ ext }}" end end