The scroll-mode title could render blank (particularly for short
titles): overflow was measured once per title with no re-check after
webfonts settled, and a previous title's scroll position/animation
could persist into the next one. Remount the scroll track per title,
snap back to origin plus cancel animations when the title fits, and
re-check overflow once webfonts are ready. The scroll viewport now also
spans the full available width (centered when the title fits) so the
overflow measurement is well-defined in every alignment.
Fixesjeffvli/feishin#2485
Co-authored-by: janviernine <[email protected]>
* feat(player): support Jellyfin player position item property to resume playback
When an item is resumable, Jellyfin returns an `item.UserData.PlaybackPositionTicks` property.
Map this to a new `resumePositionMs` song property and seek to it when playback begins.
* feat(player): report playback position for Jellyfin resumable media
Jellyfin persists the resume position from progress and stop reports for
item types that are resumable (e.g. AudioBook). Progress is reported
every 10 seconds, and the stop scrobble is sent. The stop is sent before
the new track's start because Jellyfin clears the session's now-playing
item on any stop report.
* feat(library): extend Jellyfin library type support to allow audiobooks
* feat(ui): show playlist icons in collapsed sidebar
When the sidebar playlist list setting is on, the collapsed sidebar now
lists playlist images with a name tooltip, the same context menu and
drag/drop, and an accent ring on the currently playing playlist. A
header links to the playlists page, toggles the list, and creates a
playlist. The expanded sidebar gets a divider above its playlist
section.
Owned/shared list logic is shared in useSidebarPlaylistItems instead of
being duplicated per section.
* feat(ui): add hover play overlay to collapsed sidebar playlists
Hovering a collapsed sidebar playlist icon scales it up and shows a play
button styled like the table image column. The button follows the play
button behavior setting, has the shared play tooltip, and holding it
shuffles. The name tooltip opens without delay and icons request the
table image size.
* fix(ui): pad collapsed sidebar playlists header like nav items
Long translations of the header label overflowed the collapsed sidebar.
The album group size input bumped general.imageRes.table whenever
the entered size was >= the current table resolution, silently
rewriting a global setting that affects every table.
getFrame() returned 'macOS' while the renderer's Platform.MACOS is 'macos'.
On a fresh macOS profile the settings sync saw a difference five seconds
after launch and showed the restart-required toast; dismissing it
restarted the app, often in the middle of adding a server.
Prevent unmounting Favorite Songs when switching to an empty source
(e.g. switching between favorites and ratings with 0 tracks).
- Query favorites and ratings in parallel when capabilities allow
- Only unmount when neither source has tracks
- Display centered empty state string when active source has no tracks
- Hide "View all" header button when there are no songs
Prevent unmounting Top Songs when switching to personal with 0 plays,
which previously destroyed the toggle and locked the user out.
- Query community and personal top songs in parallel
- Only unmount when both sources return no tracks
- Display centered empty state string when active source has no tracks
- Hide "View all" header button when there are no songs
* chore(deps): bump electron to 43.7.0
* fix(window): set forceQuit on all platforms
With "Exit to tray" on, SIGTERM/logout/menu quit on Linux and Windows got
cancelled by the close handler and left the app running hidden.