Compare commits

...

2 Commits

Author SHA1 Message Date
bkfox
9c147b2a6d Merge branch 'develop-1.0' of git.radiocampus.be:rc/aircox into develop-1.0 2022-07-13 14:08:20 +02:00
bkfox
aa61918d69 check self.info is present 2022-07-13 14:03:26 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ class SoundFile:
elif use_meta:
if self.info is None:
self.read_file_info()
if self.info.tags:
if self.info and self.info.tags:
tags = self.info.tags
title, artist, album, year = tuple(
t and ', '.join(t) for t in (

View File

@ -1,4 +1,4 @@
{% load i18n %}
<h3>{{ title }}</h3>
<h3>{% blocktranslate with filter_title=title %} By {{ filter_title }} {% endblocktranslate %}</h3>
{% block content %}{% endblock %}