X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=README.afs;h=46e30c4542f3ba619e8b5109ac3ddab98214623b;hp=7889bda9d29d72b1804ba507b0c6fdc53bbed7ed;hb=bb6721e17e741b7ea52fbf88661d2b177bed72c3;hpb=08aa4b386c981292aec04fc35fe37133047fb946 diff --git a/README.afs b/README.afs index 7889bda9..46e30c45 100644 --- a/README.afs +++ b/README.afs @@ -174,12 +174,25 @@ 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 + year ~ + bitrate ~ + frequency ~ + channels ~ + num_played ~ 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. +. Matches an audio file iff the condition ~ is +satisfied where val is the corresponding value of the audio file +(value of the year tag, bitrate in kbit/s, frequency in Hz, channel +count, play count). + +The year tag is special as its value is undefined if the audio file +has no year tag or the content of the year tag is not a number. Such +audio files never match. Another difference is the special treatment +if the year tag is a two-digit number. In this case either 1900 or +2000 are added to the tag value depending on whether the number is +greater than 2000 plus the current year. + ---------- Mood usage