From b1534f082d1869a391500b3bbf10e3e25f3e99fd Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Wed, 27 Oct 2010 09:44:44 -0400 Subject: [PATCH] Clear image file Whenever a song changes, we need to clear the path that we tell the album art image to load. Otherwise, it will show art from the previous track if none can be found for the current track. --- ocarina/image.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ocarina/image.py b/ocarina/image.py index b5ad48d5..a468bf27 100644 --- a/ocarina/image.py +++ b/ocarina/image.py @@ -30,6 +30,7 @@ class AlbumArt(Image): libsaria.event.invite("POSTGETART", self.set) def preload(self, *args): + self.file = None self.hide() def set(self, file=None):