Skip to content

SyncMusic 0.2.6-28 (beta)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Nov 22:06

Downloads

What For whom / which to pick Download How to install
SyncMusic server, web UI Most users: a server or NAS (Linux x86_64) syncmusic-web-0.2.6-28-linux-x86_64 curl -fsSL https://raw.githubusercontent.com/Bionded/SyncMusic/main/install.sh | sudo bash -s -- --version 0.2.6-28 (or chmod +x the file and run it)
SyncMusic server, web UI Raspberry Pi and other ARM 64-bit Linux syncmusic-web-0.2.6-28-linux-aarch64 same as above
SyncMusic desktop A Linux desktop: the app in its own window (x86_64) syncmusic-desktop-0.2.6-28-linux-x86_64 chmod +x the file and start it
SyncMusic desktop A Linux desktop on ARM 64-bit syncmusic-desktop-0.2.6-28-linux-aarch64 chmod +x the file and start it
Docker image Docker / compose users (amd64, arm64) ghcr.io/bionded/syncmusic:v0.2.6-28 docker pull ghcr.io/bionded/syncmusic:v0.2.6-28
SyncMusic app for Compás (HiBy R1), hard float Use this one (faster) syncmusic-compas-0.2.6-28-hard.zip Unzip into .apps/ on the SD card
SyncMusic app for Compás (HiBy R1), soft float Only if the hard-float app closes at once or does not start syncmusic-compas-0.2.6-28-soft.zip Unzip into .apps/ on the SD card
compas-sdtool Optional: the SyncMusic server downloads it by itself for Compás players (x86_64) compas-sdtool-linux-x86_64 Nothing to do
compas-sdtool The same for ARM 64-bit servers compas-sdtool-linux-arm64 Nothing to do
Checksums Verify a download: sha256sum -c --ignore-missing SHA256SUMS SHA256SUMS

Compás app: after unzipping, the card has .apps/syncmusic/; open Apps → SyncMusic and approve the first start. If the player says Could not start the app right after the copy, restart the player. Guide: https://github.com/Bionded/SyncMusic/blob/main/docs/10-compas-app.md

Test build 28 of main - may have bugs.

Changes since v0.2.5

Changed

  • Wi-Fi clients: approving a player (or pairing it with a code) opens its setup right away — name, what it gets and processors, the same steps as registering a USB player. Until it is finished the player waits instead of failing its first sync, and the Devices page offers Finish setup.
  • Wi-Fi clients: a player asking to connect can be given its name on the Devices page before you approve it, and renaming a paired player on its device page (or in its app) renames it everywhere; the app shows the server's name. The player's name is set only on the server (in the request card or the setup after approving); the Compás app shows it and no longer asks for one.
  • Compás app: released as two downloads — syncmusic-compas-<version>-hard.zip (recommended, faster) and -soft.zip (use it if the hard-float app does not start on your player). Updates from the server keep the build a player runs; install steps and links are in the README and the release notes.
  • Every release page (stable and beta) starts with a downloads table: server and desktop binaries per architecture, the Docker image, both Compás app builds and compas-sdtool, each with who it is for and how to install it.
  • Compás app: a short press of Power switches the screen off and on; with the screen off the app now only turns the backlight off and keeps the player awake, so the Wi-Fi connection stays up.
  • Compás app: when the server holds a newer app, the app asks right after it connects (Update / Later) instead of only showing a button; an app newer than the server says so. The device page shows the app version the player runs and the answer.
  • Wi-Fi clients: the SyncMusic app for Compás players gets a whole sync in one go: the server prepares each file just before the app downloads it instead of preparing 2 GB parts in advance, so a large library needs almost no disk on the server, and stopping a sync continues where it stopped next time.
  • Ratings and favourites pass back exactly as each player has them (stars to ratings, hearts to favourites, never converted), and a device's reverse sync settings show only what that player records.
  • Players that ask to connect without a code are now approved on the Devices page (with a count on the Devices menu item) instead of in Settings → Wi-Fi clients.
  • Every Wi-Fi client app may now confirm a sync that needs a confirmation (many removals, not enough space) on the player by default; the device setting The player may confirm a sync only turns this off.
  • Pairing codes for Wi-Fi clients are 8 digits (easy to type on a player), valid for 1 minute by default, and a client address gets at most 2 pairing attempts per second.

