diff --git a/doc/design/metadata.mdwn b/doc/design/metadata.mdwn index 953effd4ab..db0d51c5ce 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.)