X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=README.afs;h=7889bda9d29d72b1804ba507b0c6fdc53bbed7ed;hp=ef51c2944259c010b5da74814ece1becef7f6cd9;hb=08aa4b386c981292aec04fc35fe37133047fb946;hpb=0322a7faaf28dfc2b4d545586926adfae7bf036e diff --git a/README.afs b/README.afs index ef51c294..7889bda9 100644 --- a/README.afs +++ b/README.afs @@ -156,20 +156,30 @@ List of mood_methods Takes no arguments and matches an audio file if and only if no attributes are set. - played_rarely - -Takes no arguments and matches all audio files where the number of -times this audio file was selected is below the average. - - is_set attribute_name + is_set Takes the name of an attribute and matches iff that attribute is set. - path_matches pattern + path_matches Takes a filename pattern and matches iff the path of the audio file matches the pattern. + artist_matches + album_matches + title_matches + comment_matches + +Takes an extended regular expression and matches iff the text of the +corresponding tag of the audio file matches the pattern. If the tag +is not set, the empty string is matched against the pattern. + + year + +Takes a comparator ~ of the set {<, =, <=, >, >=, !=} and a number +N. Matches iff the year tag Y of the audio file is a number that +satisfies the condition Y ~ N. If the audio file has no year tag, +or if the tag is not a number, the file does not match. ---------- Mood usage