Re: [Tracker] Automatically creating an album for screenshots



Hey Martyn,

On Mon, Oct 07, 2013 at 12:28:32PM +0100, Martyn Russell wrote:
Currently albums or collections are implemented using nfo:DataContainer, and
screenshots are identified by checking the tEXt::Software option for
'gnome-screenshot'.

I don't follow regarding the "tEXt::Software option" bit?

See this:
https://git.gnome.org/browse/gnome-control-center/tree/panels/background/bg-pictures-source.c#n167

I am wondering if the filesystem miner could look at tEXt::Software and
create a nfo:DataContainer for all photos that have it. Ofcourse it could
be under a optional --enable-gnome flag because this might be specific to
GNOME.

Makes sense.
The hard part is knowing what's a photo and what's a screenshot?
By filename? By location? By metadata in the file itself?

The "tEXt::Software option" is embedded into the file if you took your
screenshot using gnome-shell or gnome-screenshot.

Cheers,
Debarshi

-- 
Wearing non-prescription glasses and embracing obscurity doesn't
necessarily make you a hipster.  -- Anonymous

Attachment: pgpgF5_l5Mij_.pgp
Description: PGP signature



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