2 SF: afs.c aft.c attribute.c
3 HC: Prototypes for the commands of the audio file selector.
4 CC: Array of commands for the audio file selector.
6 IN: para afh server list user_list
7 SN: list of afs commands
11 P: AFS_READ | AFS_WRITE
12 D: Add new audio files to the database.
13 U: add [-l] [-f] [-v] path1 ...
14 H: Each given path may be either the full path to an audio file, or the full path
15 H: of a directory. In case of a directory, all audio files in that directory
16 H: are added recursivly.
20 H: -l Add files lazily. If a file already exists in the database, skip this file.
21 H: This operation is really cheap. Use it when adding large directories if only a
22 H: few files where added.
24 H:-f Force adding/updating. Recompute the audio format handler data
25 H: even if a file with the same path and the same hash value exists.
27 H: -v Verbose mode. Print what is being done.
30 P: AFS_READ | AFS_WRITE
38 U: ls [-l[s|l|v|m]] -p -a -r -s{p|s|l|n|f|c|i|y|b|d|a} [pattern ...]
39 H: Print a list of all audio files matching pattern.
42 H: -l Change listing mode. Defaults to short listing if not given.
43 H: -ls: short listing mode
44 H: -ll: long listing mode (equivalent to -l)
45 H: -lv: verbose listing mode
46 H: -lm: mbox listing mode
48 H: -p List full path of audio file. If not specified, only the basename
49 H: of each file is printed.
51 H: -a List only file that are admissible with respect to the current mood or
54 H: -r Reverse sort order.
56 H: -s Change sort order. Defaults to alphabetical path sort if not given.
58 H: -sl: sort by last played time.
59 H: -ss: sort by score (implies -a).
60 H: -sn: sort by number of times the file was played.
61 H: -sf: sort by frequency.
62 H: -sc: sort by number of channels.
63 H: -si: sort by image id.
64 H: -sy: sort by lyrics id.
65 H: -sb: sort by bitrate.
66 H: -sd: sort by duration.
67 H: -sa: sort by audio format.
70 P: AFS_READ | AFS_WRITE
76 P: AFS_READ | AFS_WRITE
82 P: AFS_READ | AFS_WRITE
88 P: AFS_READ | AFS_WRITE
94 P: AFS_READ | AFS_WRITE
101 O: int com_cat@member@(int fd, int argc, char * const * const argv);
104 U: cat@member@ @member@_name
109 O: int com_ls@member@(int fd, int argc, char * const * const argv);
112 U: cat@member@ <pattern>
117 O: int com_rm@member@(int fd, int argc, char * const * const argv);
118 P: AFS_READ | AFS_WRITE
120 U: rm@member@ @member@_name
125 O: int com_mv@member@(int fd, int argc, char * const * const argv);
126 P: AFS_READ | AFS_WRITE
128 U: mv@member@ old_@member@_name new_@member@_name