diff options
author | Joey Hess <joey@kitenet.net> | 2014-02-20 16:36:30 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-02-20 16:36:30 -0400 |
commit | 4a3e207687409c8a2d909319061c0733d50d71c7 (patch) | |
tree | 7be82493252b6ce30d8955a3b71ea35ced2042ac /doc/design | |
parent | b74d97fd8be8b61d2404d3b5d0f7d8c4779eeb06 (diff) |
better syntax for directory metadata
Diffstat (limited to 'doc/design')
-rw-r--r-- | doc/design/metadata.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/design/metadata.mdwn b/doc/design/metadata.mdwn index 953effd4a..db0d51c5c 100644 --- a/doc/design/metadata.mdwn +++ b/doc/design/metadata.mdwn @@ -72,9 +72,9 @@ metadata is derived, at least year=yyyy and probably also month, etc. TODO From the original filename used in the master branch, when constructing a view, generate fields. For example foo/bar/baz.mp3 -would get /=foo, /foo=bar, /foo/bar=baz, and .=mp3. +would get /=foo, foo/=bar, foo/bar/=baz, and .=mp3. -Note that /dir=subdir allows a view to use `/dir=*` and only +Note that dir/=subdir allows a view to use `dir/=*` and only match one level of subdirs with the glob. So is better than dir=foo/bar as the metadata. (Alternatively, could do special glob matching.) |