* Don't return video cover art to XBox360, or else it won't show the video at all.

This commit is contained in:
Justin Maggard 2009-06-17 22:35:41 +00:00
parent 7071e79f3f
commit c304e3010a

View File

@ -605,7 +605,7 @@ callback(void *args, int argc, char **argv, char **azColName)
if( album_art && atoi(album_art) )
{
/* Video and audio album art is handled differently */
if( *mime == 'v' && (passed_args->filter & FILTER_RES) ) {
if( *mime == 'v' && (passed_args->filter & FILTER_RES) && (passed_args->client != EXbox) ) {
ret = sprintf(str_buf, "<res protocolInfo=\"http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN\">"
"http://%s:%d/AlbumArt/%s-%s.jpg"
"</res>",