diff --git a/etl/management/commands/backfill_mp3.py b/etl/management/commands/backfill_mp3.py index 562dd56..684c10b 100644 --- a/etl/management/commands/backfill_mp3.py +++ b/etl/management/commands/backfill_mp3.py @@ -1,4 +1,5 @@ import requests +import tqdm from http import HTTPStatus from django.core.management.base import BaseCommand from django.core.files.base import ContentFile @@ -17,7 +18,7 @@ def handle(self, *args, **options) -> None: upload_to = media_models.MP3.file.field.upload_to - for enclosure in enclosures: + for enclosure in tqdm.tqdm(enclosures): filename = requests.utils.urlparse( enclosure.url ).path.split("/").pop() diff --git a/shows/templates/shows/show_detail.html b/shows/templates/shows/show_detail.html index d0cb94d..d3f6743 100644 --- a/shows/templates/shows/show_detail.html +++ b/shows/templates/shows/show_detail.html @@ -1,5 +1,14 @@ {% extends "base.html" %} {% block title %}{{ show.title }}{% endblock title %} +{% block opengraphextra %} + + {% if show.description %} + + {% endif %} + {% if show.logo %} + + {% endif %} +{% endblock opengraphextra %} {% block extrahead %} {% comment "TODO" %}