musicfix

music file renamer and tagger
git clone git://git.2f30.org/musicfix
Log | Files | Refs | README | LICENSE

commit 1ef70982a016f9a7603e36fb2c54407c8e6489bb
parent 3c9065b8a518b97efddf850dfcf9ba6f3fec3031
Author: lostd <lostd@2f30.org>
Date:   Tue, 15 Dec 2015 10:15:02 +0200

Bugfix for releases wit no images.

Diffstat:
Mbin/musicfix | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/musicfix b/bin/musicfix @@ -362,7 +362,8 @@ else if tracks then rel['comment'] += ", tracks: #{tracks}" end - rel['images'] = getimages(r).first(cfg['nimg']) + imgs = getimages(r) + rel['images'] = if imgs then imgs.first(cfg['nimg']) end rel['tracklist'] = [] # Populate tracklist tl.each do |s|