Tracker: automatically detect media attributes
|Reported by:||dsjonny||Owned by:||nobody|
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.
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.