[Android] src: Show embedded art from media as well

Edward Wang edward.c.wang at compdigitec.com
Thu Jun 28 23:08:55 CEST 2012


On 12-06-28 05:06 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On Thu, Jun 28, 2012 at 04:55:32PM -0400, Edward Wang wrote :
>> On 12-06-28 04:54 PM, XilasZ<xilasz at gmail.com>  wrote:
>>> What's the purpose of this ? Embedded arts were already working
>> Nope, embedded arts were being extracted into the cache dir, but not
>> being shown, I did some debugging and it turned out that it was
>> returning an attachment:// URL (which it ignored), so I just
>> finished it to show the art in the widget.
> Nope.
> This is wrong.
>
> When attachement:// are created, the core will extract them in
> input/ code and change the artworkURL. You are just doing it manually.
>
In theory yes but that never happened for me, when I checked artworkURL 
it was "attachment:///" style URL. Using debugging statements I found 
that it never worked, returning null at the end of getCover().

Did not work on either my 4.0 or 2.1 phone before this patch.

Thanks,
         Edward Wang


More information about the Android mailing list