Re: [Tracker] tracker-extract-xine + tracker-extract-gstreamer + cleanups



Edward Duffy wrote:
g_spawn_sync returns FALSE if we could not execute totem, mplayer or
xine so it would be good to try them in that order until one of them
returns TRUE.


That's not necassary.. the loop that iterates over the "extractors"
array (tracker-extract:176) will keep going if an extractor does not
return any metadata.  So, if mplayer is not there, it'll try totem,
etc.

yeah I know but what if the video file has no metadata?

Should we still iterate or stop when we know there's none?

searching for video metadata can be slow if file is really big (1GB+) so would be nice to avoid this.

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




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