commands/listplaylistinfo: fix response type
This commit is contained in:
@@ -60,15 +60,7 @@ impl CommandRequest<'_> for ListPlaylistInfoRequest {
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub struct ListPlaylistInfoResponse(Vec<ListPlaylistInfoResponseEntry>);
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub struct ListPlaylistInfoResponseEntry {
|
||||
position: SongPosition,
|
||||
id: SongId,
|
||||
priority: Priority,
|
||||
song_info: DbSongInfo,
|
||||
}
|
||||
pub struct ListPlaylistInfoResponse(Vec<DbSongInfo>);
|
||||
|
||||
impl CommandResponse<'_> for ListPlaylistInfoResponse {
|
||||
fn into_response_enum(self) -> crate::Response {
|
||||
|
||||
Reference in New Issue
Block a user