I would like to request columns based on information and tags from flac and mp3, to be able to sort a folder by track length, bitrate, artist or track number for example.
I could try to do it myself if someone points me in the direction what files need to be altered.
Designs
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
In order to dont duplicate the related media-tag code, I think it would be good to have a thunarx API for additional sort-columns. Like that the thunar-media-tags-plugin could offer different additional columns.
Best first build an easy patch, like suggested by brainwash, for a single attribute. So you know how stuff generally work.
After that you can take a look on how the media-tags-plugin e.g. does contributions to the property-menu.
Than you would need to define a similar interface for the column model and teach thunar in some way to consider plugin columns. Whenever a folder is opened, the plugin would need to provide the content for each file.
That would require some redesign in thunar itself for the way columns are handled. It for sure would be a good bunch of work.
Hmm ... the more I think about it, the less I like all the extra-complexity this would introduce. Maybe better to just add taglib as optional dependeny to thunar itself. Looking at the code of the media-tag plugin, it seems to be slim & simple to use.
Hi Alex, is there any scope to develop this further? Sorting by media columns would be really useful. While it's nice to be able to rename based on media files within Thunar, realistically there are dedicated programs with much more power and fine control for this activity. Whereas Thunar is the only place where media tags could be used for file management/sorting.