From 34bb99e670bb7ce7d8ce4f482e664dc6fdd8baa0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 28 Aug 2009 09:33:03 +0200 Subject: song: fallback to artist if there's no albumartist --- nephilim/song.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nephilim/song.py b/nephilim/song.py index 65b6322..f2b94ec 100644 --- a/nephilim/song.py +++ b/nephilim/song.py @@ -64,6 +64,8 @@ class Song(dict): return '-1' elif key == 'title': return self['file'] + elif key == 'albumartist': + return self['artist'] return '' def __nonzero__(self): -- cgit v1.2.3