Skip to content

Commit

Permalink
fix: use proper PlaylistOrdering value
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Jan 27, 2024
1 parent b44b0a5 commit d422e2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/playlist_ordering.rs
Expand Up @@ -17,14 +17,19 @@ use zbus::zvariant::{Type, Value};
#[doc(alias = "Playlist_Ordering")]
pub enum PlaylistOrdering {
/// Alphabetical ordering by name, ascending.
#[serde(rename = "Alphabetical")]
Alphabetical,
/// Ordering by creation date, oldest first.
#[serde(rename = "Created")]
CreationDate,
/// Ordering by last modified date, oldest first.
#[serde(rename = "Modified")]
ModifiedDate,
/// Ordering by date of last playback, oldest first.
#[serde(rename = "Played")]
LastPlayDate,
/// A user-defined ordering.
#[serde(rename = "User")]
UserDefined,
}

Expand Down

0 comments on commit d422e2e

Please sign in to comment.