Implement some more commands
This commit is contained in:
+6
-4
@@ -52,12 +52,14 @@ pub enum Request {
|
||||
Clear,
|
||||
Delete(OneOrRange),
|
||||
DeleteId(SongId),
|
||||
Move(OneOrRange, SongPosition),
|
||||
MoveId(SongId, SongPosition),
|
||||
// TODO: account for relative moves
|
||||
Move(OneOrRange, AbsouluteRelativeSongPosition),
|
||||
// TODO: account for relative moves
|
||||
MoveId(SongId, AbsouluteRelativeSongPosition),
|
||||
Playlist,
|
||||
PlaylistFind(Filter, Option<Sort>, Option<WindowRange>),
|
||||
PlaylistId(SongId),
|
||||
PlaylistInfo(OneOrRange),
|
||||
PlaylistInfo(Option<OneOrRange>),
|
||||
PlaylistSearch(Filter, Option<Sort>, Option<WindowRange>),
|
||||
// TODO: which type of range?
|
||||
PlChanges(Version, Option<WindowRange>),
|
||||
@@ -66,7 +68,7 @@ pub enum Request {
|
||||
// TODO: which type of range?
|
||||
Prio(Priority, WindowRange),
|
||||
PrioId(Priority, Vec<SongId>),
|
||||
RangeId(SongId, WindowRange),
|
||||
RangeId(SongId, TimeInterval),
|
||||
Shuffle(Option<OneOrRange>),
|
||||
Swap(SongPosition, SongPosition),
|
||||
SwapId(SongId, SongId),
|
||||
|
||||
Reference in New Issue
Block a user