The profile row of Settings opened a form for the name and the photo and
nothing else. It now opens a profile: the avatar and name with one line
for the taste and the month listening began, the song in the player, and
what the listening record and the Library hold.
- All time: listening time, songs and artists played, listening days, the
current and the longest streak.
- Last 30 days: the time, the change against the 30 days before, a bar
per day and the artists first heard.
- Music taste: the genres the listening time goes to. Genres come from
the Library; a played song is matched by title and artist, because a
record carried over from another device knows songs by other paths.
Shares are of the time whose genre is known.
- Listening habits: time by weekday, the favorite and the biggest day, an
ordinary listening day and the song replayed most in one day.
- Top artists, albums and tracks, and the collection: songs, albums,
genres, loved songs, playlists and favorite artists.
With Record listening off only the collection shows. The form moved to
its own page behind Edit profile and returns to the profile on Save.
A tester turned "Record listening" off and still saw On repeat on Home.
The shelf reads the last four weeks of the statistics and never looked at
the switch, so songs recorded earlier stayed until they aged out. Tapping
one then started a queue of the shelf, which read as an old queue coming
back.
With the switch off, the played shelves (On repeat, and Recently Played
in the Mornye style) are now empty and do not read the statistics. The
record itself is kept, so they return when the switch goes back on.
So Home keeps its number of sections, On repeat's place is taken by
"From your Library": ten albums of the Library, picked anew each day.
Each album gets its place in the day's order from a stable hash of the
day and its key, so a download landing mid-day swaps one cover at most
instead of reshuffling the shelf. A Library of more than 300 albums is
read through a window that moves with the day. Choosing a cover opens
the album. The shelf is read only while the switch is off.
FlutterView.display throws a null check error when the engine has replaced
its display list and the view does not yet name one of the new displays,
which happens while a window is dragged on Windows. Every read of the
display now goes through displayOf, which gives null in that case.
Fixes#930
A failed download was dropped when the queue was saved, so after a restart
nothing showed which songs never arrived. It is now saved and restored as
failed, with its error, and is not retried on its own; retrying or
dismissing it works as before.
Fixes#931
A song whose rate the DAC refuses is already converted, but the DAC was
still asked for that rate first, for every song, and a DAC that takes the
request and then plays silence was never converted at all.
- Read the UAC2 clock's RANGE before setting a rate and refuse one it
does not list, without touching the clock.
- Remember per connected DAC the rate a song rate played at, so the
refused rate is not requested again on each song.
- Add "Highest sample rate" to the Direct USB settings (Automatic by
default): rates above it are never requested and such songs are
converted down.
A DAC that tops out at 48 kHz refused 96 kHz songs, so they fell back to
Android's mixer and played through a DAC still set to the low level the
direct driver leaves it at, which sounded like silence.
Direct USB now tries the other standard rates when the DAC refuses the
song's own: lower rates first, the song's own family ahead of the rest,
then higher ones. The song is converted with a Kaiser windowed sinc
polyphase filter (130 dB stopband, passband to 0.907 of the lower
Nyquist), with triangular dither for a 16-bit output. The status line
names both rates and Audio info no longer calls such a song bit-perfect.
DSD is never converted, and a DAC is asked at most four times.
Refusals without a detail (no DAC, permission declined, cancelled) and
platform errors left no line, so a log could not tell why a song played
through Android's mixer.
The load hook of the queued song set gapless-audio back to no before mpv
had decided whether that song keeps the open device, so the device was
closed and reopened at every song change. The libmpv build used on
Windows closes it without playing what is still queued, which drops the
end of the previous song.
The option now goes back to no once the queued song has started.
The push of the Mornye badge was measured once, on a spring that already
followed the Animation speed, and then scaled again: after a restart with
the speed changed the bump was about twice or half its height. The push is
now measured on the spring in use, once for each style and speed.
With USB bit-perfect output on, every song now logs whether the USB output
was requested for it and what kind of source it has, so a log shows which
songs go through Android's mixer and why.
An uncaught error's log line now ends with the first frames of its stack:
a tester's export held two null-check errors with nothing to trace them
by. A song that streams while USB bit-perfect output is on logs that the
USB output is not used for it, which a report of songs losing exclusive
output could not show.
Nothing stopped libmpv when the window closed, so the process ended with
the stream open. With exclusive output on Windows the device was reported
to stay silent after that until it was plugged in again. A quit request,
and the quit for an update, now stop every libmpv deck and wait until its
output is closed.
The audio output's own lines (device period, buffer, format, underruns)
now reach the log, for reports of crackling in exclusive mode.
Portable players often do not read the cover inside a song and look for a
folder.jpg beside it. A new Files setting, Save Album Covers (off by
default), saves the cover a download carries into the album's own folder,
with a size choice from the sizes of Embedded Cover Size. The rule of the
animated cover applies: only folders that hold one album get the file, and
one already there stays. A PNG cover is saved as folder.png; other image
formats are not saved.
The folder writing of the animated cover moved to SongFolderFile, which
both covers use for local folders, Android documents and network storage.
While the setting is on, Remove Empty Folders counts folder.jpg and
folder.png as leftovers of a deleted album. While it is off they keep
their folder, as before.
Issue #913
A failed read of an embedded cover was remembered for the whole run for
plain files, so a song read once before the desktop backend had started
showed no cover until the app was restarted. Playing or opening the
song now asks again after 30 seconds; lists still skip a failed file, so
files without a cover are not read at every scroll.
The state of a song that ran out still carries the last position read
while it played, which can lie well before the listed length. A phone
that followed then took its own move to the next song for one picked by
hand and ended the session (seen on a real run with the computer
leading). The report now places a finished song at its end, and a phone
that ran out of its song is no longer logged as paused by itself.
Between a song's end and the start of the next one a player reads as
neither playing nor paused. The phone took that for a pause, so at each
song end the follower was paused and rejoined about three seconds into
the next song (seen on a real run with the phone leading). A device that
reads as stopped within the last moments of its song is now given the
transition wait before a cue goes out.
The computer gave no sign that it played together with a phone, and its
Devices sheet still offered the usual choices, which would have moved
the queue under a running session.
While a session runs, the sheet shows a checked Play together row naming
the phone, no device is checked, and choosing this computer or that
phone ends the session there: the computer tells the phone, which stops
the device that was not chosen. This works whichever device owns the
queue. The player bar's Devices button names Play together and, in the
Material style, draws primary.
The row opens and closes with the reveal the phone's timing group uses,
now one widget. With reduced motion it no longer runs a size animation
of no length, which failed inside its own layout.
While the computer owns the queue in Play together, the phone's screens
and media session show the computer, so the volume keys and the player's
volume slider set the computer's volume although the phone sounds too.
Both now set the phone's own volume for as long as the two play together
and return to the computer afterwards.
Continue listening showed the saved session whatever it held, so a song on
a NAS stayed on Home, and played from the NAS, after Local Library was
switched off. The saved session is now left out while it is on a song of
the scanned Library and that Library is off, as Recently Played and the
mixes already do. Downloads and songs the Library does not know stay.
Three check lines a second filled the 500 entry log within three
minutes and pushed everything else out of it. A line is written once a
second while a nudge runs or the players settle, and every five seconds
otherwise.
The computer lost about 24 ms on every AVPlayer rate change, so a nudge
for 49 ms ended near 48 ms again and the aligner nudged every 4 s for
the whole session. The aligner now measures what each nudge's two rate
changes cost and plans the next one with it, lets a nudge run its course
(replanned once from a settled check, at the same rate), ignores checks
for 1 s after a rate change, and leaves errors inside the band alone
where the cost is larger than the band. When planned nudges keep
missing, it holds: no nudge until the drift passes 80 ms.
After a cue the lead now takes the whole settled offset, from two checks
that agree, instead of 60 % of the first one.
Each check logs the follower's reported and expected position, drift,
rate and nudge state at debug level, and each nudge's end logs the drift
before, expected and measured at info level.
A nudge at the rate already in force only moves its end, and one nudge
rate goes straight to the other. Each rate change costs some engines
time, so going through 1 in between cost it twice.
A report now carries the player's rate, so a nudged follower's position
is advanced at 1.02 or 0.98 rather than at 1 between its reading and the
check. A device that does not send it is read at 1, as before.
A paused load leaves audioplayers and media3 decks reporting stopped, so
the next play loaded the song again from the start. Play together's first
cue on the computer began near 0 instead of the cue position. Remember a
source held paused, report it ready, and resume it on play.
A kept playlist only knew the copies it had saved from the same device.
With a second device sharing the same songs, every one was copied again
beside the first copy. A download of the same song, or a copy saved
from another device, now counts as kept while its file exists.
When a track had both a file on this device and the same song on
network storage or a Link device, the lookup that playlists and
playback use took whichever row came first in the table. The file on
this device answers first now, so it plays without the network.
The catalog now takes a phone's Android storage access documents from
their Library rows without opening them, so browsing, streaming, covers
and copying reach every song of its own the app can play. A phone host
lends each one to its Link server through the playback descriptor lease
and returns it when the server closes it, also when the close arrives
during the open, and returns every lease once the server stops. Network
storage and Link devices' songs stay out.
A host that stops while a phone is connecting ends the TLS handshake
without presenting a certificate. Every TLS failure was reported as the
host showing another certificate, so the phone warned that the device
was not verified and offered to pair again. Only a refused certificate
is reported that way now; a handshake that broke off counts as a host
that cannot be reached.
With sharing on, the phone runs the same host as the computer through
the Link channel and announces it with the platform's service
discovery. It runs while the app is in front or plays, stops after a
short grace in the background (at once on iOS), and leaves out
downloads, opening links and file changes. Sharing is off by default.
Hosts announce their platform and optional features (downloads, opening
links, file changes). The phone remembers them and hides the actions a
host lacks, and shows a phone icon for a phone host. Older hosts that
announce nothing keep every action.
A Beta entry next to the two devices starts it; choosing one device ends it there. The controller shares the queue, starts the session, keeps the connection, ends quietly when it drops, and remembers a phone timing shift per paired computer, set with a slider shown while it runs.
The phone measures the clock offset, mirrors the leader's song, play state and position to the follower, and corrects drift. The computer answers the together ops, follows cues and reports its own pause, play, skip or a new queue. A simulated room with two players tests start, ten minutes of drift, transport, gapless song ends, a missing song, the timing shift and a lost connection.
Adds the together ops and reports, the deck over the shared player interface, the aligner that leaves small errors alone, nudges the follower's rate or rejoins, and learns the start lead, and the follower that starts at an agreed instant. A simulated deck with clock offset, drift, latency and jitter backs the tests.
setQueueAndPlay takes startPaused so a waiting queue loads without a sound, prepareQueueItem loads an entry without starting it, and the runtime can apply a settings override that is never saved. Play together needs all three.
Song offsets travel as a new songLyricOffset item kind of the sound
settings exchange while Sync sound settings is on. The newest edit wins
per song, dated by when it was set rather than when a sync noticed it,
and a song put back in sync is a tombstone. Both devices keep every
song's offset whether or not they have the song.
The offset of a song's synced lyrics is now the app-wide offset plus the
song's own. The player's lyrics menu opens a Lyrics timing sheet with
This song above All songs; the settings page keeps only the app-wide one.
Songs are keyed by title and artist, as Library, History and Link match a
song across devices, and a song in sync stores nothing. Every timed reader
uses the sum: the player lyrics in both styles, the lyric line preview,
the desktop mini player, lock screen lyrics, sharing and the mirrored
player.
Equalizer presets the user made, the volume normalization level and
mode, and the shape of AutoMix transitions travel both ways over one
forwarded operation, POST /mornye/v1/preferences: the phone sends every
item it holds, the computer merges them and answers with every item it
holds. Last writer wins per item and deleted presets stay as tombstones,
so two devices editing different presets both keep their edits and a
deleted preset does not come back. The computer sends
preferences.changed when its side changed.
The phone syncs on connect, after a local edit and on that notice, only
while its sound sync choice is on. Live state (the curve playing now,
on/off switches, volume, speed) and device-specific values (the lyric
timing offset, outputs) stay on each device.
A playlist or Loved marked as kept on this phone has its songs from the
paired computer saved here through the existing saver and Transfers when
the computer connects, when a kept collection gains or loses a song and
when a collection is newly kept. Runs are debounced and one runs at a
time; only songs the saver does not already have are queued, nothing is
deleted, and failed songs wait for the next connection or change. The
marks live in SharedPreferences on this phone only.
The receiver's save takes an onFinished callback with the last status,
and the saver exposes its already-there check as has().
A Library artist now has an Albums | Songs switch. Songs lists every song
of the artist by title, with Play, Shuffle and Save as playlist: the songs
of the artist's albums and the songs whose artist tag names the artist
beside others. The view chosen last is the one the next artist opens on.
The Albums | Singles switch moves into a shared LibraryViewToggle, and the
genre song reader into library_song_reads so both lists use one query.
One-line doc comments and inline comments that only repeat the name, the
type or the next statement of what they describe, in the Dart, Kotlin and
desktop runner sources. Comments that state a reason, a constraint, a
unit, a value set or a platform quirk stay. No code changes.
Clearing the app cache deletes the previews of embedded covers, but the
pages still open under Storage & Cache kept the deleted files' paths.
Recently downloaded songs, Library tiles, the downloads list and a
downloaded album showed an empty cover until the app was restarted,
while the player, which reads covers another way, still had them.
The resolver now announces a clear once the last file is gone, and the
widgets that keep a resolved path resolve again, which reads the cover
from the song as on a first launch.
On Android the SDK binds to the Discord app through the activity it was
given. Android releases that connection when the activity is destroyed,
while the plugin lives on with the shared Flutter engine, so presence
stayed gone until the option was switched off and on again.
- A new activity gets a new client, and the current song is sent again.
- An update that stays unanswered for 20 seconds counts as failed, and a
client whose update failed is replaced before the next attempt (at
most every two minutes, only while the Discord app is installed).
- Presence that was switched on while no activity existed starts when
one appears.
- iOS: a token refresh that could not reach Discord keeps the account
linked and is repeated instead of asking for the link again.
With float output on, media3 asks every decoder for float samples, the
phone vendor's MP3 and AAC decoders included. No other player on the
phone asks for that, so a decoder that handles the request badly shows
only in this engine; testers on Samsung phones report noise and trouble
playing with it on. Float keeps the low bits of 24 and 32-bit files and
adds nothing to the rest.
Lossy songs and files of 16 bits or fewer are now decoded as 16-bit PCM,
as every other player decodes them. A lossless file of more than 16 bits
or of unknown depth keeps float. A decoder is not reused between the two.
The engine also sends the decoder that ran, the output it opened and the
first times that output ran dry to the app log, so a log export from an
affected phone shows what its audio stack did. No path or title is
logged.
A play request from a car, a headset button or the system did nothing
when no queue was saved, as for someone who has not played a song yet.
It now brings back the saved session first and otherwise plays the
Library shuffled, which a spoken request without words already did.
The car's album and artist lists read only cover_url, which the Library
query fills for downloaded songs. Scanned albums and artists answer
with cover_path, so they came without artwork. Both are read now, the
cover file first.
The test rows put every cover under cover_url, which hid it; they now
have the shape the query answers.
Browse lists and queue items reached a car without artwork. Android
gives the app's files as /data/user/0/<package>, a link to
/data/data/<package>. The cover provider named its folders by the
first, scanned Library covers are stored under the second, and both
sides compared the two as text, so no cover file was ever found in a
served folder and no content URI was handed out. The provider itself
served the files.
Each folder now knows its path without symbolic links as well. Kotlin
uses both for queue items, and reports them to Dart as aliases for
browse items.
Like a conversion, a CUE split started from a Library list had only the
default folder to file its songs under. Where that folder is no longer
present the split songs stayed hidden and the album kept showing its
CUE entries, as if nothing had been split.
The split now names the song it started from, and its outputs join the
folder that song is stored in.
A song opened from a Library list does not carry the folder it belongs
to, so its converted file was stored under the default folder. Where
that folder is no longer present the converted song was hidden: with
Keep original file the new copy never appeared, and without it the song
left the Library until the next scan.
Take the folder from the stored row of the original instead.
A lossless conversion that changes the sample rate could only pick SWR
or SoXR, each at one fixed setting. Add a quality slider under the
resampler choice, moved by dragging or by a tap anywhere on its track,
with the level named beside it and what it uses below.
SWR offers Fast, Medium, High, Very high and Best (16, 32, 64, 128 and
256 filter taps; the two highest also raise the Kaiser window's
rejection). SoXR offers Medium, High, Very high and Best (16, 20, 28 and
33 bits of precision; 20 and 28 are SoX's HQ and VHQ recipes).
The defaults are what a conversion used before: the library's own SWR
filter (Medium) and the most SoXR offers (Best). A conversion sent to a
paired computer carries the level; one from an older phone gets the
default.