Stemify iOS 1.1 and WebUI updates, repo restructure into desktop/ios/server/web
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
894dd5a695
commit
df5d847169
157 files changed
+3935
-742
No files matched your search
@@ -24,6 +24,7 @@ final class AppGraph {
|
||||
let downloads: Downloads
|
||||
let coverage: StemCoverage
|
||||
let nowPlaying: NowPlaying
|
||||
let radio: WebRadio
|
||||
let car: CarLibrary
|
||||
|
||||
private init() {
|
||||
@@ -64,7 +65,16 @@ final class AppGraph {
|
||||
playback = PlaybackManager(settings: settings, plex: plex, stems: stems, cache: cache, eq: eq, dir: support)
|
||||
downloads = Downloads(settings: settings, plex: plex, stems: stems, cache: cache, net: net, dir: support)
|
||||
coverage = StemCoverage(plex: plex, stems: stems, settings: settings, dir: support)
|
||||
nowPlaying = NowPlaying(pm: playback, plex: plex)
|
||||
radio = WebRadio(pm: playback)
|
||||
nowPlaying = NowPlaying(pm: playback, plex: plex, radio: radio, settings: settings)
|
||||
radio.nowPlaying = nowPlaying
|
||||
car = CarLibrary(plex: carPlex, reach: reach, downloads: downloads, stems: stems, pm: playback)
|
||||
// Mix names and the rotation show on the lock screen and in the widgets, so redraw those when the Stem Editor or Appearance change them.
|
||||
let np = nowPlaying, pm = playback
|
||||
settings.onChange("acapella", "presets", "presetOrder", "hiddenPresets") {
|
||||
np.refresh()
|
||||
WidgetBridge.shared.publish(pm, settings)
|
||||
}
|
||||
WidgetBridge.shared.start(self)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user