diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-08-28 09:33:03 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-08-28 09:33:03 +0200 |
commit | 34bb99e670bb7ce7d8ce4f482e664dc6fdd8baa0 (patch) | |
tree | 900313015480e4e91f246b11982851af205564b6 | |
parent | 0c95be93be050311ad4d3c4e56fa827a08b20efa (diff) |
song: fallback to artist if there's no albumartist
-rw-r--r-- | nephilim/song.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): |