diff --git a/README.md b/README.md index f1550d0..f95dcc9 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/examples.md b/examples.md new file mode 100644 index 0000000..6855cf9 --- /dev/null +++ b/examples.md @@ -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))) + ``` diff --git a/examples/a1d02dee-f1da-4472-bee3-f568c15c8360.json b/examples/a1d02dee-f1da-4472-bee3-f568c15c8360.json deleted file mode 100644 index 04397da..0000000 --- a/examples/a1d02dee-f1da-4472-bee3-f568c15c8360.json +++ /dev/null @@ -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'))))" -} diff --git a/examples/index.md b/examples/index.md deleted file mode 100644 index ab853ca..0000000 --- a/examples/index.md +++ /dev/null @@ -1,4 +0,0 @@ -# Examples - -* [Favourite Pop](a1d02dee-f1da-4472-bee3-f568c15c8360.json): A Playlist - containing all favourite items of the genre pop.