Removed http://mtgimage.com/ from image download sources.

This commit is contained in:
LevelX2 2015-03-11 17:11:30 +01:00
parent 8dd8aea188
commit 68255ac316
2 changed files with 6 additions and 5 deletions

View file

@ -31,7 +31,11 @@ package org.mage.plugins.card.dl.sources;
import org.mage.plugins.card.images.CardDownloadData; import org.mage.plugins.card.images.CardDownloadData;
/** /**
* * Site was shutdown by wizards Feb. 2015
*
*
*
*
* @author LevelX2 * @author LevelX2
*/ */

View file

@ -140,7 +140,7 @@ public class DownloadPictures extends DefaultBoundedRangeModel implements Runnab
p0.add(jLabel1); p0.add(jLabel1);
p0.add(Box.createVerticalStrut(5)); p0.add(Box.createVerticalStrut(5));
ComboBoxModel jComboBox1Model = new DefaultComboBoxModel(new String[] { "magiccards.info", "wizards.com", "mtgimage.com (HQ)" /*, "mtgathering.ru HQ", "mtgathering.ru MQ", "mtgathering.ru LQ"*/}); ComboBoxModel jComboBox1Model = new DefaultComboBoxModel(new String[] { "magiccards.info", "wizards.com"/*, "mtgimage.com (HQ)" , "mtgathering.ru HQ", "mtgathering.ru MQ", "mtgathering.ru LQ"*/});
jComboBox1 = new JComboBox(); jComboBox1 = new JComboBox();
cardImageSource = MagicCardsImageSource.getInstance(); cardImageSource = MagicCardsImageSource.getInstance();
@ -158,9 +158,6 @@ public class DownloadPictures extends DefaultBoundedRangeModel implements Runnab
case 1: case 1:
cardImageSource = WizardCardsImageSource.getInstance(); cardImageSource = WizardCardsImageSource.getInstance();
break; break;
case 2:
cardImageSource = MtgImageSource.getInstance();
break;
} }
int count = DownloadPictures.this.cards.size(); int count = DownloadPictures.this.cards.size();
float mb = (count * cardImageSource.getAverageSize()) / 1024; float mb = (count * cardImageSource.getAverageSize()) / 1024;