[Android] [PATCH] Get cover art also for upnp network media

Marc K. morckx at gmail.com
Mon Nov 7 00:09:31 CET 2016


Hi Jean-Baptiste,

On Sun, 2016-11-06 at 18:44 +0100, Jean-Baptiste Kempf wrote:
> I'm also not sure the download shouldn't be done with a HTTP getter 

Actually this is a hack because the image cannot be really fetched via
http synchronously in the main thread. downloadBitmap will load it from
the icon map because chances are high that is was previousy shown as
thumbnail.

I'll upload a revised patch with a corresponding comment.

BTW: This is, of course, only a little step. A big step would be to
handle upnp also via the audio- and video browser classes – or with
some similar functionalities.

 
> instead of VLC code....
> 
> Not to mention there are other extensions than jpg for art.
> 
Yes, but the compress method saves it as jpg.

Marc



More information about the Android mailing list