Update english.ini

Stop 0 size covers from being created
This commit is contained in:
yardape8000 2012-05-17 13:26:02 +00:00
parent f94e65a54d
commit 7c4bb1fa04
2 changed files with 79 additions and 76 deletions

View File

@ -590,7 +590,7 @@ int CMenu::_coverDownloader(bool missingOnly)
for( int o = 0; o < 12; ++o )
{
bool tdl = false;
if( download.data != NULL )
if(download.data != NULL && download.size > 0 && checkPNGBuf(download.data))
break;
switch( o )
{
@ -680,8 +680,10 @@ int CMenu::_coverDownloader(bool missingOnly)
download = downloadfile(buffer.get(), bufferSize, url.c_str(), CMenu::_downloadProgress, this);
}
}
if (download.data != NULL)
{
if(download.data == NULL || download.size == 0 || !checkPNGBuf(download.data))
continue;
if (savePNG)
{
LWP_MutexLock(m_mutex);
@ -706,7 +708,6 @@ int CMenu::_coverDownloader(bool missingOnly)
}
}
}
}
break;
case CBOX:
if( m_downloadPrioVal&C_TYPE_ONCU )
@ -729,7 +730,7 @@ int CMenu::_coverDownloader(bool missingOnly)
for( int o = 0; o < 12; ++o )
{
bool tdl = false;
if( download.data != NULL )
if(download.data != NULL && download.size > 0 && checkPNGBuf(download.data))
break;
switch( o )
@ -824,8 +825,9 @@ int CMenu::_coverDownloader(bool missingOnly)
}
}
if (download.data != NULL)
{
if(download.data == NULL || download.size == 0 || !checkPNGBuf(download.data))
continue;
if (savePNG)
{
LWP_MutexLock(m_mutex);
@ -850,7 +852,6 @@ int CMenu::_coverDownloader(bool missingOnly)
}
}
}
}
break;
case FLAT:
if( m_downloadPrioVal&C_TYPE_ONOR )
@ -873,7 +874,7 @@ int CMenu::_coverDownloader(bool missingOnly)
for( int o = 0; o < 12; ++o )
{
bool tdl = false;
if( download.data != NULL )
if(download.data != NULL && download.size > 0 && checkPNGBuf(download.data))
break;
switch( o )
@ -967,8 +968,9 @@ int CMenu::_coverDownloader(bool missingOnly)
}
}
if (download.data != NULL)
{
if(download.data == NULL || download.size == 0 || !checkPNGBuf(download.data))
continue;
if (savePNG)
{
LWP_MutexLock(m_mutex);
@ -993,7 +995,6 @@ int CMenu::_coverDownloader(bool missingOnly)
}
}
}
}
break;
case CFLAT:
if( m_downloadPrioVal&C_TYPE_ONCU )
@ -1016,7 +1017,7 @@ int CMenu::_coverDownloader(bool missingOnly)
for( int o = 0; o < 12; ++o )
{
bool tdl = false;
if( download.data != NULL )
if(download.data != NULL && download.size > 0 && checkPNGBuf(download.data))
break;
switch( o )
@ -1109,8 +1110,10 @@ int CMenu::_coverDownloader(bool missingOnly)
download = downloadfile(buffer.get(), bufferSize, url.c_str(), CMenu::_downloadProgress, this);
}
}
if (download.data != NULL)
{
if(download.data == NULL || download.size == 0 || !checkPNGBuf(download.data))
continue;
if (savePNG)
{
LWP_MutexLock(m_mutex);
@ -1135,7 +1138,6 @@ int CMenu::_coverDownloader(bool missingOnly)
}
}
}
}
break;
}
}

View File

@ -22,6 +22,7 @@ byplayers=By Players
bywifiplayers=By Wifi Players
cd1=Back
cd2=Erase
cd3=Age Lock
cfg1=Settings
cfg10=Back
cfg11=USB Saves Emulation