Repository navigation
Built by GitHub Actions from tag
v2.5.1(commitb85e317) in this run.
Tag: v2.5.1 · Apple Silicon, macOS 26 or later · version 2.5.1 (build 51)
English
Music Manager 2.5.1 follows 2.5 with a fix for a crash when dragging the player's progress bar, a first set of tools for runners (live PacePro forecast in the player, a reworked Running Tool panel, miles, a pace calculator) and better handling of Garmin software and maps updates. Starting point: the published 2.5.
Music Manager transfers music, albums and playlists from the Music app to a Garmin watch over USB (MTP) and manages what is on the watch. It is an independent project, not affiliated with or endorsed by Garmin or Apple.
What is new since 2.5
Fix
- Crash while scrubbing the player. Dragging the progress bar of the mini player, fast and repeatedly, could crash the app (this was already the case in 2.5). Scrubbing now sends the player one request at a time, and the «Now Playing» artwork is created once per song.
- Remote library, lost connection. If the network or the VPN drops while a remote library is being copied, the app now says so clearly (check the network or the VPN, check that the volume is still connected, try again) instead of «The file couldn't be opened.». The log records what happened.
Custom Playlist for runners
- Live PacePro forecast in the player. With the Custom Playlist and PacePro on, the mini player shows what a runner would see on the watch: running time, distance with two decimals, and current split with its pace, plus a read-only course with a runner figure that advances with the forecast distance, and «km N» signs that slide in as each kilometre is reached. It is a forecast, not a measurement: it holds if the Custom plays from the start, in order, with no skipping (the tooltip says so).
- Running Tool. The panel of the runner button («Sequence and times» before) is now the Running Tool, with two sections: Block numbering and PacePro. Smaller fields with fixed-width digits, switches at the size of Settings.
- Saved settings. A «Saved» menu in the panel stores the whole panel (sequence, mid song, rolling time, km per song, PacePro rows, start delay and unit) under a name, per user, and recalls it with one click.
- PacePro in miles. A «km | mi» selector (and Settings ▸ General ▸ Running unit: Automatic, Kilometres, Miles; Automatic follows the macOS region) switches the unit everywhere: panel, list, tags and player. The values you typed are converted and, switching back, restored exactly.
- Pace calculator. Type any two of distance, time and pace and the third is calculated; one button copies distance and pace into PacePro and turns PacePro and rolling time on.
- Easier PacePro entry. Pace fields refuse impossible values (such as 6:89) and complete themselves when you leave the field («6:8» → «6:08»); the first value goes to the first row; the rows are put in order when the panel closes.
- «Mid» song. With PacePro on, the middle song is the one where the middle of the race falls (start delay plus half of the race time), not the middle of the playlist.
- List. The time column has a fixed width, so the columns no longer move at the hour (and stay readable beyond 10 hours); the selected row keeps its time, distance and «km N» tag readable.
- Covers. Loading a Custom Playlist now asks Music for the covers it has in its cache, as the other tabs do.
Garmin device
- Software update notes. Notes are recovered when the watch was updated outside Music Manager (Garmin Express, the phone, the watch's own Wi-Fi) while Garmin still offers that version, and they are completed once a day when Garmin publishes them late. When Garmin has no notes the app says so; the placeholder «N/A» is not shown as a note. If the watch was updated outside the app, a message says «updated from X to Y» (local, no request to Garmin).
- Maps. Installed maps are checked together with the software, at launch and once a day; the maps globe turns red when a map has an update. The «Update available» window mentions, with one generic line in red, that installed maps also have updates.
- New device window. When a watch is connected for the first time the window shows a summary (model, software version with an «Upgrade Available» / «Software Updated» capsule, serial number, product code, storage) and the product image as soon as it is read. If «Check for device Software and Maps updates» is off, the window explains it and asks for your consent; nothing is sent to Garmin without it. Choosing Skip without a nickname registers the device under its own name, and a small panel says where to set a nickname later.
- Settings ▸ Advanced ▸ Devices. You can remove a single stored device (select it and press «−», with confirmation); «Forget Devices» is gone.
- Disconnect. After pressing Disconnect a panel says that the watch is no longer active in Music Manager but is still connected to the Mac, and that it must be disconnected safely with its own eject function before unplugging it.
- Device panel. «Product Number» is now «Product Code» («Cod. Prodotto»), on one line. The product image is looked up under the two file names Garmin uses (also for Edge and Forerunner 970).
Podcasts
- Each episode in the Podcasts list shows its description (plain text, up to two lines) under the detail line.
Things worth knowing
- Developed and tested on macOS 27 with the author's libraries and a fenix 9 Pro. macOS 26 and other watch models have not been tested on real machines (the product image variants for the Forerunner 970 and the Edge are looked up but were not verified). Not notarized: if macOS blocks the first launch, run
xattr -cr "/Applications/Music Manager.app"(seedocs/INSTALL.md). - The check for software and maps updates is optional and off by default: when on, Music Manager sends the contents of
GarminDevice.xmlto Garmin's servers through an undocumented service. The app asks you the first time a watch is connected; you can change it in Settings. - Podcasts: macOS lets an app read the Apple Podcasts files only with the Full Disk Access permission (see the 2.5 notes); because the app is not notarized, the permission may need to be renewed after an update.
- The live forecast of the player is a forecast: it does not read anything from the watch.
- Sources: this release is on the
mainbranch with the tagv2.5.1; the «Source code» archives of this page contain exactly the sources of this build. - Please report problems on GitHub, attaching the log (Settings ▸ «Detailed log») if possible.
Acknowledgements
Thanks to mcoliver for the continuous-integration proposal and the build checks (issue #2, pull request #3).
Checksum
The SHA-256 of the DMG is in the attached .sha256 file.
Free software, GPL v3 or later.
Italiano
Music Manager 2.5.1 segue la 2.5 con la correzione di un crash trascinando la barra di avanzamento del player, un primo gruppo di strumenti per chi corre (previsione PacePro in tempo reale nel player, pannello Utilità Running rinnovato, miglia, calcolatore del passo) e una gestione migliore degli aggiornamenti software e mappe dei Garmin. Punto di partenza: la 2.5 pubblicata.
Music Manager trasferisce musica, album e playlist dall'app Musica a un orologio Garmin via USB (MTP) e gestisce ciò che c'è sull'orologio. È un progetto indipendente, non affiliato né approvato da Garmin o Apple.
Cosa c'è di nuovo rispetto alla 2.5
Correzioni
- Crash trascinando la barra del player. Trascinare la barra di avanzamento del mini player, in fretta e più volte, poteva far chiudere l'app (era così già nella 2.5). Ora lo scorrimento invia al player una richiesta alla volta e la copertina di «In riproduzione» viene creata una sola volta per brano.
- Libreria remota, connessione persa. Se la rete o la VPN cade mentre si copia una libreria remota, l'app lo dice chiaramente (controlla la rete o la VPN, verifica che il volume sia ancora collegato, riprova) invece di «The file couldn't be opened.». Il registro annota l'accaduto.
Custom Playlist per chi corre
- Previsione PacePro in tempo reale nel player. Con la Custom Playlist e PacePro attivi, il mini player mostra ciò che un runner vedrebbe sull'orologio: tempo di corsa, distanza con due decimali e frazione in corso con il suo passo, più un percorso (solo lettura) con la figura di un runner che avanza con la distanza prevista e i cartelli «km N» che scorrono quando si raggiunge ogni chilometro. È una previsione, non una misura: vale se la Custom suona dall'inizio, in ordine, senza salti (lo dice il tooltip).
- Utilità Running. Il pannello del pulsante runner (prima «Sequenza dei blocchi e tempi») diventa Utilità Running, con due sezioni: Numerazione a blocchi e PacePro. Campi più piccoli con cifre a larghezza fissa, interruttori della misura di Impostazioni.
- Impostazioni salvate. Un menù «Salvati» nel pannello memorizza tutto il pannello (sequenza, brano a metà, tempo progressivo, km per brano, righe PacePro, ritardo e unità) con un nome, per utente, e lo richiama con un clic.
- PacePro in miglia. Un selettore «km | mi» (e Impostazioni ▸ Generali ▸ Running unit: Automatica, Chilometri, Miglia; Automatica segue la regione di macOS) cambia l'unità ovunque: pannello, elenco, etichette e player. I valori scritti si convertono e, tornando indietro, si ripristinano esattamente.
- Calcolatore del passo. Scrivi due qualsiasi tra distanza, tempo e passo e il terzo viene calcolato; un pulsante copia distanza e passo in PacePro e accende PacePro e tempo progressivo.
- PacePro più comodo. I campi del passo rifiutano valori impossibili (come 6:89) e si completano all'uscita dal campo («6:8» → «6:08»); il primo valore va nella prima riga; le righe si mettono in ordine alla chiusura del pannello.
- Brano «Metà». Con PacePro attivo, il brano di metà è quello in cui cade la metà della gara (ritardo iniziale più metà del tempo di gara), non la metà della playlist.
- Elenco. La colonna del tempo ha larghezza fissa: le colonne non si spostano più al passaggio dell'ora (e restano leggibili oltre le 10 ore); nella riga selezionata restano leggibili tempo, distanza e cartello «km N».
- Copertine. Caricando una Custom Playlist l'app chiede a Musica le copertine che ha nella cache, come fanno le altre schede.
Dispositivo Garmin
- Note degli aggiornamenti software. Le note si recuperano quando l'orologio è stato aggiornato fuori da Music Manager (Garmin Express, telefono, Wi-Fi dell'orologio) finché Garmin offre ancora quella versione, e si completano una volta al giorno quando Garmin le pubblica in ritardo. Se Garmin non ha note, l'app lo dice; il segnaposto «N/A» non viene mostrato come nota. Se l'orologio è stato aggiornato fuori dall'app, un messaggio dice «aggiornato da X a Y» (locale, nessuna richiesta a Garmin).
- Mappe. Le mappe installate vengono controllate insieme al software, all'avvio e una volta al giorno; il globo delle mappe diventa rosso quando una mappa ha un aggiornamento. La finestra «Update available» segnala, con una riga generica in rosso, che anche le mappe installate hanno aggiornamenti.
- Finestra di nuovo dispositivo. Al primo collegamento mostra un riepilogo (modello, versione del software con la capsule «Upgrade Available» / «Software Updated», numero di serie, codice prodotto, memoria) e l'immagine del prodotto appena letta. Se «Controlla gli aggiornamenti di software e mappe del dispositivo» è spento, la finestra lo spiega e chiede il consenso; senza consenso non viene inviato nulla a Garmin. Scegliere Skip senza nickname registra comunque il dispositivo con il suo nome, e un piccolo pannello dice dove impostare il nickname dopo.
- Impostazioni ▸ Avanzate ▸ Dispositivi. Si può rimuovere un solo dispositivo memorizzato (selezionalo e premi «−», con conferma); «Forget Devices» non c'è più.
- Disconnetti. Dopo aver premuto Disconnetti, un pannello dice che l'orologio non è più attivo in Music Manager ma resta collegato al Mac, e che va scollegato in sicurezza con la sua funzione di espulsione prima di togliere il cavo.
- Pannello del dispositivo. «Product Number» diventa «Product Code» («Cod. Prodotto»), su una riga. L'immagine del prodotto è cercata con i due nomi di file usati da Garmin (anche per Edge e Forerunner 970).
Podcast
- Ogni episodio dell'elenco Podcast mostra la descrizione (testo semplice, al massimo due righe) sotto la riga dei dettagli.
Cose da sapere
- Sviluppata e provata su macOS 27 con le librerie dell'autore e un fenix 9 Pro. macOS 26 e altri modelli di orologio non sono stati provati su macchine reali (le varianti dell'immagine per Forerunner 970 ed Edge sono cercate ma non verificate). Non notarizzata: se macOS blocca il primo avvio, esegui
xattr -cr "/Applications/Music Manager.app"(vedidocs/INSTALL.md). - Il controllo degli aggiornamenti software e mappe è facoltativo e spento di default: quando è acceso, Music Manager invia il contenuto di
GarminDevice.xmlai server Garmin tramite un servizio non documentato. L'app lo chiede la prima volta che si collega un orologio; lo si cambia in Impostazioni. - Podcast: macOS permette a un'app di leggere i file di Apple Podcasts solo con il permesso Accesso completo al disco (vedi le note della 2.5); poiché l'app non è notarizzata, dopo un aggiornamento il permesso può dover essere rinnovato.
- La previsione in tempo reale del player è una previsione: non legge nulla dall'orologio.
- Sorgenti: questa versione è nella branch
maincon il tagv2.5.1; gli archivi «Source code» di questa pagina contengono esattamente i sorgenti di questa build. - Segnala i problemi su GitHub, allegando il registro (Impostazioni ▸ «Registro dettagliato») se possibile.
Ringraziamenti
Grazie a mcoliver per la proposta di integrazione continua (CI) e i controlli di build (issue #2, pull request #3).
Checksum
L'SHA-256 del DMG è nel file .sha256 allegato.
Software libero, GPL v3 o successiva.
Download
MusicManager-2.5.1.dmg: Apple Silicon, macOS 26 or later- SHA-256:
b8e3e576593bc3c231bcb300f2846f90d76c46a8ba41876b6acb9de8e749f3c5 - Bundled libraries (LGPL 2.1+): libmtp 1.1.23, libusb 1.0.30
MUSIC MANAGER – Installation
Requirements: Apple Silicon Mac, macOS 26 or later, Garmin watch with USB cable.
-
Download only from https://github.com/RickyDive/musicmanager/releases and verify the hash:
shasum -a 256 MusicManager-<version>.dmgmust match the release's.sha256file. -
Open the DMG and drag "Music Manager" to Applications.
-
The app is not notarized (the developer has no Apple Developer account): macOS will not open it on first launch. This is expected. You have two methods.
METHOD A – Terminal (recommended; it also works on macOS 27, where method B may hang)
Open Terminal and run, one line at a time:
xattr -cr "/Applications/Music Manager.app"
open "/Applications/Music Manager.app"
The first command removes the quarantine flag macOS puts on downloaded files.METHOD B – System Settings
System Settings ▸ Privacy & Security, scroll down and click "Open Anyway" next to "Music Manager". Confirm with your password.
If the app does not open and stays stuck (even Force Quit may not be enough): restart the Mac and use Method A before opening it again. -
On first read/send macOS asks permission to control "Music" (automation): click OK. Without it the app cannot read your library or create playlists. If you denied it by mistake: System Settings ▸ Privacy & Security ▸ Automation ▸ Music Manager ▸ enable "Music".
-
If the watch is not detected: quit Garmin Express, Garmin Connect, OpenMTP, Android File Transfer and Image Capture, then reconnect the cable.
Problems? Help ▸ "Copy Diagnostic Information" and paste it in your GitHub issue. If the app cannot even open, include your macOS version and the method you used.
License and sources
Music Manager is free software (GNU GPL, version 3 or any later version; see LICENSE.txt in this disk image). Its source code is at https://github.com/RickyDive/musicmanager: final releases on the main branch, betas on the beta branch, with the tag matching the app version. The bundled libmtp and libusb (LGPL 2.1 or later) have their sources at https://github.com/libmtp/libmtp and https://github.com/libusb/libusb; the versions included are listed in BUNDLED-LIBS.txt inside the app (Contents/Resources) and in the release notes.
Changeset
Changes since v2.5
From CHANGELOG.md
- Player, Runner details in their own row (later replaced by the runner table and course below). With the Custom Playlist options on, the details («Mid», finish flag, «km N», starting km, rolling time) are no longer in the title row: they sit in a row of their own below the playback controls, in space that was empty. The top of the player is clean (title and artist/album at full width, plain elapsed/total time row), and the details use the same size as in the list (
MiniPlayerView.swift). Backups:MiniPlayerView.swift.prima-2-5-1-colonne,…-tempo-fisso,…-riga-runner. - Player, live km and time (the one new feature of 2.5.1). In the Runner details under the progress bar, the starting km and the rolling time now advance while the song plays: rolling time = start of the song + seconds played; km = the PacePro forecast at that moment, following pace changes inside a song (before the PacePro delay it shows «—»). It is a forecast, not a measurement, and holds if the Custom plays from the start, in order, with no skipping; the tooltip says so (
custom_live_forecast_help).CustomPlayInfocarries the start seconds, the PacePro segments, the delay and the km suffix (CatalogBrowser.swift,MiniPlayerView.swift,Localization.swift). Backups:*.prima-2-5-1-live. - Player, crash while scrubbing. Dragging the progress bar crashed in a system dispatch thread (
EXC_BAD_ACCESS, bad block pointer). Suspect: the «Now Playing» artwork was rebuilt at every scrub step, and its block, created inside the main-actor class, could be called by MediaPlayer from another thread. Now the artwork object is created once per song in a non-isolated function and reused (PlayerService.swift,makeNowPlayingArtwork). Together with the next entry it fixed the crash (confirmed by testing on 16/11). Backup:PlayerService.swift.prima-2-5-1-artwork-nowplaying. - Player, scrubbing sends one seek at a time. A fast drag of the progress bar (also outside the Custom Playlist) still crashed (
EXC_BAD_ACCESSaddress 0x0 in a CoreMedia thread, log «FigReadScheduler signalled err=-17785»), so the Now Playing artwork was not the (only) cause.seek(to:)now sends AVPlayer one request at a time and keeps only the last one while it is busy; Now Playing is republished once, when the last seek finishes (PlayerService.swift,performSeek). Confirmed by testing on 16/11 (violent scrubbing and rapid skips, no error). Backup:PlayerService.swift.prima-2-5-1-seek. - PacePro panel, pace and distance fields are validated while typing. The pace fields accepted impossible values such as «6:89» (the fraction was then silently ignored). Now a pace takes at most two digits of minutes, one colon and two digits of seconds, and the seconds must be 00–59: a key (or a paste) that would make it invalid is refused and the previous text stays. The km and delay fields accept a single decimal separator (
CatalogBrowser.swift,cleanPace,cleanDecimal). Backup:CatalogBrowser.swift.prima-2-5-1-passo-valido. - PacePro panel, pace completed when leaving the field. A pace written in part is completed as soon as the cursor leaves the field (Tab, Return, click on another field, closing the panel; the correction is visible at once, also when the next field is edited): «6:8» → «6:08», «6:» → «6:00», «7» → «7:00» (
CatalogBrowser.swift,completedPace,focusedPace). Backup:CatalogBrowser.swift.prima-2-5-1-passo-completa. - Runners panel, switches at the size of the rest of the interface. The three switches (Rolling time, Show mid song, Km per song) were drawn at the regular size, about 1.5 times the ones in Settings; now
controlSize(.mini): measured on a screenshot,.smallwas still about 20 % bigger than the Settings ones (CatalogBrowser.swift). Backup:CatalogBrowser.swift.prima-2-5-1-switch-pannello. - Runners panel, PacePro switches Rolling time on. Turning on «Km per song» (PacePro) also turns on «Rolling time»; it can then be turned off by hand (
CatalogBrowser.swift). Backup:CatalogBrowser.swift.prima-2-5-1-pacepro-rolling. - Runners panel, the first PacePro value turns PacePro on. Writing the first km or pace value (all fields were empty) turns on «Km per song» and, through it, «Rolling time». If switched off by hand it is not turned on again until the fields are emptied and started anew (
CatalogBrowser.swift). Backup:CatalogBrowser.swift.prima-2-5-1-pacepro-auto. - Runners panel, the first value of each PacePro column goes in field 1. The first km value written in a field other than the first (while the km column is empty) moves up to km 1 and the cursor follows it; same for the pace column (pace 1), independently of the km column. The cursor is set through AppKit (
focusFirstPaceField: the top-left text field with the «km» or «m:ss» placeholder or width), because SwiftUI focus did not move the real cursor in this panel (CatalogBrowser.swift). Backups:CatalogBrowser.swift.prima-2-5-1-primo-campo,…-cursore,…-cursore-appkit. - Runners panel, PacePro rows reordered on closing. When the panel is closed, the filled PacePro rows move up in order with no gaps (rows 4, 7 and 11 become 2, 3 and 4); each row (km + pace) moves whole, and a row that is empty in both columns is dropped. The cursor jump to field 1 now looks for the text fields in all the app's windows, because the panel is a popover window of its own (
CatalogBrowser.swift,compactPaceRows,focusFirstPaceField). Backups:CatalogBrowser.swift.prima-2-5-1-cursore-finestre,…-riordino. - Runners panel, order of the controls. «Show mid song» sits inside «Sequence and times», right under the six sequence fields, with the «Sequential numbering» reset button on the same row as the six fields (now 38 pt wide, 2 pt apart); «Rolling time» moves into the PacePro section, above «Km per song» (it turns on with PacePro but can also be used alone); the divider lines are gone, sections are separated by space (
CatalogBrowser.swift,sequenceEditor). Backups:CatalogBrowser.swift.prima-2-5-1-ordine-pannello,…-senza-divisori. - Runners panel, switches on the right. The three switches (Show mid song, Rolling time, Km per song) are right-aligned, with the label on the left, in line with the «Sequential numbering» and «Clear PacePro» buttons (
CatalogBrowser.swift,paneSwitchRow). Backup:CatalogBrowser.swift.prima-2-5-1-switch-destra. - Runners panel, saved settings (presets). New «Saved» menu in the panel title row: «Save current settings…» (name typed in line, ✓ / ✕, same name replaces), the list of saved presets (click = recall) and «Delete». A preset holds the whole panel: the six sequence fields, Show mid song, Rolling time, Km per song, the 12 PacePro rows (completed and without gaps) and the start delay. Stored per user (
runner_presets, inAppSettings.perUserKeys, deleted with the user; a new user created «from the current user» gets a copy of the presets, then they are independent;UserProfiles.swift); while a preset is applied the automatic behaviours (PacePro turning on, first value to field 1) are held back (CatalogBrowser.swift:RunnerPreset,RunnerPresetStore,presetControls;Localization.swift:preset_*). Backups:*.prima-2-5-1-preset. - Custom list, «Mid» song with PacePro. With PacePro active («Km per song» on and at least one valid row) the «Mid» song is the one where the middle of the race falls (start delay + half of the race time: a 5 h race gives 2 h 30 min), not the middle of the whole playlist; without PacePro it stays at half of the playlist (6 h playlist → 3 h). Tooltip updated (
CatalogBrowser.swift,Localization.swift:custom_show_mid_help). Backups:*.prima-2-5-1-meta-pacepro. - Runners panel renamed «Running Tool» («Utilità Running»), with the recalled preset in the title. The first row reads «Running Tool»; after recalling (or saving) a preset it reads «Running Tool – name». «Save current settings…» proposes the name of the preset in use (editable). The «Saved» menu stays at the top right, on the same row as the title; a long preset name is cut with «…» (
CatalogBrowser.swift,Localization.swift:custom_sequence_title). Backups:*.prima-2-5-1-running-tool. - Running Tool panel, heading of the first section. The first section (six sequence fields, «Show mid song», «Sequential numbering») has its own heading, «Block numbering» («Numerazione a blocchi»), in the style of «PacePro» (
CatalogBrowser.swift,Localization.swift:custom_blocks_title). Backups:*.prima-2-5-1-intestazione-blocchi. - Running Tool panel, «Show mid song» centred between the two sections. The row is shared by block numbering and PacePro, so it now has 13 pt above (from the six fields) and 13 pt below (to the PacePro heading), the same total as before (10 + 16) (
CatalogBrowser.swift). Backup:CatalogBrowser.swift.prima-2-5-1-spazio-meta. - Running Tool panel, summary on one row. The summary under the PacePro rows («Race … · playlist … · short/to spare …») now has a fixed height of one row instead of two (the panel is about 15 pt shorter); the text never wraps, if too long it shrinks down to 80 % (
CatalogBrowser.swift). Backup:CatalogBrowser.swift.prima-2-5-1-riepilogo-riga. - PacePro in miles. A «km | mi» selector in the PacePro heading of the Running Tool panel (initial value from the Mac's region: US and UK → miles) switches the unit of the splits. Time is always distance × pace per unit, so the calculations are identical and only the labels change, everywhere: panel (placeholder, hint, «Miles per song», summary), list (starting distance, «mi N» tags, tooltips), mini player (distance, course end, «mi N» signs). Numbers already typed are converted when the unit is changed (42,195 km → 26,219 mi; pace × or ÷ 1.609344, rounded to the second; empty or unreadable fields are left alone; the start delay is not touched), and switching back without editing restores the original values exactly. The unit is saved in the presets (old presets = km) (
CatalogBrowser.swift:customPaceUnit,CustomPlayInfo.unit;MiniPlayerView.swift;Localization.swift:*_mi). Backups:*.prima-2-5-1-miglia. - Settings ▸ General: «Running unit». New per-user setting (Automatic / Kilometres / Miles) for the unit the Running Tool panel starts with: Automatic follows the macOS region (US and UK → miles), the other two ignore it (for example someone with a French region who lives and races in the US). Changing it in Settings switches the panel's unit too, converting the values already typed; the unit can still be changed from the panel (
AppSettings.runningUnit,resolvedRunningUnit, inperUserKeysand copied for a new user;SettingsView.swift,Localization.swift,CatalogBrowser.swift). Backups:*.prima-2-5-1-unita-impostazioni. - Running Tool, recalling a preset in another unit. Recalling a preset saved in miles with the panel in km (for example after restarting the app) converted the values again as if they were km (26,219 → 16,292). The conversion is now done explicitly when the user changes the unit (selector or Settings) and never when a preset sets it (
setPaceUnit); the flag that holds back the automatic behaviours while a preset is applied lasts 0.4 s (CatalogBrowser.swift). Backup:CatalogBrowser.swift.prima-2-5-1-conversione-esplicita. - Running Tool panel: distance / time / pace calculator. On the PacePro row (title shortened to «PacePro»), three narrow fields with a caption above (dist, time h:mm, pace m:ss): type any two and the third is calculated; with all three filled, the one edited least recently is recalculated; clearing a field clears the result that depended on it. A clipboard button on the right copies distance and pace into PacePro field 1. Time is shown to the minute, pace to the second. Changing the unit (km ↔ mi) converts distance and pace of the calculator too. All the Running Tool fields (sequence, delay, PacePro rows and calculator) use a smaller monospaced font (shorter fields); the calculator has a single centred title above the three fields ("Pace calculator") and the fields show their meaning as placeholders (distance unit, hh:mm, m:ss); the calculator row (fields and clipboard button) is vertically centred with the title and the km/mi selector, and the three fields are centred on the panel's vertical axis (the clipboard button sits to their right, without a background: just the icon). Copying the result into PacePro switches PacePro and Rolling time on by itself; "Clear PacePro" also empties the three calculator fields. Not saved in presets (
CatalogBrowser.swift:paceCalculator,calcEdited,copyCalcToFirstRow;Localization.swift:calc_*). Fixed on the first test: converting back (mi → km) did not convert the calculator's distance and pace, because the early return that restores the PacePro rows came first (convertPaceUnit). Backups:*.prima-2-5-1-calcolatore,…-calcolatore-fix. - Running unit applied when the panel opens. If the setting (Settings › General › Running unit) was changed while the Running Tool wasn't on screen, the panel kept the old unit; now opening it applies the setting (converting the values already written). A unit chosen by hand with the km | mi selector is kept as long as the setting doesn't change (
CatalogBrowser.swift:appliedRunningUnit). Backup:*.prima-2-5-1-unita-apertura. - Build warnings (Swift 6).
AppSettings.runnerPresetsKeyis nownonisolated, soRunnerPresetStore(not main-actor) can read it without the "main actor-isolated static property" warning. Backup:AppSettings.swift.prima-2-5-1-key-nonisolated. - Remote library: lost connection while copying. A read error during the copy of a remote library (network or VPN dropped, volume unmounted) now shows a clear message instead of "The file couldn't be opened.", and the log records the error domain and code (with the underlying error) in a
[rete]line. (MusicLibraryService.swift:ManagerError.connectionLost.) Backups:*.prima-2-5-1-rete-persa. - Podcast: episode description. Each episode in the Podcast list now shows its description under the detail line (plain text, HTML tags removed, at most two lines), read from Apple's
ZMTEPISODEDESCRIPTIONtable (ZTEXT, orZPLAINTEXTas a fallback). (PodcastService.swift:PodcastEpisode.episodeDescription.) Backup:PodcastService.swift.prima-2-5-1-descrizione-episodio. - Custom Playlist: covers from the Music cache. Loading a Custom playlist showed the covers embedded in the files but not those that come from Music's cache (they appeared only when playing the song). The list now asks for the missing covers when it is loaded or changed, as Playlists and Albums do when opened (
CatalogBrowser.swift:customPlaylistView). Backup:*.prima-2-5-1-cover-custom. - Device software, notes recovered after an update made outside the app. If the watch was updated with Garmin Express, the phone or its own Wi-Fi before being connected, Garmin's server no longer offers that version (the answer is empty), so its notes were never saved and «Software Updated» had no text. At connection (also when mounted as a volume and with «Refresh»), before the local copy of
GarminDevice.xmlis overwritten, the app compares the stored software version with the device's one; if the device is higher and there are no saved notes for its version, it asks Garmin with the stored (previous) XML, the same request as the check at launch, and keeps the notes it receives inUpdateNotes.json. They appear in the tooltip of «Software Updated» like the others. Works while that version is still the latest offered; debug log linesControllo aggiornamento software: … cambio di versione …(AppViewModel.swift,recoverNotesAfterOutsideUpdate). Backup:AppViewModel.swift.prima-2-5-1-novita-aggiornamento-esterno. - Device software, notes completed once a day. Garmin often offers an update with no notes and adds them in the following days. Besides the check at launch, with the app left open the check of the registered devices (using the stored
GarminDevice.xml) is repeated once a day (the clock is looked at every hour; last run kept inlast_update_notes_check), and notes that are new or different from the saved ones are written toUpdateNotes.json(the existing saving already replaces a version's notes when Garmin sends different text). Limit: it only works for versions still offered to the device; once installed, Garmin no longer returns them for that device. The loop body of the launch check becamerunStoredUpdateCheck(origin:)(AppViewModel.swift); debug log origin «controllo giornaliero». Backup:AppViewModel.swift.prima-2-5-1-controllo-giornaliero-novita. - Software update notes: clear message when Garmin has none. When Garmin has not published notes for the installed (or offered) version, the tooltip and the notes popover now say so ("Garmin has not published notes for version X") instead of showing a title with no text; older stored versions are still listed below.
- Notice when the device was updated outside Music Manager. If the software version read from the device is higher than the one stored on the last connection (for example after updating with Garmin Express), a message says so ("updated from X to Y"). It is local, makes no request to Garmin and does not depend on "Check device updates"; it appears once per device and version, and the maps-changed message, if any, follows it.
- Software update notes: "N/A" is not shown. When Garmin sends the placeholder "N/A" instead of notes for a version, it is treated as no notes (tooltip and popover say that Garmin has not published notes, and the placeholder is not listed among older versions).
- Device maps checked at launch and then once a day. Like the software, the maps of every registered device are re-checked with Garmin when the app opens (if the last check is older than 20 hours) and then once a day while it stays open, using the stored GarminDevice.xml (the device does not need to be connected). The stored map list is kept up to date and the maps globe turns red by itself when a map can be updated; a failed check keeps the previous data. Requires "Check device updates".
- "Update available" message less ambiguous. The message shown at launch now adds that, if the device was already updated to the new version (the stored GarminDevice.xml is still the old one), the message can be ignored or the Garmin can be connected to align the information.
- New device window, summary and consent. The window shown when a device is connected for the first time now carries, besides the nickname, a summary in the style of the Device panel: model, software version (followed by the same «Upgrade Available: x» / «Software Updated» capsule as the Device panel), a generic line when installed maps have updates, serial and product number, storage capacity and free space. It says that Music Manager does not install updates. If «Check for device Software and Maps updates» is off, the same window explains the option and asks for consent (a checkbox bound to the setting, so it can be reviewed or revoked in Settings); switching it on starts the check at once and the summary fills in. Without consent nothing is sent to Garmin. On this first connection the separate «Update available» window is not shown (the news is already in this one; it comes back at the next launch). (
ContentView.swift,AppViewModel.swift,Localization.swift). Backups:*.prima-2-5-1-prima-connessione. - New device window, notice after Skip. Choosing Skip without a nickname still registers the device (under its own name). A small panel with OK now says so and tells where to set a nickname later (Settings → Advanced → Devices), so Skip no longer leaves the user wondering whether the device was saved (
ContentView.swift,Localization.swift). Backups:*.prima-2-5-1-skip-nickname. - New device window, product image; Skip notice without icon. The new-device window shows the product image as soon as it has been read (the watch icon until then), and the notice after Skip no longer repeats the icon, since it follows the previous panel (
ContentView.swift). Backups:ContentView.swift.prima-2-5-1-immagine-nuovo. - Settings, Devices: remove one device. The table of stored devices now works like the external sources: click a row to select it and press «−» to remove only that device (with a confirmation that names it); «Forget Devices» is gone. The option «Check for device Software and Maps updates» is now a switch on the right of the button row, aligned with «Mount automatically», instead of a checkbox below the table (
SettingsView.swift,Localization.swift). Backups:*.prima-2-5-1-rimuovi-dispositivo. - Disconnect button, clearer wording. The «Disconnect» button only ends Music Manager's session; the watch stays plugged in and its display still shows the USB connection. The tooltip says so, and after pressing the button a small panel with OK tells the user that the device is no longer active in Music Manager and must be disconnected safely with the device's own eject function (e.g. the eject button on the fēnix display; the Finder does not list every Garmin) and then unplugged (the status line alone was easy to miss) (
ContentView.swift,AppViewModel.swift,Localization.swift). Backups:*.prima-2-5-1-disconnetti,*.prima-2-5-1-pannello-disconnesso. - «Update available» window, generic maps line. When the window opens for a new firmware and some installed maps of a registered device also have updates (from the last saved check), a single generic line, in bold red like the «Upgrade Available» capsule, says so: «One or more installed maps have updates available.» No list of maps, and the window still opens only for firmware (
ContentView.swift,AppViewModel.swift). Backups:*.prima-2-5-1-mappe-finestra. - Runner button, tooltip renamed. The tooltip of the runner button in the toolbar still said «Block sequence and times (visual only)»; it now reads «Running Tool», like the panel it opens (
Localization.swift). Backups:Localization.swift.prima-2-5-1-tooltip-running. - Custom list, columns no longer shift at the hour. With the rolling time on, the time column was only as wide as its text, so when it went from «m:ss» to «h:mm:ss» it grew and pushed the km, «km N» and repeat columns a few pixels to the left. The time column now has a fixed width wide enough for «h:mm:ss»; beyond 10 hours («hh:mm:ss», an extreme case) the letter spacing is tightened (and, if still needed, the font shrinks slightly) instead of wrapping onto two lines (
CatalogBrowser.swift). Backups:CatalogBrowser.swift.prima-2-5-1-colonna-tempo. - Device panel, «Product Code» on one line. With a narrow window the label «Product Number:» wrapped onto two lines (see the fēnix mounted as a disk). Info-line labels now never wrap, and the label is renamed «Product Code» (Italian «Cod. Prodotto»), the name used on the Garmin site («Codice Prodotto»), which is shorter; the serial-number column is also narrowed from 170 to 148 pt so the whole product code fits in Italian too (
ContentView.swift,Localization.swift). Backups:ContentView.swift.prima-2-5-1-riga-product. - Player, finish flag enters from the right edge like the km signs. The checkered flag was drawn in a cell as wide as a «km N» sign but aligned to its left, so as it slid in it showed up about 39 pt inside the right edge instead of coming in from the edge like the capsules. The slide now starts with the flag flush with the right edge and ends in the same place as before (
MiniPlayerView.swift,finishFlagGlyphWidth). Backups:MiniPlayerView.swift.prima-2-5-1-bandiera-ingresso. - Build on the CI: main window body split into four parts. The release workflow on GitHub failed to compile
ContentView.swift(«the compiler is unable to type-check this expression in reasonable time», at the first.alertof the main window), because thebodyofContentViewwas a single chain of about 45 modifiers and 2.5.1 had added more; the Xcode of the GitHub runner is slower than the local one and gave up. The chain is now split into four computed properties (bodyStage1…bodyStage4) that build on one another, with the same modifiers in the same order: no change in behaviour (ContentView.swift). Backups:ContentView.swift.prima-2-5-1-corpo-diviso. - Custom list, selected row legible. On the selected row the rolling time (drawn in the highlight colour from Settings) vanished into the selection and the «km N» capsule was faint. On that row the rolling time, the km column and the capsule now use the primary text colour, like the title (white in the dark theme, black in the light one), with a translucent capsule background (
CatalogBrowser.swift). Backups:CatalogBrowser.swift.prima-2-5-1-riga-selezionata. - Device image by variant: two file names. The variant picture of the connected unit (from
unitPartNumber) is now looked for asc1_01_md.pngand, if missing,cf-sm-2x3.pngonres.garmin.com(Edge, Forerunner 970…); the first real PNG wins, otherwise the generic image, then the Connect IQ Store as before. The log says which name worked (DeviceImageService.swift). Backup:DeviceImageService.swift.prima-2-5-1-varianti. - Player, runner course. With the Custom Playlist and PacePro on, the bottom of the player (aligned with the bottom edge of the cover) shows a read-only course: «0» on the left, the PacePro total km on the right, and the runner figure (
figure.run) in place of the cursor, advancing with the forecast km (still, in a green sampled from the SF Symbols figure). The capsule details were later removed from the player (the code is kept but unused) (MiniPlayerView.swift,RunnerProgressLine;CatalogBrowser.swift,liveFraction,totalKm). Backups:*.prima-2-5-1-percorso. - Player, runner table. Between the controls and the course, three fixed-size cells aligned to the left of the bar, showing what a runner sees on the watch: running time (
timer.circle), distance (road.lanes), and the current PacePro lap with its pace (shoe.running.and.shadow.fill, pace «m:ss», lap number as1.lane…12.lane). Forecast values, live (MiniPlayerView.swift,runnerTable;CatalogBrowser.swift,livePace). Backups:*.prima-2-5-1-tabella. - Player, km signs and two decimals. In the runner table the km value has two decimals (e.g. «7,52 km»; the text shrinks slightly if it does not fit). In the free space to its right, the «km N» sign of the last km passed stays in place; the next one slides in from the right during the last 50 m and, when reached, takes the place of the previous one. At the finish line only the checkered flag remains (the flag also slides in for the last stretch). Forecast values, driven by the same live position (
CatalogBrowser.swift,KmSigns,liveKmSigns;MiniPlayerView.swift,kmSignArea). Backups:*.prima-2-5-1-marker-km,*.prima-2-5-1-cartello-slide. - Player, runner table: tighter. The cells are 2 pt apart (was 6) and 1 pt lower; the table height is 15 pt; after the finish line the km value stays at the PacePro total instead of going back to the starting km of the song; the previous km sign fades while the next one slides over it, so they no longer overlap in a narrow window (
MiniPlayerView.swift,CatalogBrowser.swift). Backups:*.prima-2-5-1-tabella-giu,*.prima-2-5-1-spazi-celle,*.prima-2-5-1-km-traguardo. - Player, runner table: final look. Cells 82×15 pt, 0.5 pt apart, dark background (grey 12 % at 90 % opacity) with white text; icons in light red (RGB 255,128,128) except the lap indicator, which is white and now
N.circle(12.5 pt,1.circle…12.circle) instead ofN.lane; icons raised 0.5 pt to look centred; the pace does not shrink with two digits; 4 pt of space before the «km N» sign. The «km N» capsules (player and list) use a darker turquoise and a fuller background in the light theme, unchanged in the dark one (MiniPlayerView.swift,CatalogBrowser.swift). Backups:*.prima-2-5-1-celle-strette,…-cella-passo,…-icone-centro,…-sfondo-scuro,…-rosso-icone,…-lap-circle,…-circle-misure,…-spazio-cartello,…-km-elenco. - Settings ▸ Artwork, reorganised. Order: «Load artwork from Music automatically»; then the Fix Artwork (Online search) group (main switch, with «Always offer to search artwork…» and «Store country» indented below it, in one block without dividing lines); then the cache size and «Clear artwork cache». When Fix Artwork is off, the two sub-options are disabled and their title and explanation are dimmed (
settingRowhas a newenabled:parameter). The Store country title no longer says «for online searches» and now carries the note «Automatic uses the Mac's region (now: …)»; the explanation below it no longer repeats it (SettingsView.swift,Localization.swift). Backups:*.prima-2-5-1-riordino-artwork,*.prima-2-5-1-gruppo-artwork,*.prima-2-5-1-grigio-artwork,*.prima-2-5-1-grigio2-artwork. - Settings ▸ Artwork, Store country hint. With the United States as the store, the hint no longer says that the search goes first to «this country» and then to the United States (the same country twice): new string
settings_artwork_store_hint_us(Localization.swift,SettingsView.swift). Backups:SettingsView.swift.prima-2-5-1,Localization.swift.prima-2-5-1. - Settings ▸ Artwork, Store country menu. The menu now takes the width of its content and is aligned to the right edge, like the on/off switches and the «Clear cache» button (
SettingsView.swift). - Copy Diagnostic Information. «Library shown» says «external (Server JSON)» for a MusicManager Server
library.json(it used to say «external (XML)») (MusicManagerApp.swift). Backup:MusicManagerApp.swift.prima-2-5-1. - Version.
project.yml: 2.5.1, build 51. Backups:project.yml.prima-2-5-1,CHANGELOG.md.prima-2-5-1.
Commits
- Split the main window body into four parts so the CI compiler can type-check it (b85e317)
- Music Manager 2.5.1 (build 51) (6b8b1c3)
- README: credit mcoliver for the CI workflows and the Podcasts idea (8515a73)
- ci: add build and release workflows (0554754)
- INSTALL: mention Garmin Connect and OpenMTP in the not-detected step (89449db)
Files changed
.github/dependabot.yml | 12 +
.github/scripts/changeset.sh | 63 +++++
.github/workflows/build.yml | 133 +++++++++
.github/workflows/release.yml | 200 ++++++++++++++
.gitignore | 17 +-
CHANGELOG.md | 62 +++++
MusicManager/AppSettings.swift | 37 ++-
MusicManager/AppViewModel.swift | 126 +++++++--
MusicManager/CatalogBrowser.swift | 773 +++++++++++++++++++++++++++++++++++++++++++++++++----
MusicManager/ContentView.swift | 234 ++++++++++++++--
MusicManager/DeviceImageService.swift | 49 ++--
MusicManager/Localization.swift | 121 ++++++++-
MusicManager/MiniPlayerView.swift | 193 ++++++++++++-
MusicManager/MusicLibraryService.swift | 15 +-
MusicManager/MusicManagerApp.swift | 10 +-
MusicManager/PlayerService.swift | 45 +++-
MusicManager/PodcastService.swift | 22 +-
MusicManager/SettingsView.swift | 113 ++++++--
MusicManager/UserProfiles.swift | 5 +
README.md | 13 +-
README_ITA.md | 13 +-
docs/INSTALL.md | 2 +-
docs/RELEASE-NOTES-2.5.1.md | 109 ++++++++
docs/RELEASING.md | 37 ++-
docs/TESTING.md | 19 ++
project.yml | 4 +-
26 files changed, 2251 insertions(+), 176 deletions(-)