Author Topic: Filter by non existing APIC frame  (Read 1810 times)

aboettger

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Filter by non existing APIC frame
« on: April 13, 2014, 20:40:28 »
It's possible to add a filter by non existing APIC frames?

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Filter by non existing APIC frame
« Reply #1 on: April 17, 2014, 18:14:51 »
There is actually a disabled "haspicture" field that should do what you want.
You can enable it by searching for "haspicture" in gmusicbrowser_songs.pm and replacing the
disable=>1,
below it, by
disable=>1, options => "disable",
it will then be possible to enable the field in the fields tab of the preferences dialog (requires a restart, and re-reading the tags).

Once enabled, you can search for songs that have an embedded picture by entering haspicture:1 or those that don't with haspicture:0

I don't remember why I left it permanently disabled, I guess I wanted to test it a bit more, I'll probably add the field (off by default). Also I've since added support for embedded pictures in ogg/flac, adding "vorbis => 'METADATA_BLOCK_PICTURE'," should make haspicture support them, haven't tested it yet.