Added

  • Devices: a player that was added twice — once over USB or a card reader and once as a separate Wi-Fi device — gets a Merge with … offer on both device pages. Merging keeps one device with the USB record's settings and templates, the name you choose, and the Wi-Fi record's app pairing, history and listening data (plays already sent are not sent again).
  • Wi-Fi clients: when a Compás player asking to connect holds the card of a device you already registered over USB, its request card offers This is : add Wi-Fi to it — the player keeps one device record (settings, rules, history) instead of a second one. Its device page shows its own type and how it is connected now (Wi-Fi, or USB while it also syncs over Wi-Fi). A complete Wi-Fi sync writes the same manifest onto the card as a USB sync, so syncing that card over USB afterwards sees the Wi-Fi files as its own, and a Wi-Fi sync after a USB sync starts from what the USB sync left on the card.
  • When a sync stops twice on an I/O error, the device page offers Skip that file and continue: the file it stopped at is left out for a day, the file system is repaired and the sync continues.
  • Wi-Fi clients: the device page shows the real transfer speed to the player and the time left while the app downloads.
  • HiBy R1 with Compás (USB and the Wi-Fi app): album ratings sync both ways with Navidrome and other Subsonic servers.
  • Wi-Fi clients: the device page shows how much waits for the player on the server's disk, with Clear to drop it.
  • Wi-Fi clients: Sync now on the server starts the sync in the player's app at once while the app is open (the app listens for it); until then the device page shows that it waits for the player.
  • Settings can download the newest HiBy R1 Compás app from SyncMusic's release, so paired players update themselves without copying the zip by hand.
  • Wi-Fi clients can ask to connect without a pairing code: the request shows up in Settings → Wi-Fi clients with a short code that the player shows too, and you approve or reject it there ("Allow pairing requests", on by default). The reference client does this with pair --request.
  • SyncMusic app for HiBy players with the Compás firmware (HiBy R1), released as syncmusic-compas-<version>.zip: it pairs and syncs over Wi-Fi like the USB connection (music, audiobooks, podcasts, playlists, plays, hearts, positions), shows progress and a preview before a sync, keeps a sync history, guards the battery and updates itself from the server; the server builds the player's library for it so new music shows right after the sync. New user guide page: SyncMusic app for Compás players.
  • Wi-Fi clients: the listening data in the sync plan also says whether a podcast episode or audiobook is finished, and podcast episodes carry their publication date.
  • Wi-Fi clients: the sync plan now gives each file's modification time, can carry a set of files the server built for the client (installed all at once, with a commit file), and tells the client what to do after a sync that changed something (device setting "After a sync that changed something": nothing, refresh the library or restart the player). The reference client follows all three.
  • A player that the system already mounted (Umbrel, a desktop's automount) is used through that mount and never mounted a second time; SyncMusic now waits a few seconds after a disk is plugged in for such an automounter (Settings → Disks & mounting, "Wait for automount"). "Use an existing mount" in the device settings can refuse such players instead. An eject after a sync leaves another program's mount alone unless "Unmount other mounts when connected" is on.
  • "Stay ready between syncs" (device settings; on for newly added devices, default in Settings → New devices): a disk device stays connected but unmounted whenever nothing uses it, so it can be unplugged or switched off at any time; syncs mount it again by themselves. Browsing a stay-ready player's contents mounts it read-only, so looking never writes to it.
  • Ejecting a FAT or exFAT player (or USB drive) now checks its file system read-only after unmounting it. If the check finds errors, the eject stops with a message and the player stays connected so you can repair it from the device page. Before, the damage only showed up at the next connect.
  • If both copies of SyncMusic's sync record on a player are damaged, the device page offers Rebuild from files: the damaged copies are moved aside and the next sync starts as a first sync that can adopt the files already on the player, instead of wiping it.

Fixed

  • Compás players synced both over USB and by the Wi-Fi app keep each playlist as one Playlists/<name>.m3u file: a Wi-Fi sync no longer deletes the copy a USB sync wrote and sends it again.
  • A registered player's card in a USB card reader (recognised by its manifest or file system) can be ejected, repaired and synced again; it was refused because the reader reports another serial.
  • The SyncMusic app for Compás players from the beta build closed at once on the HiBy R1: it is built with the Go version that runs there again, and the build now checks that the app starts.
  • Wi-Fi sync in the Compás app no longer fails with "ack: EOF" when a connection to the server was dropped: the app retries such calls, and the server keeps idle connections open longer.
  • Wi-Fi clients: a sync larger than the server's outbox budget shows its progress, size and time left for the whole sync (all windows), on the device page and in the Compás app, instead of restarting the count for every part.
  • A Wi-Fi client's sync that waits for your confirmation (too many removals, does not fit) or failed now says so on its device page, with a Review plan button, instead of showing that the plan is being made.
  • The buttons under a sync error on the device page now wrap on phones instead of scrolling sideways.
  • Wi-Fi clients: Cancel on the device page now stops a sync the player's app is running (before, it only withdrew a pending Sync now).
  • Wi-Fi clients: two sync starts at the same moment (a retry or a double tap) no longer open two sessions.
  • When writing to a player stops with an I/O error mid-sync, SyncMusic now checks and repairs its file system and continues the sync from where it stopped, once; if the error comes back soon after, the device page says the storage may be failing.
  • The damaged-file-system banner's button is now Repair and continue: after the repair it syncs again from where the stopped sync left off.
  • A device mounted by SyncMusic inside a container that also shows the host's file system (for example under /mnt/root) is no longer reported as "mounted a second time", which stopped syncs and repairs.
  • Wi-Fi clients: a large sync no longer copies the whole library into the server's outbox first. The server prepares up to 2 GB at a time (device setting Outbox budget), the player's app fetches it and syncs again for the next part; prepared files share the processing cache's copy instead of being copied a second time.
  • Compás (USB and the SyncMusic app): star ratings now sync both ways: stars you give on the player become the song's rating in your library and your library's ratings show on the player. Hearts and stars pass as they are: players with star ratings (Compás 1.6.0 and newer) sync ratings only, older ones favourites only; a favourite is never turned into 5 stars or back.
  • Devices: requests from players that want to connect show the name and code the same way on every row and are separated from each other.
  • A playlist edited on a Wi-Fi client whose file name differs from the library name (for example Rock - 80s for Rock: 80s) now updates the library playlist instead of creating a new one.
  • A podcast episode or audiobook marked finished in the library without a new position now shows as finished on file-based players too.
  • Podcast episodes marked finished near their end are no longer reported back as played to the end again on every sync.
  • HiBy R1 (Compás): an audiobook's bookmark no longer jumps back to an earlier chapter that the library marks as listened to.
  • Wi-Fi clients no longer download unchanged playlists again on every sync.
  • A newly paired Wi-Fi client with nothing chosen for it yet gets a clear reason (no_templates) instead of a server error, and the server logs one warning without a traceback.
  • A player mounted by another program through FUSE (exfat-fuse, ntfs-3g) or read-only is now recognised as mounted: SyncMusic uses that mount instead of mounting the player a second time, and refuses to write through a read-only one.
  • A sync stops before its next write when another program mounts the player a second time while SyncMusic is writing to it, and the device page shows why.
  • The device page's Capacity card keeps showing the disk space when the sync records are damaged, instead of an error.
  • A device whose size or path-length limits changed (for example a disk first seen as FAT, later as NTFS) no longer gets every file written again: files that fit the new limits stay. A disk the operating system mounted with ntfs-3g is now recognised as NTFS. The sync report lists how many files were replaced and why.
  • An automatic eject after a sync no longer crashes when the operating system had already unmounted its own mount of the disk.
  • A player whose sync record was deleted (for example by a file system repair) is no longer treated as a new, unmanaged device: its backup copy is used.
  • A damaged SyncMusic list on a USB-storage player ("manifest is not UTF-8") no longer stops every sync. SyncMusic now keeps a second copy next to it and uses that copy if the first one is damaged.
  • The log no longer fills with hundreds of "event subscriber queue full" warnings during a sync while a browser tab is slow. Progress updates for a slow tab are merged, other events always arrive, and the warning appears at most once a minute.

Commits

  • fixed devices with several connections
  • mass improvments for wirelees client and compas app
  • Compás app improvmets
  • support for compas 1.6.0 and many fix for api clients
  • a lot changes fo api and compas support
  • chore: main is 0.2.6 (betas until the next release)