1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00
persephone/Persephone/MPDClient/Models/MPDCommand.swift
Daniel Barber 202a4f0ae3
Drag and drop moves tracks in queue
For some reason we're not seeing the insert indicator, and I can't
figure out why.
2019-06-15 13:17:09 -04:00

45 lines
760 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
// Album commands
case fetchAllAlbums
case playAlbum
case getAlbumFirstSong
case getAlbumSongs
}
}