Mulberry/ios

Mulberry for iOS

SwiftUI port of the Mulberry Android app (look) with the desktop app's features: library from the Files-app folder, playlists (M3U/PLS/XSPF/WPL/ASX import and export), synced lyrics, tag editor, covers, Last.fm and ListenBrainz scrobbling, Home Screen / Lock Screen widgets.

  • Engines: Standard (Apple's AVQueuePlayer, default), Universal (AVAudioEngine + FFmpeg, every format), Sound FX (Universal + equalizer).
  • Ships as a TrollStore IPA and a rootless .deb. Widget buttons open the app briefly (iOS won't index AppIntents for apps outside the App Store).

Building (Linux, no Xcode)

Compiled on the PC with the swift.org toolchain against an iPhoneOS 18.6 SDK; linked with ld64 and signed with ldid on the jailbroken iPhone over SSH (tools/phone-ld).

Native/build-ffmpeg.sh      # once: audio-only FFmpeg static libs into Native/ffmpeg
./build.sh                  # build/Mulberry-<VERSION>-iOS.ipa and …-rootless.deb
tools/deploy                # copy to the phone (removes older packages there)
  • Version: VERSION; build number = git commit count. Release notes: docs/releases/<version>.md.
  • tools/resolve-undefined patches the repacked SDK's incomplete .tbd stubs by asking the device where a symbol lives (tools/sdk-extra-symbols.txt); build.sh runs it automatically when linking fails.
  • After installing an update, re-register so widgets don't go black: uicache -p /var/containers/Bundle/Application/*/Mulberry.app && killall chronod (on the phone).
Repository files (latest commit first)
Filename Latest commit message Latest commit date
astar76 3d713e6056 Scrobbling: retry and log sends, keep listens on quit, Scrobbling settings in cards
- scrobble.log in the data folder records queued, sent and failed scrobbles
  (stdout goes nowhere, so failures were invisible)
- Queued scrobbles retry every 2 minutes; maybe_periodic was never called
- One flush at a time, so a listen is never sent twice
- The playing track's listen is queued on quit and sent on the next start
- Listen time keeps counting while the window is hidden (Wayland stops frames)
- Last.fm: says nothing is sent while logged out; waiting scrobbles can be discarded
- Settings › Scrobbling: one card per service with its own send checkbox,
  text left and buttons right on one centre line; row labels left-aligned
- iOS: send the listen as soon as it counts (not only at track change),
  retry every 2 minutes, log sends
- Android: retry queued scrobbles every 2 minutes while playing

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-03 14:52:04 -06:00
..
App Scrobbling: retry and log sends, keep listens on quit, Scrobbling settings in cards 2026-12-03 14:52:04 -06:00
docs/releases Add Mulberry for iOS (1.0.6) under ios/ 2026-10-27 23:23:51 -05:00
Native iOS 1.0.7: ListenBrainz connect and full listens, scrobble queue that can't get stuck 2026-12-03 08:39:03 -06:00
packaging Add Mulberry for iOS (1.0.6) under ios/ 2026-10-27 23:23:51 -05:00
Resources Recolour app icon away from purple 2026-11-26 14:05:45 -06:00
Shared Add Mulberry for iOS (1.0.6) under ios/ 2026-10-27 23:23:51 -05:00
tools iOS 1.0.7: ListenBrainz connect and full listens, scrobble queue that can't get stuck 2026-12-03 08:39:03 -06:00
Widget Add Mulberry for iOS (1.0.6) under ios/ 2026-10-27 23:23:51 -05:00
.gitignore Add Mulberry for iOS (1.0.6) under ios/ 2026-10-27 23:23:51 -05:00
build.sh Add Mulberry for iOS (1.0.6) under ios/ 2026-10-27 23:23:51 -05:00
README.md Add Mulberry for iOS (1.0.6) under ios/ 2026-10-27 23:23:51 -05:00
VERSION iOS 1.0.7: ListenBrainz connect and full listens, scrobble queue that can't get stuck 2026-12-03 08:39:03 -06:00