Skip to content

Releases

v2.18.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 19:10

Added

  • Devices: album covers at the size a device asks for. /api/device/changes?cover_size=N lists up to 60 albums with a signed address each, and GET /api/device/cover/<id> answers those addresses, with no token, for a device that can't send one with an image request, such as a Garmin watch.
  • Navidrome: each member can give their Navidrome username on Profile, proved once with their Navidrome password, which is never stored. Their Navidrome playlists then sync as theirs, private ones staying private, and their mirror copies go into their own Navidrome account. The account Trobar uses must be a Navidrome admin, and Administration says whether it is. A private Navidrome playlist whose owner isn't a member yet is visible to administrators only. See Subsonic.
  • Mirrors: when a write undoes edits made on a mirror's copy since the last one (a track added there, or one removed), Administration > Playlist mirrors says how many, the .m3u folder included, and Show lists them. The playlist's owner sees the count on its mirror icon. See Playlists.
  • Integrations: GET /api/integrations/playlists says which playlists each device has and how complete each is, with the server's totals; POST /api/integrations/actions/playlist-sync starts a playlist sync, as the web UI's button does. Private playlists are listed without their titles. For Home Assistant playlist entities and a sync button. See the integration API.
  • Source health: a playlist source that fails 3 syncs in a row, for at least 12 hours, shows in the header for admins until it recovers, and Administration lists every source and how it has fared. Integrations read it from GET /api/integrations/playlist-sources.
  • Music Assistant: an admin can give each streaming account Music Assistant holds (a member's Tidal favourites, say) to that member, in Administration. Its playlists become theirs and private to them, and other members' device selections of them are removed at the next sync, after a warning that says how many.
  • A device can set its own Artist images (Off, Small or Full) from the app, as the web UI can.
  • A Sort choice on the Playlists tab: Availability, Most tracks, Newest in Trobar or Name. Each browser remembers its own.
  • Public Tidal playlists by link, in the same box as Spotify and YouTube Music links: no Tidal account, read with the server's Tidal app, in full, with each track's ISRC for exact matching. See Tidal links.

Fixed

  • Navidrome: when the account Trobar reads through is a Navidrome admin, other users' private Navidrome playlists were synced as household playlists every member could see. A private one whose owner isn't a member is now visible to administrators only, and members' selections of it are removed at the next sync.
  • The Re-pair confirmation no longer says the current pairing stops working at once.
    It keeps working until the new app uses the code, within its 20 minutes.
  • Signing in with SSO right after logging out no longer fails on the first try
    when another Trobar tab is busy: the sign-in keeps its state in a cookie of
    its own, which no other page can overwrite.
  • A playlist mirrored to Emby keeps its note ("Trobar mirror — N of M present").
    Emby reset it a few seconds after each write; the note is now written again
    once after each sync or edit, 6 s after its last write.
  • The login page's "or" divider and the setup steps' dots and connectors show
    in every theme, and the sign-in and setup buttons show their hover. They were
    invisible.
  • The unmatched-tracks panel on a playlist, a device's unknown-files panel and
    the Shared badge follow the theme. In dark themes they were cream boxes with
    near-invisible text.
  • Matching a playlist track whose title holds thousands of brackets or spaces
    no longer takes seconds: a title of 50,000 took about 15 s and now takes
    milliseconds.
  • A playlist mirrored to Music Assistant and rewritten twice within a second no
    longer reports "the tracks are there, in a different order" when they are
    right.

Changed

  • Each person's Tidal refresh token is encrypted at rest, with the same key as
    the credentials that send plays. The ones already stored are encrypted at the
    first start, and everyone stays linked. If the key is lost, each person
    connects Tidal again on their Profile.
    See Upgrading.
  • App API level 7: on the phone, the Home album widgets (Suggestions, Recently added, Recently released) leave out albums already selected for that phone, and still fill to their size.

If Trobar is useful to you, you can support its development on Ko-fi: https://ko-fi.com/missingfoss

v2.17.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 07:18

Security

  • The pinned Python dependencies are up to date. This clears the published
    advisories that 2.16.0's pins carry in Authlib, Brotli, certifi, joserfc,
    Pillow, urllib3 and Werkzeug.
  • Forward auth refuses a request without the identity header, and warns at
    start-up when it runs on the development server's fallback.
  • Pairing a provider is admin-only.
  • Changing a password asks for the current one. Logout, a password change or a
    reset end a session; sessions otherwise slide over a set lifetime.
  • Last.fm uses HTTPS by default, and its API key stays out of the log.
  • Rate-limit entries are dropped once their window has passed.
  • OIDC login now requires the identity provider to return the nonce. A provider that doesn't will refuse logins. Standard providers, Authentik included, are not affected.
    See Upgrading.

Added

  • Rule playlists: a playlist filled from a rule over your library, refreshed on
    every playlist sync.
  • Playlists made in Trobar: create, fill from the Library, reorder, rename and
    delete, and add a single track from an album's track list.
  • Upload a .m3u or .m3u8 as a playlist, and download any playlist as .m3u8.
  • Share a Tidal playlist with another member, one-way or two-way, once an admin
    allows it. Its invitations show as a badge in the header.
  • Choose which selected playlist a watch plays.
  • Playlist sync on a schedule, and after a library scan that changed tracks.
  • Each playlist mirror shows what it holds, run by run.
  • Administration can run the setup wizard again.
  • Cancel a running job. Jobs stop cleanly when the server shuts down.
  • /healthz, a cheap health check.
  • A backup recipe for a running server.
  • AIFF files are scanned.
  • Album covers: a picture beside the files counts when none is embedded, and
    thumbnails have a small cached variant.
  • Finished transcodes are kept in a capped disk cache.
  • Sync to… shows, per device, what it holds, this send, and its room.
  • App API level 3: make playlists from the phone.
  • Devices can report plays, kept only for someone who turned that on. While
    it's on, they feed that person's Suggestions and Most played. While it's off,
    they stay stored but aren't used. The switch is under Profile, with a way to
    delete what is stored.
  • Plays you keep can go on to your own Maloja, ListenBrainz or Last.fm, each its own
    switch: new plays only, once each. Their credentials are stored encrypted.
  • App API level 4: see what is selected for a device from the phone, and remove it.
  • The App API serves a Playlists widget for the app's Home: what has most left to sync to a device.
  • Clicking an album opens it: a larger cover, the year and the track list, with the album or one track to add to the basket or a playlist. A checkbox on the cover now selects several albums, and the list view's Tracks button is gone.
  • App API level 5: an album's tracks.
  • App API level 6: the library by album artist, with what an artist appears on.
  • A playlist added by a public link carries a link badge in the playlist list, and each link in the "Add a public playlist by link" panel shows its provider's icon.

Changed

  • Pairing codes last 20 minutes, not an hour.
    See Upgrading.
  • Playlists match by MusicBrainz recording id, after a one-time tag re-read.
    See Upgrading.
  • The first library scan reads every file once.
    See Upgrading.
  • ALAC in .m4a is now transcoded.
    See Upgrading.
  • New downloads go into album-artist folders.
    See Upgrading.
  • An album selection includes the album's guest tracks.
    See Upgrading.
  • The Library groups albums by album artist, and an artist selection
    includes theirs.
    See Upgrading.
  • Playlists have one Actions menu per row. Devices has a tab of its own.
  • Five actions that throw something away now ask first, and switching off Keep
    device content says how many tracks will go.
  • Matching uses the album to break ties, takes ISRCs from Tidal and Spotify,
    and compares normalised titles.
  • Device-made playlists: a match by file name is a suggestion to accept.
  • The selections table locks boxes, confirms an untick and offers Forget.
  • Suggestions and Most played say when a history source didn't answer, and those
    services' answers are kept for five minutes.
  • The image holds no unit tests or build-only inputs.
  • Accessibility: named form controls, one dialog behaviour, a visible focus ring,
    a skip link, and larger touch targets.

Fixed

  • A library scan no longer holds up logins and syncs while it reads files, and
    writing a playlist's mirrors no longer holds them up while it reaches the
    target.
  • A library scan refuses to remove most of the library, and keeps what it
    couldn't read. A moved file keeps its track, and a file vanishing mid-scan no
    longer stops the scan.
  • A rescan reaches the devices, and a playlist's changes reach the devices that
    select it.
  • A failed transcode no longer sends an empty success.
  • An unreachable identity provider no longer fails sign-in or logout.
  • Setup wizard: a rejected setting stops the step.
  • Web UI: failed calls report an error instead of passing silently.
  • Basket: an older answer can no longer bring sent items back.
  • Log out works: the menu sent a request the server refuses. It's hidden where
    a proxy owns the session.
  • An artist's count of albums they appear on now matches the list when two albums share a name.
  • Scheduled and after-scan playlist syncs now run on an install older than the setup wizard, which never recorded setup as done. Such an install can't go back to an older build without restoring its backup.
    See Upgrading.
  • The Playlists tab no longer sits empty for seconds after a page load on a large library: the selection list reads its album counts in one query, and the playlists no longer wait for it.
  • A playlist from a linked Tidal or Spotify account no longer also appears as Music Assistant's copy of it.
  • Switching away from Roon stops the connection to it at once, with no restart, and saving settings no longer reconnects it.
  • Tidal playlists are listed from the address Tidal now serves them at. Tidal retired the old one, which made each Tidal sync fail at that first step.

If Trobar is useful to you, you can support its development on Ko-fi: https://ko-fi.com/missingfoss

v2.16.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 05:44

Before you upgrade

  • Filesystem mirrors move into per-user folders. On the first sync, each playlist is rewritten into <mirror folder>/<user>/music/, and playlists nobody owns go to _shared/music/. Point Kodi or any other player that reads the mirror folder at a user's folder or at _shared/.
  • Pairing now uses an 8-character code. Profile → Devices shows a short code and QR code, valid for an hour, in place of Regenerate + QR. The desktop app v0.11.0 can't read a code yet: use Older desktop app? Get a config file instead in the code dialog.

Details: Upgrading.

New

  • More mirror targets: Plex, Music Assistant, and Jellyfin/Emby mirrors that write each member's copy into their own account.
  • Kodi: per-user mirror folders, so each Kodi profile reads only its own user's playlists.
  • Playlists made on a device are read back into Trobar and sent out to the mirrors.
  • Public Spotify playlists by link, read through Spotify's embed page. This is an unofficial source, capped at 100 tracks.
  • Music Assistant as a library provider and as an extra playlist source.
  • Maloja as a listening-history source.
  • Lidarr: request a playlist gap's missing album, looked up in MusicBrainz.
  • App API level 2: the playlist section that the Android app's Playlists tab uses.
  • Administration: configuration in named, collapsible sections; Users and Delegations together in one Users tab; a Playlist mirrors tab that shows each target's state; and a guided dialog for switching library provider that carries playlists over to the new one.
  • Home: each paired device keeps its own widget set, cover widgets have a cover count, and devices can have an icon of their own.
  • New look: the Occitan rosette and five themes that recolour the whole UI. The documentation site follows your system's light or dark setting.

Fixed

  • Library search finds album titles, and finds tags written with typographic hyphens or accents when you type the plain ones.
  • In dark mode, the sync toast's text is readable again.
  • Roon: the Artists menu is found reliably.
  • The web page no longer runs its startup twice per load.

v2.15.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 11:54

Full Changelog: v2.14.0...v2.15.0

Trobar 2.14.0 — the About tab

Choose a tag to compare

@missingfoss missingfoss released this 23 Aug 12:53
v2.14.0

initial public release