better syntax for directory metadata

This commit is contained in:
Joey Hess 2014-02-20 16:36:30 -04:00
parent 20bacee5e0
commit 19faebd962

View file

@ -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.)