1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00
persephone/Persephone/MPDClient/Models/Command.swift
Dan Barber 8983106cda
Wire up "update database"
* Menu option starts a database update.

* Spinner to show that update is taking place.
2019-03-23 14:42:40 -04:00

36 lines
571 B
Swift

//
// Command.swift
// Persephone
//
// Created by Daniel Barber on 2019/3/19.
// Copyright © 2019 Dan Barber. All rights reserved.
//
import Foundation
extension MPDClient {
enum Command {
// Transport commands
case prevTrack
case nextTrack
case playPause
case stop
case seekCurrentSong
// Database commands
case updateDatabase
// Status commands
case fetchStatus
// Queue commands
case fetchQueue
case playTrack
// Album commands
case fetchAllAlbums
case playAlbum
case getAlbumURI
}
}