Move ~20 classes from KoinComponent/'by inject()' lookup to constructor injection, registered in the Koin modules; the dependency graph is now visible in constructors and these classes are testable without Koin. - util: CacheCleaner, CommunicationError, DownloadUtil, ContextMenuUtil are now plain classes provided as singles. - adapters: Utils object becomes PopupMenuFactory; TrackViewBinder, HeaderViewBinder, ArtistRowBinder, TextRowBinder, ShareRowBinder, AlbumRowDelegate/AlbumGridDelegate receive their dependencies (incl. PopupMenuFactory) via constructor; FolderSelectorBinder drops a dead KoinComponent. - service: MusicServiceFactory and ImageLoaderProvider receive the Koin instance explicitly (they must resolve from the dynamically reloaded music service module); PlaybackStateSerializer, DownloadTask, MediaLibrarySessionCallback, CachedMusicService and OfflineMusicService take their dependencies via constructor. - subsonic: VideoPlayer becomes an injected class; AvatarFetcher and CoverArtFetcher take the SubsonicAPIClient, their Coil factories accept a lazy clientProvider so the client stays current across server switches. - models: EditServerModel, GenericListModel and all subclasses get constructor injection and are wired in the viewModel registrations. - imageloader: ArtworkBitmapLoader takes the ImageLoaderProvider. - view: ChatAdapter takes activeServerProvider/imageLoaderProvider. Service-locator access is confined to Android framework entry points (UApp, DownloadService, PlaybackService, UltrasonicIntentReceiver, AlbumArtContentProvider) and the shared Fragment error-handling extensions; redundant KoinComponent/KoinScopeComponent declarations were removed from fragments. Tests: CommunicationErrorReportingTest, AvatarFetcherTest, CoverArtFetcherTest and OfflineMusicServiceCatalogTest inject mocks directly instead of booting Koin.
Ultrasonic
Ultrasonic is free and open-source music streaming Android client for OpenSubsonic API (version 1.7.0 or higher) compatible servers.
Help wanted
We currently don't have that much time to spend developing Ultrasonic, so any contributions or active developers are always welcomed. Have a look at CONTRIBUTING to get started.
Download
App is available to download at following stores:
Warning: All three versions (Google Play, F-Droid and the APKs) are not compatible (not signed by the same key)! You must uninstall one to install the other, which will delete all your data.
If you want to use the version downloaded from F-Droid or from GitLab with Android Auto, you must enable Unknown Sources as it is described in this wiki page.
Bugs and issues
First, see if your issue haven’t been yet reported here, otherwise open a new issue.
Documentation
See documentation.
Contributing
See CONTRIBUTING.
Supported (tested) OpenSubsonic API implementations
Other OpenSubsonic API implementations should work as well as long as they follow API documentation.
License
This software is licensed under the terms of the GNU General Public License version 3 (GPLv3).
Full text of the license is available in the LICENSE file and online.


