feat: add default find-artist definition.
This commit is contained in:
parent
e180b397c6
commit
2fc2959110
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ namespace Jellyfin.Plugin.SmartPlaylist {
|
||||||
(define all-genres (lambda (want have) (all (lambda (x) (is-genre x have)) want)))
|
(define all-genres (lambda (want have) (all (lambda (x) (is-genre x have)) want)))
|
||||||
(define any-genres (lambda (want have) (any (lambda (x) (is-genre x have)) want)))
|
(define any-genres (lambda (want have) (any (lambda (x) (is-genre x have)) want)))
|
||||||
(define get-name (lambda (x) (car (getitems x "Name"))))
|
(define get-name (lambda (x) (car (getitems x "Name"))))
|
||||||
(define find-parent (lambda (typename) (invoke-generic item "FindParent" nil (list typename)))))
|
(define find-parent (lambda (typename) (invoke-generic item "FindParent" nil (list typename))))
|
||||||
|
(define find-artist (lambda nil (find-parent "MediaBrowser.Controller.Entities.Audio.MusicArtist, MediaBrowser.Controller"))))
|
||||||
""";
|
""";
|
||||||
}
|
}
|
||||||
public string InitialProgram { get; set; }
|
public string InitialProgram { get; set; }
|
||||||
|
|
Loading…
Reference in a new issue