docs/src/config/search.md
30 lines · 597 bytes
1# Default search options
2
3The default search query/filters when launching the TUI, this can be found in `~/.config/youtube-tui/search.yml`, but should not be "customised" like how you would to a config file because it's just a configurable default value.
4
5## Example search default value
6
7```yaml
8query: ''
9filters:
10 sort: Relevance
11 date: None
12 duration: None
13 type: All
14```
15
16<hr>
17
18Below are the description of each field
19
20### query
21
22The default query when you launch the TUI.
23
24*Accept: any string*
25
26### Sort
27
28How the search results are sorted.
29
30*Accept: `Relevance`/`Rating`/`Date`/`Views`*