Re: [Tracker] [PATCH] tracker-extract to extract metatdata from application/ogg files



Marcus Fritzsch wrote:
Hi,

i noticed this one since my first tracker test, and found how to fix
it. It does only add one more string compare to identify metadata for
.ogg files.

One thing i am not sure - does this affect video files too? I took
some minutes to search, but did not come to a conclusion. Was this
maybe left out intentionally?


application/ogg is a parent mimetype because its ambiguous (is it video or music?)

Fortunately as tracker uses xdgmime, it should split these out into either audio/foo+ogg or video/foo+ogg mime subtypes. Nautilus also uses Xdgmime and you can see the mimetype by right click properties - you can see it distinguishes between audio only and video oggs.

see the comments in link for more details:
https://bugs.freedesktop.org/show_bug.cgi?id=1002

Try a tracker search for "Audio" - it should return all ogg music files but not video ones (unless the word audio is used in the name/path or embedded tag in the video file)


Mr Jamie McCracken
http://jamiemcc.livejournal.com/




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