From d3db30e46dcc6a574b0ee3f7c0e804237489965c Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Sat, 13 Aug 2016 16:53:09 +0200 Subject: [PATCH] [smartpl] Add smart playlist support for file modification time --- README_SMARTPL.md | 1 + src/SMARTPL.g | 1 + 2 files changed, 2 insertions(+) diff --git a/README_SMARTPL.md b/README_SMARTPL.md index 541194a9..035a8df7 100644 --- a/README_SMARTPL.md +++ b/README_SMARTPL.md @@ -40,6 +40,7 @@ Where valid field-names (with there types) are: * year (integer) * compilation (integer) * time_added (date) +* time_modified (date) * time_played (date) Valid operators include: diff --git a/src/SMARTPL.g b/src/SMARTPL.g index 65b457aa..1bbd1792 100644 --- a/src/SMARTPL.g +++ b/src/SMARTPL.g @@ -71,6 +71,7 @@ INTTAG : 'play_count' ; DATETAG : 'time_added' + | 'time_modified' | 'time_played' ;