docs: update examples.
This commit is contained in:
parent
8e97ef7170
commit
5439b1de4f
4 changed files with 11 additions and 11 deletions
|
@ -14,10 +14,9 @@ $ touch config/data/smartplaylists/Rock.yaml
|
|||
|
||||
Afterwards run the Task `(re)generate Smart Playlists`, this will rename
|
||||
the `yaml` file and populate it with some default values. You can now
|
||||
adjust the file to your liking. [Go here](examples/index.md) to see more
|
||||
adjust the file to your liking. [Go here](examples.md) to see more
|
||||
examples.
|
||||
|
||||
Example file
|
||||
```yaml
|
||||
Id: Rock
|
||||
Playlists:
|
||||
|
|
10
examples.md
Normal file
10
examples.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Examples
|
||||
|
||||
* `Favourite Pop`: A Playlist
|
||||
containing all favourite items of the genre pop.
|
||||
```
|
||||
Id: Favourite Pop
|
||||
Name: Favourite Pop
|
||||
Program: |
|
||||
(and (is-favorite) (is-genre "pop" (genre-list)))
|
||||
```
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"Id": "a1d02dee-f1da-4472-bee3-f568c15c8360",
|
||||
"Name": "Favourite Pop",
|
||||
"Program": "(and (invoke item 'IsFavoriteOrLiked' (user)) (find 'Pop' (car (getitems item 'Genres'))))"
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
# Examples
|
||||
|
||||
* [Favourite Pop](a1d02dee-f1da-4472-bee3-f568c15c8360.json): A Playlist
|
||||
containing all favourite items of the genre pop.
|
Loading…
Reference in a new issue