commit 9ad31970ab0506ff21fc36d38ec3a5664b7802e7
parent 5fa03ec1d9323c442f99dc537c1cb4d859b3180a
Author: lostd <lostd@2f30.org>
Date: Tue, 4 Mar 2014 15:51:05 +0000
Do the substitution hack again
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,3 +1,4 @@
+* Get artwork from the s.pixogs.com domain.
* Can now generate release files from audio file tags.
* Add the release metadata saving functionality and loading logic.
diff --git a/bin/musicfix b/bin/musicfix
@@ -73,7 +73,7 @@ def getimgurl rel
return nil unless rel['images']
img = rel['images'].select {|i| i['type'] == 'primary'}.first ||
rel['images'].first
- img['uri']
+ img['uri'].gsub 'api.discogs.com', 's.pixogs.com'
end
# Construct position list from tracks filter