Merge pull request #138 from chme/smartplantlr3

Fix wrong media kind value for music
This commit is contained in:
ejurgensen 2015-04-24 19:51:46 +02:00
commit 59b17e05b7
2 changed files with 3 additions and 3 deletions

View File

@ -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. 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" { "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. 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: One example of a valid date is a date in yyyy-mm-dd format:

View File

@ -86,7 +86,7 @@ struct pairing_info {
}; };
enum media_kind { enum media_kind {
MEDIA_KIND_MUSIC = 0, MEDIA_KIND_MUSIC = 1,
MEDIA_KIND_MOVIE = 2, MEDIA_KIND_MOVIE = 2,
MEDIA_KIND_PODCAST = 4, MEDIA_KIND_PODCAST = 4,
MEDIA_KIND_AUDIOBOOK = 8, MEDIA_KIND_AUDIOBOOK = 8,