Generic attributes app

First interesting version : opening symlink is now possible :slight_smile:

5 Likes

I have a first draft version I will continue to polish a little bit.

If someone want to give it a try before I plan a first release, let me know.

2 Likes

I’m pleased to announce the availability of Attrify attribute editor for Haiku:

Features

  • Edit file attributes for any MIME type
  • Support for all standard attribute types
  • Create new files with predefined attributes
  • Multi-window support
  • Drag & drop support
  • Internationalization (EN/FR)

A recipe has been proposed for Haiku Ports, so stay tuned :wink:

7 Likes

Excellent! Using only CLI utilities for attributes are so 80’s! This brings attribute handling up to 90’s-level where it belongs!

1 Like

Moving forward : using EXIF information to fill some BFS audio attributes :slight_smile:

Original audio files are on non BFS volume (NAS) while symlink are on Haiku BFS volume

It will give the opportunity to experiment a little bit more with attributes & queries and continue to explore.

3 Likes

Since Attrify made it to the depot, I decide to have a look.
On x64 nightly (hrev 59228), I had problems to quit the app and I had to kill it.
I also noticed few minor things needing enhancement.

Colour choice when the line is disabled. For example, the line for BEOS:TYPE: can be difficult to read. Invalidated text is of panel background colour. With a dark scheme, both panel background colour and document background colour have a good chance to be dark, leading to a bad contrast. Using a tint a document colour would be better. I’d say either you’re greying the whole line or you are greying the text. If you’re doing both, you’re making the contrast even worse.

Lines height is too small: When the line is selected, you should see the whole navigation selector but the bottom is truncated. You can see that in your screenshot with Audio:channels:

French localisation:
Prefer « Édition » over « Éditer » to stay in harmony with other apps
Upper case letters have to be accentuated. For example : « À propos » or « Édition »

1 Like

Thanks for the feedback.

Concerning the quit issue, I didn’t notice it on R1Beta5, but I will check on the nightly version to reproduce this.

I am nearly certain there is a project somewhere that live-filled (a server running using node monitoring for specified folders or something) BFS indices from ID3, EXIF and various other embedded metadata. The thread about what to use BFS attributes for it reminded me of it; it could be something worth digging up.

Axel also mentioned having a scraper script for movie file attributes; I imagine the sources that Plex etc use are usable for some of this for movies, TV episodes etc.

Regarding your problem to quit the app, I didn’t reproduced on my system with hrev59287 the issue.

Anything special to be done to reproduce that ?

Regarding the other minor enhancements, indeed I can see the issue with the dark mode, and I will look how to fix that.

1 Like

Install StreamRadio, create a station. It will create a playlist x-scpls with one entry the station stream url. (You can see that dropping the station file in a StyledEdit window.) But that playlist file has a bunch of attributes: station url, station stream url (yes, also there), station logo, country, language, audio format, tags, unique id, etc.
You can notice that Attriffy won’t display station logo like the tracker but the icon associated to playlist type.
Have a look at the list then try to quit. Close is somehow working.

The icon displayed is relative to the mime type only (like in Filetypes preferences).

The version 1.0.1 PR has been submitted to haikuports to fix the various points, expect the close issue you have raised because I didn’t get the chance to reproduce it (quite strange as it’s working fine on my machine)

Thanks again for the feedback:)

Tried the new version. “Configurer les attributs mime…” Pas de e en français.
Tried to reproduce it again. Curiously, it only happens when using the menu Open… , if you drag the file in the window, it quits normally.

You’re right : drag and drop with files is OK while using the Open menu is not working fine.

Good news, I can reproduce the issue, so I hope it should be fixed soon:)

Ok version 1.0.2 should fix the problem when you quit the application.

1 Like

I hear you - getting there… :=) (sorry, didn’t catch this earlier)

I am building a related app as a side hustle to my side hustle SEN called “Shoji”, which will support dynamic editing of arbitrary file types based on MIME type aligned templates, so you could have a custom view for different types and specify what fields should be displayed and how the layout is supposed to look like. I am using archived BViews for this, and the prototype already works for generic attribute display and a custom filetype “Book”.

I will later add synchronisation with live updates, so the “model” is always in sync with the fs attributes on disk and updated on changes (e.g. in Tracker).

Have a look at the shoji Github repo.

1 Like

Still waiting for SENtaClaus …

I confirm it’s consistent with the attributes displayed by Attrify :stuck_out_tongue:

However I can see that the application is not closing properly when the window is closed (I have to kill it)

Except that the viewer is working