docs: Mention the UI in the How to use section of the readme.

This commit is contained in:
redxef 2024-12-22 21:14:50 +01:00
parent d593bf8597
commit 31f36b6f38
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -9,6 +9,13 @@ The latest version is [v0.4.0.0](https://gitea.redxef.at/redxef/jellyfin-smart-p
## How to use ## How to use
After [installing](#installation) the plugin and restarting Jellyfin
go to the plugin settings and below the `Initial Program` configuration
choose the smart playlist you want to edit, or `Create new playlist ...`
to create a new one.
### Without the UI
After [installing](#installation) the plugin and restarting Jellyfin After [installing](#installation) the plugin and restarting Jellyfin
create a empty file in `config/data/smartplaylists` like this, maybe create a empty file in `config/data/smartplaylists` like this, maybe
you want to generate a playlist of your favourite rock songs: you want to generate a playlist of your favourite rock songs:
@ -29,7 +36,7 @@ Playlists:
UserId: 6eec632a-ff0d-4d09-aad0-bf9e90b14bc6 UserId: 6eec632a-ff0d-4d09-aad0-bf9e90b14bc6
Name: Rock Name: Rock
Program: (begin (invoke item "IsFavoriteOrLiked" (list *user*))) Program: (begin (invoke item "IsFavoriteOrLiked" (list *user*)))
SortProgram: (begin items) SortProgram: (begin *items*)
Filename: /config/data/smartplaylists/Rock.yaml Filename: /config/data/smartplaylists/Rock.yaml
Enabled: true Enabled: true
``` ```