]>
Commit | Line | Data |
---|---|---|
02dc0a76 MT |
1 | |
2 | (* Maximal number of saved searches *) | |
3 | max_saved_searches = 10 | |
4 | customized_queries = [ | |
5 | ("Complex Search", [ | |
6 | AND; | |
7 | (KEYWORDS, keywords, ""); | |
8 | (MODULE, "Simple Options", [ | |
9 | AND; | |
10 | (MINSIZE, "Min Size", ""); | |
11 | (MAXSIZE, "Max Size", ""); | |
12 | (MEDIA, Media, ""); | |
13 | (FORMAT, Format, "")]); | |
14 | (MODULE, "Mp3 Options", [ | |
15 | AND; | |
16 | (MP3_ARTIST, Artist, ""); | |
17 | (MP3_ALBUM, Album, ""); | |
18 | (MP3_TITLE, Title, ""); | |
19 | (MP3_BITRATE, "Min Bitrate", "")])]); | |
20 | ("MP3 Search", [ | |
21 | AND; | |
22 | (KEYWORDS, keywords, ""); | |
23 | (MP3_ARTIST, Artist, ""); | |
24 | (MP3_ALBUM, Album, ""); | |
25 | (MP3_TITLE, Title, ""); | |
26 | (MP3_BITRATE, "Min Bitrate", ""); | |
27 | [ | |
28 | HIDDEN; | |
29 | (MEDIA, Media, Audio); | |
30 | (FORMAT, Format, mp3)]]); | |
31 | ("Movie Search", [ | |
32 | AND; | |
33 | (KEYWORDS, keywords, ""); | |
34 | [ | |
35 | HIDDEN; | |
36 | (MINSIZE, "Min Size", 500000000); | |
37 | (MEDIA, Media, Video); | |
38 | (FORMAT, Format, avi)]]); | |
39 | ("Album Search", [ | |
40 | AND; | |
41 | (KEYWORDS, Keywords, album); | |
42 | [ | |
43 | HIDDEN; | |
44 | (ANDNOT, (MINSIZE, "Min Size", 30000000), (FORMAT, Format, mp3))]]);] | |
45 | ||
46 | (* Shortcuts for special specialized searches *) | |
47 | special_queries = [ | |
48 | ("-1cd", "-maxsize 735000000"); | |
49 | ("-movies", "avi -minsize 650000000 -1cd"); | |
50 | ("-mp3s", "mp3 -minsize 3000000 -maxsize 10000000"); | |
51 | ("-albums", "album -minsize 30000000 -maxsize 150000000"); | |
52 | ("-nosex", "-without xxx");] | |
53 | customized_sharing = [ | |
54 | (mp3s, { recursive = true | |
55 | extensions = [ | |
56 | ".mp3";] | |
57 | minsize = 0 | |
58 | maxsize = 10485760 | |
59 | }); | |
60 | (avis, { recursive = true | |
61 | extensions = [ | |
62 | ".avi";] | |
63 | minsize = 524288000 | |
64 | maxsize = 9223372036854775807 | |
65 | }); | |
66 | (all_files, { recursive = true | |
67 | extensions = [] | |
68 | minsize = 1 | |
69 | maxsize = 9223372036854775807 | |
70 | }); | |
71 | (incoming_files, { incoming = true | |
72 | extensions = [] | |
73 | minsize = 1 | |
74 | maxsize = 9223372036854775807 | |
75 | }); | |
76 | (incoming_directories, { incoming = true | |
77 | directories = true | |
78 | extensions = [] | |
79 | minsize = 1 | |
80 | maxsize = 9223372036854775807 | |
81 | }); | |
82 | (only_directory, { extensions = [] | |
83 | minsize = 1 | |
84 | maxsize = 9223372036854775807 | |
85 | }); | |
86 | (directories, { directories = true | |
87 | extensions = [] | |
88 | minsize = 1 | |
89 | maxsize = 9223372036854775807 | |
90 | });] | |
91 | ||
92 | (* | |
93 | The following options are not used (errors, obsolete, ...) | |
94 | *) |