1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00
persephone/Persephone/MPDClient/Models/MPDCommand.swift

47 lines
809 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 MPDCommand {
// Transport commands
case prevTrack
case nextTrack
case playPause
case stop
case seekCurrentSong
case setShuffleState
case setRepeatState
// Database commands
case updateDatabase
// Status commands
case fetchStatus
// Queue commands
case fetchQueue
case playTrack
case clearQueue
case replaceQueue
case appendSong
case removeSong
case moveSongInQueue
case addSongToQueue
case addAlbumToQueue
// Album commands
case fetchAllAlbums
case playAlbum
case getAlbumFirstSong
case getAlbumSongs
}
}