diff --git a/pandora/item/models.py b/pandora/item/models.py index 0c415a5a..b4b90fd1 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -1275,6 +1275,9 @@ class Item(models.Model): icon = self.path('icon.jpg') self.icon.name = icon timeline = '%stimelineantialias64p.jpg' % self.timeline_prefix + audio_timeline = '%stimelineaudio64p.jpg' % self.timeline_prefix + if not os.path.exists(timeline) and os.path.exists(audio_timeline): + timeline = audio_timeline cmd = [settings.ITEM_ICON, '-i', self.icon.path ]