2024-11-08 20:22:46 +01:00
|
|
|
# Examples
|
|
|
|
|
2024-11-08 22:50:38 +01:00
|
|
|
- `Favourite Pop`: A playlist
|
2024-11-08 20:22:46 +01:00
|
|
|
containing all favourite items of the genre pop.
|
|
|
|
```
|
|
|
|
Id: Favourite Pop
|
|
|
|
Name: Favourite Pop
|
|
|
|
Program: |
|
2024-11-08 22:50:38 +01:00
|
|
|
(and (is-type "Audio") (is-favorite) (is-genre "pop" (genre-list)))
|
|
|
|
```
|
|
|
|
- `Electro Swing`: A playlist containing all items
|
|
|
|
which have a genre that contains "electro" and a
|
|
|
|
genre that contains "swing". It will only include
|
|
|
|
albums and single tracks.
|
|
|
|
```
|
|
|
|
Id: Electro Swing
|
|
|
|
Name: Electro Swing
|
|
|
|
Program: |
|
|
|
|
(let
|
|
|
|
(g (genre-list))
|
|
|
|
(and
|
|
|
|
(or
|
|
|
|
(is-type "Audio")
|
|
|
|
(is-type "MusicAlbum"))
|
|
|
|
(is-genre "electro" g)
|
|
|
|
(is-genre "swing" g)))
|
2024-11-08 20:22:46 +01:00
|
|
|
```
|