From 65ad46311db2499827a69c028733c9253b5d34b3 Mon Sep 17 00:00:00 2001 From: chme Date: Fri, 24 Apr 2015 17:25:01 +0200 Subject: [PATCH 1/2] fix wrong enum value for MEDIA_KIND_MUSIC --- src/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.h b/src/db.h index 4b5e2d4f..bf08c3ce 100644 --- a/src/db.h +++ b/src/db.h @@ -86,7 +86,7 @@ struct pairing_info { }; enum media_kind { - MEDIA_KIND_MUSIC = 0, + MEDIA_KIND_MUSIC = 1, MEDIA_KIND_MOVIE = 2, MEDIA_KIND_PODCAST = 4, MEDIA_KIND_AUDIOBOOK = 8, From 3e9b015728c0ca6aa308dbad32dbd592685c0b23 Mon Sep 17 00:00:00 2001 From: chme Date: Fri, 24 Apr 2015 17:28:09 +0200 Subject: [PATCH 2/2] fix typos in smart playlist readme --- README_SMARTPL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README_SMARTPL.md b/README_SMARTPL.md index d0eb1b7a..5d561512 100644 --- a/README_SMARTPL.md +++ b/README_SMARTPL.md @@ -70,7 +70,7 @@ Valid operands for the enumeration "media_kind" are: Multiple expressions can be anded or ored together, using the keywords OR and AND. The unary not operator is also supported using the keyword NOT. -Example: +Examples: ``` "techno" { @@ -111,7 +111,7 @@ This would match all songs added as files to the library that are not placed und This would match any podcast and audiobook file that was never played with forked-daapd. -## Date oprand syntax +## Date operand syntax One example of a valid date is a date in yyyy-mm-dd format: