[haiku-bugs] [Haiku] #9526: Tracker: automatically detect media attributes

  • From: "dsjonny" <trac@xxxxxxxxxxxx>
  • Date: Thu, 14 Mar 2013 14:02:10 -0000

#9526: Tracker: automatically detect media attributes
--------------------------------+------------------------------
 Reporter:  dsjonny             |        Owner:  anevilyak
     Type:  enhancement         |       Status:  new
 Priority:  normal              |    Milestone:  R1
Component:  Kits/libtracker.so  |      Version:  R1/Development
 Keywords:                      |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
--------------------------------+------------------------------
 Usign the 45341 nightly the Tracker only shows the preset attributes. But
 it would be very useful if the Tracker can automatically detect the
 attributes for the files if they are not already set.

 For example: it can show the MP3 files' ID3 tags, or shows the video
 files' codec/length/dimesion info, or the images' format, dimension info.

 Now the Tracker shows "-" for ID3 tags:
 [[Image(id3.png)]]

 On Windows these tags can auto detect (for other OS I do not know):
 [[Image(id3w8.png)]]

 How I think to work: if the Tracker fill the window with the file/folder
 entries, it can check the attributes. If one attribute is present, than
 show it (this how now works), but if not, than it can check the mimes, and
 based on it the Tracker can find out the optional attributes based on the
 file.
 An example: if we have a folder with audio, text, and image files, and in
 the window there are extra attributes visible: artist, title, length,
 width, height, format. If the one of the audio file has and extra
 attribute set, then the Tracker will use that, but if not, then try to
 find out that attribute (for example) using the MediaKit. For the images
 it will try to find out the dimesions using the TranslationKit. And for
 the other files it will do nothing.

 Maybe the best way would be to use add-ons/plugins for the Tracker (I do
 not think for the Tracker Add-Ons now), so in the future it would be easy
 to make this "identity" function for other types too (for example: if
 somebody want to make a "plugin" for compressed files too to show the
 containing files, the compression rate and the original size as
 attribute), so it is not neccessary to modify the Tracke's code.

 The benefit for this is the user do not need to use 3rd party application
 to show/add these attributes manually, because the Tracker would do that.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9526>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: