Re: [Banshee-List] Deleting unused album art?



Would it not be possible to just go through the database, find all of
the IDs and delete the ones that match the pattern of being Banshee
album art but which don't have an ID? It'd have to be a user-requested
feature, in case they had more than one player sharing the folder for
some reason, but it'd solve the duplicates that seemed to appear for my
albums as well as the remnant Amazon preview images.

I'll throw a feature request together later.

Thanks.


On 24/08/10 17:05, Gabriel Burt wrote:
> There are a couple approaches we could take:
> 
> 1) Use the access time (atime) and delete the cached art if it hasn't
> been accessed in a very long time (maybe a year)
> 
> 2) Use different identifiers for temporary album art, eg
> "amazon-preview-$MD5-HASH" for AmazonMP3 preview tracks, and similar
> for Last.fm streaming, etc.
> 
> Feel free to file a bug and work on this.  :)
> 
> Gabriel
> 
> On Sun, Aug 22, 2010 at 8:07 AM, IBBoard <ibboard gmail com> wrote:
>> Is there an easy way to work out what album art is unused and to delete
>> it? I've got some albums (mainly compilations, but also single artist
>> albums) that show up once in Banshee but have up to two dozen identical
>> covers stored in ~/.cache/media-art. There are also various covers from
>> tracks that I've listened to samples of on Amazon but never bought.
>>
>> I know they don't take up much room, but it'd just be easier to review
>> the album art I had if Banshee only kept one copy of the album art and
>> only for songs I still had. I know the duplicates probably occur because
>> of changes in album or artist name, which gives it a new hash and needs
>> a new ID, but I've not changed most of my song metadata in ages and it
>> still has duplicates.
>>
>> Thanks,
>>
>> IBBoard
>> _______________________________________________
>> banshee-list mailing list
>> banshee-list gnome org
>> http://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
>>
> _______________________________________________
> banshee-list mailing list
> banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]