Permalink
Browse files

[UPnP] hopefully fixes missing icons for certain devices

  • Loading branch information...
1 parent a8ac7bd commit a1cac4a5b576d2138b44149a095fe3e731755471 @alcoheca alcoheca committed Oct 18, 2012
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -325,10 +325,10 @@ CUPnPRenderer::SetupIcons()
{
NPT_String file_root = CSpecialProtocol::TranslatePath("special://xbmc/media/").c_str();
AddIcon(
- PLT_DeviceIcon("image/png", 256, 256, 32, "/icon.png"),
+ PLT_DeviceIcon("image/png", 256, 256, 24, "/icon-flat-256x256.png"),
file_root);
AddIcon(
- PLT_DeviceIcon("image/png", 32, 32, 32, "/icon32x32.png"),
+ PLT_DeviceIcon("image/png", 120, 120, 24, "/icon-flat-120x120.png"),
file_root);
return NPT_SUCCESS;
}
@@ -174,10 +174,10 @@ CUPnPServer::SetupIcons()
{
NPT_String file_root = CSpecialProtocol::TranslatePath("special://xbmc/media/").c_str();
AddIcon(
- PLT_DeviceIcon("image/png", 256, 256, 32, "/icon.png"),
+ PLT_DeviceIcon("image/png", 256, 256, 24, "/icon-flat-256x256.png"),
file_root);
AddIcon(
- PLT_DeviceIcon("image/png", 32, 32, 32, "/icon32x32.png"),
+ PLT_DeviceIcon("image/png", 120, 120, 24, "/icon-flat-120x120.png"),
file_root);
return NPT_SUCCESS;
}

0 comments on commit a1cac4a

Please sign in to comment.