1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00
persephone/Mac/App.swift
Alan Harper a0f1942ba8 Use MPNowPlayingInfoCenter to player info
This means that the notications bar media player will show track &
artist title, as well as artwork for the album.

It also means that Play/Pause/Next/Previous work without needing
accessibility access
2021-06-19 17:39:09 -04:00

21 lines
648 B
Swift

//
// App.swift
// Persephone
//
// Created by Daniel Barber on 2019/4/30.
// Copyright © 2019 Dan Barber. All rights reserved.
//
import ReSwift
struct App {
static let store = Store<AppState>(reducer: appReducer, state: nil)
static let trackTimer = TrackTimer()
static let userNotificationsController = UserNotificationsController()
static let mediaInfoController = MediaInfoController()
static let playerStateInfoController = PlayerStateInfoController()
static let mpdServerDelegate = MPDServerDelegate()
static let mpdServerController = MPDServerController(delegate: mpdServerDelegate)
static var mpdClient: MPDClient!
}