From c0067cca0fe601710a6ec9cbc51dfc388d559dbb Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Thu, 17 Sep 2015 21:34:16 +0100 Subject: [PATCH] Added mp3 extension --- spa/management/commands/azure_util.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spa/management/commands/azure_util.py b/spa/management/commands/azure_util.py index a5a112f..71f466a 100755 --- a/spa/management/commands/azure_util.py +++ b/spa/management/commands/azure_util.py @@ -10,7 +10,10 @@ def _update_azure_headers(): ms = Mix.objects.all() for m in ms: print("Update headers for {0}".format(m.title)) - cdn.set_azure_details('{0}.mp3'.format(m.uid), 'Deep South Sounds - {0}'.format(m.title), 'mixes') + cdn.set_azure_details( + blob_name='{0}.mp3'.format(m.uid), + download_name='Deep South Sounds - {0}.mp3'.format(m.title), + container_name='mixes') def _check_missing_mixes():