Review of "Floww Music" version 3

Details Page Preview

Now playing with Apple Music–style synced lyrics for Spotify and other MPRIS players: a desktop widget, an adaptive top bar pill, full screen lyrics that can keep the screen on, and a lock screen card that expands into immersive lyrics. Lyrics come from LRCLIB. An optional, off-by-default Spotify lyrics fallback uses an sp_dc cookie that you paste in yourself; it is stored in the GNOME keyring and only sent to spotify.com. The unlock-dialog session mode is used to show the player and its controls on the lock screen. It never takes keyboard focus, so typing still goes straight to the password prompt.

Extension Homepage
https://github.com/Kim-Tsok/floww

No comments.

Diff Against

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 3

Shexli found 3 issues that may need reviewer attention.

EGO-L-002 warning

objects created by extension should be destroyed in disable()

Objects assigned in `enable()` are missing matching `.destroy()` calls in `disable()` or its helper methods.

Destroy all objects

  • lib/ui/lyricsView.js:112
    d
  • lib/ui/widgets.js:357
    this._icon = icon

EGO-L-005 warning

owned object references should be released in disable()

Owned references that are cleaned up in `disable()` should also be released with `null` or `undefined`.

Destroy all objects

  • lib/ui/immersive.js:102
    this._iface = new Gio.Settings({schema_id: 'org.gnome.desktop.interface'})
  • lib/ui/widgets.js:357
    this._icon = icon

EGO-L-003 warning

signals connected by extension should be disconnected in disable()

Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.

Disconnect all signals

  • lib/ui/immersive.js:105
    this._ifaceId = this._iface.connect('changed::clock-format', () => this._sync())
  • lib/ui/immersive.js:104
    this._wallId = this._wall.connect('notify::clock', () => this._sync())

All Versions

Version Status
3 Unreviewed
2 Rejected
1 Rejected

Previous Reviews on this Version

Komma01 posted a review
Hi, thanks for reviewing! Floww Music shows the current song with synced lyrics for Spotify and other MPRIS players. It has a top bar pill, a desktop widget, fullscreen lyrics and a lock screen card. unlock-dialog: the player and its controls are shown on the lock screen. It never takes key focus, so typing still goes to the password prompt. The reason is also documented inside disable(). Network: lyrics come from lrclib.net. There is an optional Spotify lyrics fallback, off by default, that uses an sp_dc cookie the user pastes in the preferences. The cookie is kept in the GNOME keyring and only ever sent to spotify.com. The same token is used to tell whether Spotify's DJ is playing (api.spotify.com/v1/me/player). Other notes: - Fullscreen lyrics can keep the screen on through org.gnome.SessionManager.Inhibit (idle flag). It is released on close, after 10 minutes paused, and in disable(). - cava is started with Gio.Subprocess only if it is installed and the visualizer is on screen. It is stopped when the visualizer is hidden or destroyed. - The companion extension Floww Lock reads Floww Music's public `api` object to show the player. Nothing else touches Floww Music's internals. The remaining Shexli warnings are for child actors that are destroyed together with their parent widget, and for handlers that are disconnected in the widget's own destroy handler.