Features
Albums
Albums by hand and albums with rules. How rules match, similarity thresholds, previews, why a media is or isn't in, an album's own order, and its look.
An album is a collection of media you name. Media gets into an album in two ways, and an album can use both:
- By hand: you add it, from a media's page, the right-click menu or the selection bar.
- By rules: the album's rules pick media for you, and keep picking as the library changes.
The Albums page
Albums lists the library's albums as cards (each with its mosaic, name and count) or as a table. Open one to see its media as a list you can search, filter, sort and select. An album's page has three tabs: Media, Rules and Settings.
Adding media by hand
- On a media's page, use the Albums card.
- Right-click media, or a selection, and choose Add to album….
- With media selected, use Add to album in the selection bar.
You can make a new album from the same dialog. Media added by hand stays until you remove it, whatever the rules say.
Rules
A rule describes media the album should have. Open the album's Rules tab and add one. Each rule is a card in the list, saying what it asks for and what it matches; click it to open it in its editor. A rule is built from parts:
| Part | Matches |
|---|---|
| Search | Media similar in meaning to some words, such as dogs playing in snow. All of a media's text counts: titles, descriptions, the text in it, tags, as well as its picture. |
| Like these | Media similar to key media you choose, from the media you've added to the album by hand. |
| Filters | The same filters as the media page: type and file type; tags, all or any of them; people, any or all of them, by confirmed faces or not; other albums, in all or any of them; when it was taken; favorites, NSFW and failed steps, yes or no. |
A rule can have a search or key media (it compares against one target), plus any filters. Every part a rule has must pass. A rule with no parts matches nothing; it never means "everything".
There's no limit on how many media a rule picks: it matches everything that passes.
Similarity thresholds
A rule with a search or key media matches at a similarity threshold. In its editor, a slider sits over a histogram of how similar the whole library is to the rule's target, and as you move it, the rule shows:
- how many media it would match,
- its strongest matches,
- the weakest still in, and
- the ones that just miss.
Hubstruct also suggests a threshold where the similarity drops away. Similarity is a continuum (everything is a little like everything), so there's no right answer. Set it where the edge looks right to you.
Previews
Every rule previews live as you edit it: its matches, and how many only it brings in, appear in its editor before you save. Save it, or cancel, from the editor; closing it with changes asks first. Switching a rule on or off, moving it and removing it save straight away, from its card. Once saved, the worker fills the album.
Several rules
Rules don't claim media. The album's rule picks are the union of its switched-on rules' matches: a media in by two rules stays as long as either still matches. You can:
- Switch a rule off to stop it picking without deleting it. Switched-off rules are still evaluated and counted, so you can see what they would do.
- Reorder rules: the album's default order lists each rule's picks in turn, best first.
- Duplicate a rule to start a similar one: it opens as a new rule below it.
- Remove a rule. Its picks leave the album, unless another rule or your own hand has them.
Albums from albums
A rule's filter can include other albums: "in Holidays and in Family", or "in any of 2023, 2024". The album is then refreshed whenever an album it includes gains or loses media, after that album, so it always sees its latest members. Hubstruct refuses a rule that would make an album include itself, directly or through others.
How albums stay up to date
The worker's albums pass keeps rule picks current:
- When you save an album's rules, it's refreshed straight away.
- Every 15 minutes, every album with rules is refreshed in full, because new media, new tags and new embeddings change what rules match.
- Albums that include other albums refresh when those change.
New media joins the albums it matches once its steps have run. A media whose embedding isn't made yet is found by filters only, not by searches or key media.
Taking media out
Removing a media from an album:
- Added by hand: it's simply removed.
- Picked by a rule: it's removed, and the album remembers. The rules won't pick it again, so a rule that's slightly too broad doesn't keep putting back what you took out.
Why is this media in, or not?
On a media's page, the Albums card shows each album it's in and how: by hand, or by which rules. For any album, you can see every one of its rules judged against this media: whether it matches, and if not, why. Either its similarity falls short of what the rule needs (shown on a bar around the threshold), or a filter fails. Each links to the album's rules, so you can adjust them.
Its order
An album's default order is the media you added by hand first, then each rule's picks in turn. You can give it its own order instead:
- Keep a sort: sort the album by anything (date taken, title, views…) and choose Keep in the toolbar's Album order group. That becomes the album's own order, whatever the list is sorted by, until you reset it.
- Place one media: choose Set position… from its menu on the album's Media page and give it a number. 1 is first.
- Reset returns to the default order.
In the table view, Album order is a column you can sort by.
Its look
In the album's Settings:
- Name and description (up to 200 and 2,000 characters).
- Color: the album's color, which marks it everywhere: its dot, the wash over its picture and its page's header. Leave it on Auto to have one picked from the name.
- Cover: the media shown first in the album's picture. Choose Make album cover from a media's menu on the album's Media page; clear it to go back to the album's first media.
- Delete the album. Its media isn't deleted, only the album.
The album's picture
An album's picture is a mosaic of its first few media, made on the server. It's remade only when the media in it change, so it's cached in your browser the rest of the time. NSFW media in a mosaic are drawn as their blurred placeholders when NSFW hiding is on. Tags and people have mosaics too.