forked from rc/aircox
		
	check self.info is present
This commit is contained in:
		@ -188,7 +188,7 @@ class SoundFile:
 | 
				
			|||||||
        elif use_meta:
 | 
					        elif use_meta:
 | 
				
			||||||
            if self.info is None:
 | 
					            if self.info is None:
 | 
				
			||||||
                self.read_file_info()
 | 
					                self.read_file_info()
 | 
				
			||||||
            if self.info.tags:
 | 
					            if self.info and self.info.tags:
 | 
				
			||||||
                tags = self.info.tags
 | 
					                tags = self.info.tags
 | 
				
			||||||
                title, artist, album, year = tuple(
 | 
					                title, artist, album, year = tuple(
 | 
				
			||||||
                    t and ', '.join(t) for t in (
 | 
					                    t and ', '.join(t) for t in (
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
{% load i18n %}
 | 
					{% load i18n %}
 | 
				
			||||||
<h3>{{ title }}</h3>
 | 
					<h3>{% blocktranslate with filter_title=title %} By {{ filter_title }} {% endblocktranslate %}</h3>
 | 
				
			||||||
{% block content %}{% endblock %}
 | 
					{% block content %}{% endblock %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user