Skip to content

Refrain v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 03:34
· 34 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • Native Apple Music clients are picked up. Until now Refrain only
    listened to browser tabs on music.apple.com, so a desktop client
    went unnoticed. Slipmat, Cider and Sidra are recognised out of the
    box, and app_hints in config.toml takes any other client. There
    is no page for them in Settings; the config file explains itself
    where the setting sits, and app_enabled = false turns them off.
    They report the song length themselves, so a song Apple's catalogue
    doesn't know still gets a scrobble and an end time on the Discord
    card. The Listen on Apple Music button links to the song in Apple's
    catalogue, so it is there for a native client too — it stays off only
    for a song the catalogue does not know, and an address a client reports
    itself is used only when Apple Music is the site it points to.

Changed

  • PySide6 6.6.2 is now the oldest version Refrain runs on, up from
    6.6.1.
    Reading the desktop's dark mode from the portal asks the
    reply to unwrap a D-Bus variant, and on 6.6.1 that loses the value or
    crashes outright, so on GNOME Refrain would not have started. The fix
    landed in 6.6.2. Distributions carry far newer versions; this only
    matters if you pinned 6.6.1 by hand.
  • The cover stands on its own while nothing is playing. In the
    Status window the Refrain mark sat faded inside a grey square; it is
    now drawn larger and in its own colours, with nothing behind it.
  • Apply is only there when there is something to apply. It used to
    sit greyed out next to OK and Cancel; it now slides in with the first
    change and leaves again once the form matches what is saved.
  • The quiet buttons react to the mouse like the GitHub mark. Show
    all
    , Legal, Turn on Recently played, Skip for now and the
    button on a service line that is switched off drew no frame under the
    pointer while the mark beside them did, which read as if they were not
    buttons at all.
  • A remaster tag is left off what you read. "Glass Tides (2016
    Remastered)" shows as "Glass Tides" in the Status window, in the tray
    and on the Discord card: a remaster is the same
    performance at a new mix. An edit, a version, a live take and a
    "feat." credit all stay, because each names a different recording —
    "… - Remastered 2015 - Live" keeps its "- Live". The album line on the
    Discord card drops the tag as well, instead of showing it again
    underneath. Last.fm, the history and the catalogue lookup keep the
    title exactly as the player reported it.
  • The Last.fm page says less. The note under the options repeated
    that scrobbling runs alongside Discord and pauses with Privacy; what
    is left is how to connect and where the secrets are kept.

Security

  • Three more files are written owner-only. The kept cover images,
    the Status window's size and the marker for crash reports already
    seen came out readable by anyone on the machine. They now go through
    the same helper as everything else, which also means the crash marker
    is written at all when the state folder is still missing.
  • Pausing sharing now also stops a song that was already on its way.
    Pause sharing kept the serving thread away from Discord, but a
    payload handed over a moment earlier still opened a connection. It
    never showed anything, and nothing was shared — but reaching for
    Discord at all is what the setting forbids.
  • The secrets file is written the way every other private file is.
    Without a keyring, the Last.fm secret and session key go to a file of
    their own. The temporary file it is written through carried a
    predictable name and was opened without O_EXCL and O_NOFOLLOW, so
    a symlink planted in its place would have sent the secret wherever it
    pointed. That write now goes through the same helper as the rest, which
    refuses to follow one.

Fixed

  • A theme change reaches the last few colours too. Qt writes the
    colour a stylesheet takes from the palette once and never revisits
    it, so the border of the first-run card, the hints in Settings and
    the version line kept their old colour when the desktop switched
    between light and dark. The Play and Pause sharing glyphs stayed
    on the old shade after a style change as well.
  • Unticking every browser no longer looks like it worked. The empty
    list was thrown away on save, so Apply came and went as if something
    had happened and the next open showed all fifteen ticks back. The last
    tick is held down now, and the hint says what to do instead: turning
    the browser source off reads none at all. A name typed in Other
    frees the tick again, and emptying the group that way is refused with
    a reason rather than in silence.
  • The Sources tab says what it means. Detected browsers and
    Detected apps detect nothing — both are fixed lists of names Refrain
    knows — and They share the switch above did not say that turning the
    browser source off turns the native clients off with it.
  • Text that is working is no longer greyed in. Visible on your
    profile
    , Scrobbling as … and the song, album and Recently played
    lines came out dimmer than the text that is dimmed on purpose. A
    refresh while the window sat in the background picked up the colour
    the theme uses for an unfocused window and wrote it in to stay.
  • The playback buttons are visible outside Plasma. Adwaita 48 and
    other current icon themes ship only the -symbolic spelling of a
    name, which Qt does not look for on its own, so sixteen of the names
    Refrain asks for came out empty on GNOME, Previous, Play and Next
    among them. Refrain now falls back to that spelling and paints it in
    the text colour. The icons in the tray menu, the Status window and
    Recently played are fetched again when the desktop switches between
    light and dark, so they stay readable either way. Themes that carry
    the plain names, Breeze among them, are untouched.
  • The window follows the desktop's dark mode. Outside Plasma, Qt's
    palette is built from the GTK3 theme, and GNOME's dark mode only
    reaches GTK4 — so the window stayed light however the desktop was set.
    Refrain now reads the setting from the desktop portal and follows it,
    live, and only where the palette contradicts it. A desktop that goes
    back to having no preference gets the choice back, rather than being
    left on whatever Refrain last set.
  • The edit that is playing is the one looked up. A song released as
    several edits comes back from the catalogue several times, and Refrain
    took whichever came first — the length of a 1:48 edit ended a 2:07
    song nineteen seconds early. The version tag in the title now picks
    the right one; the album's tag helps where the title carries none, but
    no longer stands in for one that contradicts it. A length Refrain
    measured itself is kept per edit instead of being shared between them,
    and the same recording counts as one song whether the album arrived
    from a browser or over Bluetooth. Everything already looked up is
    looked up once more, so the fix reaches the songs you have played
    before.
  • Discord is reached before the first song again. With nothing
    playing, the Status window claimed the Discord app wasn't running, and
    a refused Application ID stayed hidden until a song started.
  • A private browsing window is named as the reason. Firefox keeps
    the page to itself there, so Refrain cannot tell what is playing no
    matter how the tabs are arranged. The hint used to send you through
    them; it now says what is going on.
  • Restarting Refrain brings the Status window back. Restart Refrain
    handed every start-up option to the new process, --silent among
    them. Started from the autostart entry, Refrain came back without a
    window — and a restart for a new language left nothing to look at.

The AppImage bundles third-party software under its own licences; the
list, with versions and where to get the source, is in THIRD-PARTY-NOTICES
below and inside the AppImage. Versions that were taken down, and why, are
listed in docs/releases.md.